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.001156/0.001157, 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.712/1.712, 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.0008637/0.0008639, 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.1626/0.1626, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.331e-05/4.335e-05, allocations: 3.984 kB / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 56.31 MB / 474.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5216/0.653, allocations: 93.91 MB / 0.5547 GB, free: 8.949 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.6533, allocations: 86.62 kB / 0.5548 GB, free: 8.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03971/0.693, allocations: 13.16 MB / 0.5677 GB, free: 14.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6931, allocations: 0 / 0.5677 GB, free: 14.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.6931, allocations: 4 kB / 0.5677 GB, free: 14.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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008783/0.694, allocations: 484.1 kB / 0.5681 GB, free: 13.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.6941, allocations: 12.03 kB / 0.5681 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.842e-05/0.6941, allocations: 56.23 kB / 0.5682 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.6953, allocations: 103.5 kB / 0.5683 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.6959, allocations: 266.7 kB / 0.5686 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.6959, allocations: 11.88 kB / 0.5686 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.696, allocations: 19.59 kB / 0.5686 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006799/0.6967, allocations: 314.6 kB / 0.5689 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.6967, allocations: 0 / 0.5689 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.6968, allocations: 6.438 kB / 0.5689 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.6969, allocations: 19.98 kB / 0.5689 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006044/0.6975, allocations: 273.5 kB / 0.5692 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.6998, allocations: 1.296 MB / 0.5704 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.7003, allocations: 166.9 kB / 0.5706 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.7004, allocations: 53.08 kB / 0.5706 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.7004, allocations: 7.922 kB / 0.5707 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.7005, allocations: 34.56 kB / 0.5707 GB, free: 11.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.7005, allocations: 0 / 0.5707 GB, free: 11.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009351/0.7014, allocations: 282.8 kB / 0.571 GB, free: 10.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.7015, allocations: 81.14 kB / 0.571 GB, free: 10.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.7018, allocations: 180.1 kB / 0.5712 GB, free: 10.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.7018, allocations: 29.27 kB / 0.5712 GB, free: 10.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.7019, allocations: 155.2 kB / 0.5714 GB, free: 10.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.702, allocations: 51.05 kB / 0.5714 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.702, allocations: 3.875 kB / 0.5714 GB, free: 10.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.7022, allocations: 334.6 kB / 0.5718 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.7023, allocations: 47.36 kB / 0.5718 GB, free: 10.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.7026, allocations: 143.9 kB / 0.5719 GB, free: 9.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.7027, allocations: 82.52 kB / 0.572 GB, free: 9.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7028, allocations: 0 / 0.572 GB, free: 9.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006001/0.7034, allocations: 248.6 kB / 0.5723 GB, free: 9.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.7034, allocations: 8.438 kB / 0.5723 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.7034, allocations: 8 kB / 0.5723 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.7038, allocations: 39.7 kB / 0.5723 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.704, allocations: 39.92 kB / 0.5723 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.7056, allocations: 1.347 MB / 0.5737 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.7058, allocations: 4 kB / 0.5737 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.7058, allocations: 11.69 kB / 0.5737 GB, free: 8.176 MB / 378.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 () * 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.0001347/0.706, allocations: 117 kB / 0.5738 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.706, allocations: 19.81 kB / 0.5738 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004845/0.7065, allocations: 186 kB / 0.574 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.7066, allocations: 3.953 kB / 0.574 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.7066, allocations: 4 kB / 0.574 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7066, allocations: 0 / 0.574 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.7078, allocations: 0.5643 MB / 0.5745 GB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.7078, allocations: 4 kB / 0.5745 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.7079, allocations: 19.98 kB / 0.5746 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.7081, allocations: 36.39 kB / 0.5746 GB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.7081, allocations: 3.875 kB / 0.5746 GB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.7096, allocations: 1.309 MB / 0.5759 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.7096, allocations: 8.094 kB / 0.5759 GB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.7101, allocations: 337.7 kB / 0.5762 GB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.7103, allocations: 92.92 kB / 0.5763 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.7103, allocations: 7.875 kB / 0.5763 GB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.7105, allocations: 4 kB / 0.5763 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.7105, allocations: 11.8 kB / 0.5763 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.7105, allocations: 8 kB / 0.5763 GB, free: 5.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.7107, allocations: 143.1 kB / 0.5765 GB, free: 5.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7108, allocations: 4 kB / 0.5765 GB, free: 5.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005686/0.7113, allocations: 59.81 kB / 0.5765 GB, free: 5.207 MB / 378.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 () * 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.001171/0.7125, allocations: 1.157 MB / 0.5777 GB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000685/0.7132, allocations: 263.8 kB / 0.5779 GB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7132, allocations: 0 / 0.5779 GB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.7136, allocations: 173.6 kB / 0.5781 GB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.7139, allocations: 28.78 kB / 0.5781 GB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.7151, allocations: 366.9 kB / 0.5785 GB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.7157, allocations: 0.7633 MB / 0.5792 GB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.7159, allocations: 41.5 kB / 0.5792 GB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.716, allocations: 58.22 kB / 0.5793 GB, free: 2.402 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.716, allocations: 0 / 0.5793 GB, free: 2.402 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.7389, allocations: 3.503 MB / 0.5827 GB, free: 14.95 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/0.7393, allocations: 188.1 kB / 0.5829 GB, free: 14.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.504, allocations: 3.938 kB / 0.5829 GB, free: 14.71 MB / 394.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