Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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/Complex 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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001065/0.001065, allocations: 91.64 kB / 16.31 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 184.4 kB / 17.21 MB, free: 5.59 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.441/1.441, allocations: 223.3 MB / 241.2 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1887/0.1887, allocations: 38.09 MB / 330.4 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003571, allocations: 8 kB / 400.2 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 59.17 MB / 459.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004292/0.1369, allocations: 3.651 MB / 463 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1393, allocations: 1.731 MB / 464.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.1394, allocations: 11.88 kB / 464.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.1397, allocations: 55.61 kB / 464.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007852/0.1405, allocations: 306.8 kB / 465.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.1408, allocations: 119.7 kB / 465.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006719/0.1415, allocations: 0.635 MB / 465.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007977/0.1423, allocations: 402.6 kB / 466.2 MB, free: 376 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.1426, allocations: 179.2 kB / 466.4 MB, free: 196 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.1429, allocations: 227.2 kB / 466.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.143, allocations: 12 kB / 466.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.1434, allocations: 239.3 kB / 466.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.1436, allocations: 143.7 kB / 467 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.131e-05/0.1437, allocations: 77.52 kB / 467.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.1441, allocations: 359.2 kB / 467.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1441, allocations: 0 / 467.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.1441, allocations: 4 kB / 467.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1441, allocations: 4 kB / 467.4 MB, free: 15.14 MB / 350.1 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.0007671/0.1449, allocations: 0.5378 MB / 468 MB, free: 14.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.145, allocations: 12.03 kB / 468 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.502e-05/0.145, allocations: 62.53 kB / 468.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.1462, allocations: 135.5 kB / 468.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.1466, allocations: 292 kB / 468.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1467, allocations: 16.56 kB / 468.5 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.1467, allocations: 28 kB / 468.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006714/0.1474, allocations: 435.6 kB / 468.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1474, allocations: 4 kB / 468.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.1475, allocations: 15.92 kB / 469 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/0.1475, allocations: 20.56 kB / 469 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.1481, allocations: 429.8 kB / 469.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.1503, allocations: 1.733 MB / 471.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.1507, allocations: 278.7 kB / 471.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.151, allocations: 138 kB / 471.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.151, allocations: 192 / 471.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.151, allocations: 42.75 kB / 471.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.151, allocations: 0 / 471.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001777/0.1528, allocations: 0.7895 MB / 472.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.1529, allocations: 81.09 kB / 472.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1531, allocations: 207 kB / 472.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1531, allocations: 29.7 kB / 472.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1533, allocations: 184.1 kB / 472.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.1533, allocations: 82.89 kB / 472.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.1534, allocations: 4 kB / 472.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1535, allocations: 330.8 kB / 473.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.1537, allocations: 108.5 kB / 473.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.1539, allocations: 208.9 kB / 473.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.1541, allocations: 135.9 kB / 473.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1541, allocations: 0 / 473.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007639/0.1549, allocations: 432.8 kB / 474.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.1549, allocations: 11.95 kB / 474.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.155, allocations: 0 / 474.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003938/0.1553, allocations: 88.78 kB / 474.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.1556, allocations: 55.91 kB / 474.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.1578, allocations: 1.796 MB / 476.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.158, allocations: 19.92 kB / 476.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.158, allocations: 12 kB / 476.1 MB, free: 5.898 MB / 350.1 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 () * Number of clocked 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 0.0002316/0.1583, allocations: 177.6 kB / 476.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.1583, allocations: 23.72 kB / 476.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007537/0.1591, allocations: 388.9 kB / 476.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1591, allocations: 0 / 476.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1591, allocations: 4 kB / 476.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1591, allocations: 0 / 476.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.1606, allocations: 0.9176 MB / 477.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1606, allocations: 0 / 477.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.1607, allocations: 39.92 kB / 477.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/0.161, allocations: 76.84 kB / 477.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.161, allocations: 3.953 kB / 477.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.163, allocations: 1.713 MB / 479.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.163, allocations: 0 / 479.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.1637, allocations: 458.5 kB / 479.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.1638, allocations: 104.8 kB / 480 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.1638, allocations: 8 kB / 480 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.164, allocations: 11.95 kB / 480 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.164, allocations: 23.91 kB / 480 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1641, allocations: 12 kB / 480 MB, free: 1.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.1642, allocations: 144.6 kB / 480.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1642, allocations: 0 / 480.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005229/0.1648, allocations: 88 kB / 480.3 MB, free: 1.453 MB / 350.1 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 () * Number of clocked 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.001057/0.1658, allocations: 0.9886 MB / 481.3 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008447/0.1667, allocations: 426.4 kB / 481.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1667, allocations: 0 / 481.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.1672, allocations: 283.2 kB / 482 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1676, allocations: 31.98 kB / 482 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.1703, allocations: 1.756 MB / 483.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.1708, allocations: 0.8026 MB / 484.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.1709, allocations: 53.91 kB / 484.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.1711, allocations: 83.41 kB / 484.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1711, allocations: 3.938 kB / 484.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.1904, allocations: 5.139 MB / 489.8 MB, free: 7.875 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.1906, allocations: 224.9 kB / 490 MB, free: 7.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.084, allocations: 0 / 490 MB, free: 7.629 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat does not exist to compare? outputFormat=mat