Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",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.001473/0.001473, allocations: 174.8 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.727/1.727, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001015/0.001015, allocations: 90.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1792/0.1792, allocations: 37.97 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.574e-05/4.609e-05, allocations: 8 kB / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1441, allocations: 56.32 MB / 474.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4977/0.6419, allocations: 93.92 MB / 0.5547 GB, free: 8.988 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.6422, allocations: 87.44 kB / 0.5548 GB, free: 8.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02871/0.6709, allocations: 13.16 MB / 0.5677 GB, free: 14.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.671, allocations: 0 / 0.5677 GB, free: 14.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.671, allocations: 4 kB / 0.5677 GB, free: 14.12 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.0006982/0.6717, allocations: 482.7 kB / 0.5682 GB, free: 13.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.6718, allocations: 12.03 kB / 0.5682 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.642e-05/0.6718, allocations: 62.83 kB / 0.5682 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008282/0.6727, allocations: 99.56 kB / 0.5683 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.6731, allocations: 256 kB / 0.5686 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.6731, allocations: 14.56 kB / 0.5686 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.6732, allocations: 23.45 kB / 0.5686 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.6736, allocations: 304.6 kB / 0.5689 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.6737, allocations: 0 / 0.5689 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.6737, allocations: 10.69 kB / 0.5689 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.094e-05/0.6738, allocations: 23.97 kB / 0.5689 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.6742, allocations: 272.8 kB / 0.5692 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.6758, allocations: 1.29 MB / 0.5704 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.6762, allocations: 225.2 kB / 0.5707 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.6763, allocations: 50.28 kB / 0.5707 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.6763, allocations: 4 kB / 0.5707 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.6763, allocations: 33.94 kB / 0.5707 GB, free: 11.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.6763, allocations: 0 / 0.5707 GB, free: 11.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005338/0.6769, allocations: 243.1 kB / 0.571 GB, free: 10.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.677, allocations: 85.05 kB / 0.5711 GB, free: 10.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.6771, allocations: 178 kB / 0.5712 GB, free: 10.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.6772, allocations: 29.08 kB / 0.5713 GB, free: 10.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.6773, allocations: 156.6 kB / 0.5714 GB, free: 10.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.6773, allocations: 49.17 kB / 0.5714 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.6774, allocations: 3.438 kB / 0.5714 GB, free: 10.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6775, allocations: 329.5 kB / 0.5718 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.6776, allocations: 40.31 kB / 0.5718 GB, free: 10.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.6778, allocations: 139.5 kB / 0.5719 GB, free: 9.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.6779, allocations: 72.92 kB / 0.572 GB, free: 9.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6779, allocations: 4 kB / 0.572 GB, free: 9.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003065/0.6782, allocations: 213.3 kB / 0.5722 GB, free: 9.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.6782, allocations: 14.44 kB / 0.5722 GB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.6783, allocations: 4 kB / 0.5722 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.6783, allocations: 4.438 kB / 0.5722 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.6785, allocations: 55.78 kB / 0.5723 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.6785, allocations: 4 kB / 0.5723 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.767e-05/0.6786, allocations: 4 kB / 0.5723 GB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.6786, allocations: 19.81 kB / 0.5723 GB, free: 9.613 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.6787, allocations: 120.6 kB / 0.5724 GB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.6788, allocations: 15.81 kB / 0.5724 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.6791, allocations: 147.8 kB / 0.5726 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6791, allocations: 0 / 0.5726 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6791, allocations: 4 kB / 0.5726 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6791, allocations: 0 / 0.5726 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008311/0.6799, allocations: 0.6592 MB / 0.5732 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.68, allocations: 4 kB / 0.5732 GB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.6801, allocations: 27.92 kB / 0.5733 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.6801, allocations: 8 kB / 0.5733 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.6801, allocations: 11.58 kB / 0.5733 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6801, allocations: 8.422 kB / 0.5733 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.6801, allocations: 11.98 kB / 0.5733 GB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.6806, allocations: 490.2 kB / 0.5738 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.6806, allocations: 99.97 kB / 0.5739 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.6807, allocations: 7.188 kB / 0.5739 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.6808, allocations: 4 kB / 0.5739 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.6808, allocations: 27.06 kB / 0.5739 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.6809, allocations: 8 kB / 0.5739 GB, free: 7.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.681, allocations: 147.1 kB / 0.574 GB, free: 7.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.681, allocations: 3.938 kB / 0.5741 GB, free: 7.758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003239/0.6813, allocations: 51.75 kB / 0.5741 GB, free: 7.711 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.6824, allocations: 1.994 MB / 0.576 GB, free: 5.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.6826, allocations: 131.3 kB / 0.5762 GB, free: 5.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6826, allocations: 0 / 0.5762 GB, free: 5.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.6827, allocations: 61.55 kB / 0.5762 GB, free: 5.492 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.6831, allocations: 34.84 kB / 0.5763 GB, free: 5.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008861/0.684, allocations: 431.6 kB / 0.5767 GB, free: 5.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.6844, allocations: 0.762 MB / 0.5774 GB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000127/0.6845, allocations: 45.5 kB / 0.5775 GB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.948e-05/0.6846, allocations: 57.98 kB / 0.5775 GB, free: 4.172 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6846, allocations: 0 / 0.5775 GB, free: 4.172 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.7001, allocations: 3.138 MB / 0.5806 GB, free: 1.07 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.7004, allocations: 161.8 kB / 0.5807 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.525, allocations: 0 / 0.5807 GB, free: 0.8477 MB / 378.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat does not exist to compare? outputFormat=mat