Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009378/0.0009377, allocations: 179.6 kB / 8.349 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.435/1.435, allocations: 194.4 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001709/0.001709, allocations: 112.7 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1595/0.1595, allocations: 37.94 MB / 330.9 MB, free: 2.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.653e-05, allocations: 4 kB / 390.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.25, allocations: 53.23 MB / 443.7 MB, free: 17.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3624, allocations: 88.3 MB / 0.5195 GB, free: 9.234 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.3626, allocations: 79.95 kB / 0.5196 GB, free: 9.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2581/0.6207, allocations: 17.79 MB / 0.537 GB, free: 87.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6207, allocations: 0 / 0.537 GB, free: 87.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.6208, allocations: 5.5 kB / 0.537 GB, free: 87.44 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007743/0.6216, allocations: 0.5513 MB / 0.5375 GB, free: 86.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.6216, allocations: 7.406 kB / 0.5375 GB, free: 86.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.6228, allocations: 142 kB / 0.5377 GB, free: 86.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.6232, allocations: 297 kB / 0.5379 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.6232, allocations: 11.38 kB / 0.538 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.6233, allocations: 11.56 kB / 0.538 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004007/0.6237, allocations: 302.3 kB / 0.5382 GB, free: 86.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.6242, allocations: 395.3 kB / 0.5386 GB, free: 86.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.6242, allocations: 3.703 kB / 0.5386 GB, free: 86.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.6242, allocations: 0 / 0.5386 GB, free: 86.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.6243, allocations: 41.3 kB / 0.5387 GB, free: 86.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.6261, allocations: 1.651 MB / 0.5403 GB, free: 85.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.6264, allocations: 270.8 kB / 0.5405 GB, free: 85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.6265, allocations: 123.5 kB / 0.5407 GB, free: 84.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.6266, allocations: 13.08 kB / 0.5407 GB, free: 84.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.6266, allocations: 42.47 kB / 0.5407 GB, free: 84.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.6266, allocations: 0 / 0.5407 GB, free: 84.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009021/0.6275, allocations: 0.4904 MB / 0.5412 GB, free: 84.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.6275, allocations: 80.05 kB / 0.5413 GB, free: 84.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.6277, allocations: 182.5 kB / 0.5414 GB, free: 84.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.6277, allocations: 25.7 kB / 0.5415 GB, free: 84.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.6278, allocations: 184.8 kB / 0.5416 GB, free: 84.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.6278, allocations: 70.58 kB / 0.5417 GB, free: 84.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.6278, allocations: 0 / 0.5417 GB, free: 84.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.6279, allocations: 337.1 kB / 0.542 GB, free: 83.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.628, allocations: 95.59 kB / 0.5421 GB, free: 83.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.6282, allocations: 188.4 kB / 0.5423 GB, free: 83.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.6283, allocations: 131.7 kB / 0.5424 GB, free: 83.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.6283, allocations: 3.5 kB / 0.5424 GB, free: 83.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000586/0.6289, allocations: 389.8 kB / 0.5428 GB, free: 83.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.629, allocations: 3.844 kB / 0.5428 GB, free: 83.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.629, allocations: 7.625 kB / 0.5428 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.6293, allocations: 87.89 kB / 0.5429 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.6295, allocations: 56.64 kB / 0.543 GB, free: 83.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.6309, allocations: 1.731 MB / 0.5446 GB, free: 81.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.6311, allocations: 17.7 kB / 0.5447 GB, free: 81.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.6311, allocations: 14.12 kB / 0.5447 GB, free: 81.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/0.6312, allocations: 120.2 kB / 0.5448 GB, free: 81.85 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005101/0.6317, allocations: 326.2 kB / 0.5451 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.6318, allocations: 19.22 kB / 0.5451 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/0.6324, allocations: 357.7 kB / 0.5455 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.6324, allocations: 3.938 kB / 0.5455 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6324, allocations: 4.031 kB / 0.5455 GB, free: 81.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6324, allocations: 2.953 kB / 0.5455 GB, free: 81.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.6336, allocations: 0.8409 MB / 0.5463 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6336, allocations: 0 / 0.5463 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.6338, allocations: 39.16 kB / 0.5463 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002237/0.634, allocations: 67.86 kB / 0.5464 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.634, allocations: 7.828 kB / 0.5464 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.6352, allocations: 1.648 MB / 0.548 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6352, allocations: 0 / 0.548 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.6357, allocations: 472.7 kB / 0.5485 GB, free: 78.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.6358, allocations: 96.05 kB / 0.5485 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.6358, allocations: 2.875 kB / 0.5486 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.6359, allocations: 6.922 kB / 0.5486 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.636, allocations: 18.2 kB / 0.5486 GB, free: 78.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.636, allocations: 17.55 kB / 0.5486 GB, free: 78.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.199e-05/0.6361, allocations: 137.8 kB / 0.5487 GB, free: 78.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6361, allocations: 0 / 0.5487 GB, free: 78.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005156/0.6367, allocations: 80.25 kB / 0.5488 GB, free: 78.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007579/0.6374, allocations: 1.213 MB / 0.55 GB, free: 77.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005298/0.638, allocations: 394.5 kB / 0.5504 GB, free: 77.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.638, allocations: 0 / 0.5504 GB, free: 77.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.6383, allocations: 279.1 kB / 0.5506 GB, free: 76.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.6386, allocations: 23.98 kB / 0.5506 GB, free: 76.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008267/0.6394, allocations: 498.4 kB / 0.5511 GB, free: 76.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.6396, allocations: 0.8152 MB / 0.5519 GB, free: 75.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.6398, allocations: 54.08 kB / 0.552 GB, free: 75.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.6399, allocations: 87.41 kB / 0.5521 GB, free: 75.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6399, allocations: 0 / 0.5521 GB, free: 75.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.663, allocations: 4.687 MB / 0.5566 GB, free: 70.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.6633, allocations: 146.5 kB / 0.5568 GB, free: 70.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.554, allocations: 0 / 0.5568 GB, free: 70.54 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)