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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001641, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008208/0.0008208, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1758/0.1758, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.091e-05, allocations: 0 / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.129, allocations: 56.33 MB / 474.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5019/0.631, allocations: 93.95 MB / 0.5548 GB, free: 8.906 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.6314, allocations: 90.48 kB / 0.5549 GB, free: 8.859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03997/0.6714, allocations: 17.91 MB / 0.5724 GB, free: 10.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6714, allocations: 0 / 0.5724 GB, free: 10.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.6714, allocations: 4 kB / 0.5724 GB, free: 10.13 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.0009364/0.6724, allocations: 0.5555 MB / 0.5729 GB, free: 9.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.6724, allocations: 8.031 kB / 0.5729 GB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.627e-05/0.6725, allocations: 64.72 kB / 0.573 GB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.6737, allocations: 142.2 kB / 0.5731 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.6742, allocations: 295.5 kB / 0.5734 GB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.6742, allocations: 17.88 kB / 0.5734 GB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.6743, allocations: 26.69 kB / 0.5734 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.675, allocations: 432.5 kB / 0.5739 GB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.675, allocations: 0 / 0.5739 GB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.675, allocations: 13.92 kB / 0.5739 GB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/0.6752, allocations: 32.53 kB / 0.5739 GB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.6758, allocations: 409.3 kB / 0.5743 GB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.678, allocations: 1.713 MB / 0.576 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.6784, allocations: 285.2 kB / 0.5762 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.6786, allocations: 134.5 kB / 0.5764 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.6787, allocations: 192 / 0.5764 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.6787, allocations: 42.36 kB / 0.5764 GB, free: 6.359 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.202e-06/0.6787, allocations: 0 / 0.5764 GB, free: 6.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001099/0.6798, allocations: 0.5332 MB / 0.5769 GB, free: 5.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.6799, allocations: 79.8 kB / 0.577 GB, free: 5.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.6801, allocations: 187.9 kB / 0.5772 GB, free: 5.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.6802, allocations: 29.08 kB / 0.5772 GB, free: 5.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.6803, allocations: 191.7 kB / 0.5774 GB, free: 5.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.6804, allocations: 77.86 kB / 0.5775 GB, free: 5.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.6804, allocations: 3.562 kB / 0.5775 GB, free: 5.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6806, allocations: 337.1 kB / 0.5778 GB, free: 5.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.6807, allocations: 102.6 kB / 0.5779 GB, free: 5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.681, allocations: 201.9 kB / 0.5781 GB, free: 4.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.6812, allocations: 133.6 kB / 0.5782 GB, free: 4.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6812, allocations: 0 / 0.5782 GB, free: 4.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006831/0.6819, allocations: 415.9 kB / 0.5786 GB, free: 4.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6819, allocations: 11.94 kB / 0.5786 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6819, allocations: 8 kB / 0.5786 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000381/0.6823, allocations: 87.55 kB / 0.5787 GB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.6825, allocations: 59.58 kB / 0.5788 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.6845, allocations: 1.794 MB / 0.5805 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.6847, allocations: 31.55 kB / 0.5805 GB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.6847, allocations: 11 kB / 0.5806 GB, free: 2.461 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 0.0001003/0.6848, allocations: 115.9 kB / 0.5807 GB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.6849, allocations: 27.66 kB / 0.5807 GB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006998/0.6856, allocations: 383.4 kB / 0.5811 GB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.6856, allocations: 4 kB / 0.5811 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.6856, allocations: 0 / 0.5811 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.6856, allocations: 7.984 kB / 0.5811 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.687, allocations: 0.9184 MB / 0.582 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.687, allocations: 0 / 0.582 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.6872, allocations: 40.09 kB / 0.582 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.6875, allocations: 74.36 kB / 0.5821 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.6875, allocations: 7.875 kB / 0.5821 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.6892, allocations: 1.701 MB / 0.5837 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6892, allocations: 4.031 kB / 0.5837 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006664/0.6899, allocations: 491.5 kB / 0.5842 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.69, allocations: 100.8 kB / 0.5843 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.69, allocations: 7.375 kB / 0.5843 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.6902, allocations: 14.48 kB / 0.5843 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.6902, allocations: 23.88 kB / 0.5844 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.6903, allocations: 7.938 kB / 0.5844 GB, free: 14.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.6904, allocations: 152.9 kB / 0.5845 GB, free: 14.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6904, allocations: 0 / 0.5845 GB, free: 14.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00049/0.6909, allocations: 92.86 kB / 0.5846 GB, free: 14.57 MB / 394.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.001068/0.692, allocations: 1.225 MB / 0.5858 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006956/0.6927, allocations: 417.3 kB / 0.5862 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6927, allocations: 0.8125 kB / 0.5862 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.6931, allocations: 293.4 kB / 0.5865 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.6934, allocations: 35.97 kB / 0.5865 GB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009908/0.6944, allocations: 0.5138 MB / 0.587 GB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.6949, allocations: 0.8126 MB / 0.5878 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.695, allocations: 58.16 kB / 0.5879 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.6952, allocations: 85.34 kB / 0.5879 GB, free: 11.37 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6952, allocations: 0 / 0.5879 GB, free: 11.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.7136, allocations: 5.185 MB / 0.593 GB, free: 6.234 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.7139, allocations: 191.5 kB / 0.5932 GB, free: 6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.604, allocations: 3.938 kB / 0.5932 GB, free: 5.996 MB / 394.7 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) 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