Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.0009471/0.0009471, allocations: 181 kB / 16.38 MB, free: 5.766 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.17/1.17, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008253/0.0008253, allocations: 92.16 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1576/0.1576, allocations: 38.06 MB / 357.2 MB, free: 1.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002641, allocations: 8 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2191, allocations: 56.33 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.3291, allocations: 94 MB / 0.561 GB, free: 8.406 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.3294, allocations: 83.95 kB / 0.561 GB, free: 8.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03044/0.3599, allocations: 13.22 MB / 0.5739 GB, free: 10.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3599, allocations: 0 / 0.5739 GB, free: 10.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.3599, allocations: 4 kB / 0.574 GB, free: 10.93 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006415/0.3606, allocations: 0.4988 MB / 0.5744 GB, free: 10.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3606, allocations: 12.03 kB / 0.5745 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/0.3607, allocations: 46.55 kB / 0.5745 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007772/0.3615, allocations: 103.6 kB / 0.5746 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3618, allocations: 263.1 kB / 0.5748 GB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3619, allocations: 16 kB / 0.5749 GB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.3619, allocations: 20 kB / 0.5749 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.3624, allocations: 311.7 kB / 0.5752 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3624, allocations: 0 / 0.5752 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3624, allocations: 8 kB / 0.5752 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.771e-05/0.3625, allocations: 23.97 kB / 0.5752 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.3629, allocations: 279.7 kB / 0.5755 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.3645, allocations: 1.297 MB / 0.5767 GB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.3648, allocations: 165.2 kB / 0.5769 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.3649, allocations: 0 / 0.5769 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.3649, allocations: 38.5 kB / 0.5769 GB, free: 7.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.3649, allocations: 4.062 kB / 0.5769 GB, free: 7.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008921/0.3658, allocations: 418.6 kB / 0.5773 GB, free: 7.176 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.3659, allocations: 77.11 kB / 0.5774 GB, free: 7.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.366, allocations: 181.5 kB / 0.5776 GB, free: 6.895 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3661, allocations: 29.7 kB / 0.5776 GB, free: 6.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.3662, allocations: 163.8 kB / 0.5778 GB, free: 6.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3662, allocations: 43.36 kB / 0.5778 GB, free: 6.652 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.3662, allocations: 12.12 kB / 0.5778 GB, free: 6.641 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3663, allocations: 326.8 kB / 0.5781 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.3664, allocations: 51.91 kB / 0.5782 GB, free: 6.262 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3666, allocations: 148.8 kB / 0.5783 GB, free: 6.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.3667, allocations: 76.19 kB / 0.5784 GB, free: 5.996 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3667, allocations: 4 kB / 0.5784 GB, free: 5.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004192/0.3671, allocations: 250.3 kB / 0.5786 GB, free: 5.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3672, allocations: 4 kB / 0.5786 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3672, allocations: 8 kB / 0.5787 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/0.3674, allocations: 44.83 kB / 0.5787 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.3675, allocations: 47.84 kB / 0.5787 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.3687, allocations: 1.351 MB / 0.5801 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3688, allocations: 15.95 kB / 0.5801 GB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.3689, allocations: 8 kB / 0.5801 GB, free: 4.129 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.369, allocations: 165.8 kB / 0.5802 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.369, allocations: 15.81 kB / 0.5803 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.3694, allocations: 187.9 kB / 0.5804 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3694, allocations: 0 / 0.5804 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3694, allocations: 7.953 kB / 0.5804 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3695, allocations: 0 / 0.5804 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007843/0.3702, allocations: 0.5484 MB / 0.581 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3703, allocations: 0 / 0.581 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-05/0.3704, allocations: 27.92 kB / 0.581 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.3705, allocations: 40.91 kB / 0.581 GB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3705, allocations: 4 kB / 0.581 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009674/0.3715, allocations: 1.323 MB / 0.5823 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3715, allocations: 4 kB / 0.5823 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.3719, allocations: 346.4 kB / 0.5827 GB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.3719, allocations: 88.92 kB / 0.5828 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.372, allocations: 11.98 kB / 0.5828 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.3721, allocations: 0 / 0.5828 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.3721, allocations: 19.98 kB / 0.5828 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.3721, allocations: 4 kB / 0.5828 GB, free: 1.055 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.3722, allocations: 144.1 kB / 0.5829 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3723, allocations: 0 / 0.5829 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003316/0.3726, allocations: 56 kB / 0.583 GB, free: 0.8594 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007391/0.3733, allocations: 1.163 MB / 0.5841 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004622/0.3738, allocations: 255 kB / 0.5844 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3738, allocations: 0 / 0.5844 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.374, allocations: 187.3 kB / 0.5845 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.3743, allocations: 35.03 kB / 0.5846 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.3767, allocations: 3.347 MB / 0.5878 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.377, allocations: 0.7637 MB / 0.5886 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.3772, allocations: 37.52 kB / 0.5886 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.3772, allocations: 59.41 kB / 0.5887 GB, free: 10.79 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3772, allocations: 3.938 kB / 0.5887 GB, free: 10.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.3932, allocations: 3.498 MB / 0.5921 GB, free: 7.344 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.3934, allocations: 208.6 kB / 0.5923 GB, free: 7.098 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.904, allocations: 0 / 0.5923 GB, free: 7.098 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat does not exist to compare? outputFormat=mat