Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Electrical.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Tables,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Tables",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 239 MB, free: 4.688 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 196.4 kB / 289.3 MB, free: 2.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03425/0.03425, allocations: 8.795 MB / 348.2 MB, free: 4.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 78.53 kB / 410.7 MB, free: 42.2 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07336/0.07479, allocations: 51.56 MB / 462.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003168/0.07798, allocations: 2.202 MB / 464.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.0793, allocations: 0.9354 MB / 465.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.07941, allocations: 7.938 kB / 465.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.07973, allocations: 95.73 kB / 465.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.07999, allocations: 91.56 kB / 465.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.08029, allocations: 115.8 kB / 465.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.08053, allocations: 215.2 kB / 465.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.08067, allocations: 53.66 kB / 466 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.08079, allocations: 91.62 kB / 466 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.08092, allocations: 107.6 kB / 466.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.08096, allocations: 12 kB / 466.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.533e-05/0.08106, allocations: 51.98 kB / 466.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.08113, allocations: 59.69 kB / 466.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.08122, allocations: 87.48 kB / 466.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.08147, allocations: 223.5 kB / 466.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.08148, allocations: 0 / 466.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08149, allocations: 0 / 466.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.0815, allocations: 0 / 466.6 MB, free: 10.26 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006355/0.08214, allocations: 0.5041 MB / 467.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.08218, allocations: 12.03 kB / 467.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.08222, allocations: 46.73 kB / 467.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.08228, allocations: 24.66 kB / 467.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.08252, allocations: 241 kB / 467.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.08254, allocations: 8.609 kB / 467.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.08257, allocations: 15.94 kB / 467.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.08282, allocations: 123.4 kB / 467.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.08284, allocations: 3.984 kB / 467.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.08286, allocations: 8 kB / 467.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.08287, allocations: 0 / 467.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.08303, allocations: 76.61 kB / 467.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007163/0.08376, allocations: 0.5457 MB / 468.2 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.08412, allocations: 114.6 kB / 468.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.08422, allocations: 32.84 kB / 468.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.08425, allocations: 4 kB / 468.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.08446, allocations: 101 kB / 468.4 MB, free: 8.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.08448, allocations: 0 / 468.4 MB, free: 8.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003373/0.08482, allocations: 145.4 kB / 468.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.08487, allocations: 85.47 kB / 468.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.0851, allocations: 256.2 kB / 468.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.08513, allocations: 29.7 kB / 468.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.08522, allocations: 147.6 kB / 469.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.08526, allocations: 35.48 kB / 469.1 MB, free: 7.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.08531, allocations: 25.72 kB / 469.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.08542, allocations: 342.8 kB / 469.5 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.0855, allocations: 27.92 kB / 469.5 MB, free: 7.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.35e-05/0.0856, allocations: 64.28 kB / 469.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.08575, allocations: 87.39 kB / 469.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.08577, allocations: 4 kB / 469.6 MB, free: 6.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002403/0.08601, allocations: 141.3 kB / 469.8 MB, free: 6.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.08603, allocations: 4 kB / 469.8 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.08604, allocations: 0 / 469.8 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.08606, allocations: 4 kB / 469.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.08617, allocations: 23.98 kB / 469.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.08618, allocations: 0 / 469.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.595e-05/0.08629, allocations: 16 kB / 469.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.08631, allocations: 11.98 kB / 469.8 MB, free: 6.707 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.table.nextTimeEvent,$whenCondition1,table.nextTimeEventScaled,$PRE.table.nextTimeEventScaled,table.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.08642, allocations: 144.3 kB / 470 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.08645, allocations: 15.81 kB / 470 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.0865, allocations: 29.39 kB / 470 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.08651, allocations: 0 / 470 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.08652, allocations: 0 / 470 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.08653, allocations: 0 / 470 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.08672, allocations: 245.4 kB / 470.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.08673, allocations: 4 kB / 470.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.08682, allocations: 15.98 kB / 470.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.08684, allocations: 7.984 kB / 470.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.08685, allocations: 0 / 470.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.08686, allocations: 0 / 470.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.08686, allocations: 0 / 470.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.08719, allocations: 188.8 kB / 470.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.08725, allocations: 92.95 kB / 470.6 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.08728, allocations: 4.062 kB / 470.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.08737, allocations: 8 kB / 470.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.08741, allocations: 11.92 kB / 470.6 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.08743, allocations: 7.938 kB / 470.6 MB, free: 5.852 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.08759, allocations: 197.7 kB / 470.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.0876, allocations: 7.938 kB / 470.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.08785, allocations: 39.84 kB / 470.8 MB, free: 5.613 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEventScaled,table.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001313/0.08917, allocations: 1.021 MB / 471.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.0894, allocations: 79.91 kB / 471.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.08941, allocations: 0 / 471.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.08951, allocations: 39.92 kB / 472 MB, free: 4.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.0898, allocations: 37.25 kB / 472 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.09196, allocations: 2.11 MB / 474.1 MB, free: 2.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.09221, allocations: 0.7358 MB / 474.9 MB, free: 1.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.698e-05/0.0923, allocations: 25.52 kB / 474.9 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/0.09239, allocations: 51.42 kB / 474.9 MB, free: 1.535 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09239, allocations: 0 / 474.9 MB, free: 1.535 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.1078, allocations: 4.213 MB / 479.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.108, allocations: 222.5 kB / 479.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/1.902, allocations: 0 / 479.4 MB, free: 13.16 MB / 318.1 MB (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Tables_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Tables.fmu > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1)