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.001306/0.001306, allocations: 175.9 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008971/0.0008972, allocations: 92.72 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1677/0.1677, allocations: 37.99 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.292e-05, allocations: 4 kB / 410.7 MB, free: 46.85 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 56.32 MB / 467 MB, free: 6.473 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4276/0.5508, allocations: 93.25 MB / 0.5471 GB, free: 1.602 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5511, allocations: 79.95 kB / 0.5472 GB, free: 1.523 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03203/0.5831, allocations: 13.1 MB / 0.56 GB, free: 4.277 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.5832, allocations: 4 kB / 0.56 GB, free: 4.273 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.5832, allocations: 0 / 0.56 GB, free: 4.273 MB / 395.1 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.0007169/0.5839, allocations: 490.2 kB / 0.5604 GB, free: 3.75 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.584, allocations: 8.031 kB / 0.5605 GB, free: 3.742 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007883/0.5848, allocations: 99.56 kB / 0.5605 GB, free: 3.645 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.5852, allocations: 267.2 kB / 0.5608 GB, free: 3.34 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.5852, allocations: 4 kB / 0.5608 GB, free: 3.336 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.5853, allocations: 15.91 kB / 0.5608 GB, free: 3.32 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003412/0.5856, allocations: 188.3 kB / 0.561 GB, free: 3.137 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.5861, allocations: 282.4 kB / 0.5613 GB, free: 2.836 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.5861, allocations: 4 kB / 0.5613 GB, free: 2.832 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.5861, allocations: 0 / 0.5613 GB, free: 2.832 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.052e-05/0.5862, allocations: 19.98 kB / 0.5613 GB, free: 2.812 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.5879, allocations: 1.248 MB / 0.5625 GB, free: 1.477 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.5883, allocations: 214.3 kB / 0.5627 GB, free: 1.23 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.5884, allocations: 49.77 kB / 0.5628 GB, free: 1.176 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.5884, allocations: 0 / 0.5628 GB, free: 1.176 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.5885, allocations: 46.5 kB / 0.5628 GB, free: 1.121 MB / 395.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.5885, allocations: 0 / 0.5628 GB, free: 1.121 MB / 395.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005682/0.5891, allocations: 213.7 kB / 0.563 GB, free: 0.9062 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.5891, allocations: 89.03 kB / 0.5631 GB, free: 0.8008 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.5893, allocations: 151.5 kB / 0.5632 GB, free: 0.6445 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.5893, allocations: 25.7 kB / 0.5633 GB, free: 0.6133 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5894, allocations: 159.7 kB / 0.5634 GB, free: 464 kB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.5895, allocations: 51.3 kB / 0.5635 GB, free: 412 kB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.5895, allocations: 4.031 kB / 0.5635 GB, free: 408 kB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5896, allocations: 326.8 kB / 0.5638 GB, free: 72 kB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.5897, allocations: 43.98 kB / 0.5638 GB, free: 28 kB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.5898, allocations: 125 kB / 0.5639 GB, free: 15.86 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.78e-05/0.5899, allocations: 69.53 kB / 0.564 GB, free: 15.79 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.59, allocations: 0 / 0.564 GB, free: 15.79 MB / 411.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002715/0.5902, allocations: 193.5 kB / 0.5642 GB, free: 15.59 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5903, allocations: 8.062 kB / 0.5642 GB, free: 15.59 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5903, allocations: 4 kB / 0.5642 GB, free: 15.58 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.5903, allocations: 4 kB / 0.5642 GB, free: 15.58 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.5905, allocations: 51.91 kB / 0.5643 GB, free: 15.53 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5905, allocations: 7.938 kB / 0.5643 GB, free: 15.52 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.268e-05/0.5906, allocations: 4 kB / 0.5643 GB, free: 15.52 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.5906, allocations: 12 kB / 0.5643 GB, free: 15.5 MB / 411.1 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 9.866e-05/0.5907, allocations: 108.9 kB / 0.5644 GB, free: 15.39 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001939/0.5909, allocations: 138.9 kB / 0.5645 GB, free: 15.25 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.5909, allocations: 15.81 kB / 0.5645 GB, free: 15.23 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.5912, allocations: 127.5 kB / 0.5647 GB, free: 15.11 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.5912, allocations: 4 kB / 0.5647 GB, free: 15.1 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5912, allocations: 0 / 0.5647 GB, free: 15.1 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.5912, allocations: 3.984 kB / 0.5647 GB, free: 15.1 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007682/0.592, allocations: 0.5957 MB / 0.5652 GB, free: 14.42 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.592, allocations: 8.125 kB / 0.5653 GB, free: 14.41 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/0.5921, allocations: 31.92 kB / 0.5653 GB, free: 14.38 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.5921, allocations: 4 kB / 0.5653 GB, free: 14.38 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.5922, allocations: 4 kB / 0.5653 GB, free: 14.38 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.5922, allocations: 7.953 kB / 0.5653 GB, free: 14.37 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5922, allocations: 4 kB / 0.5653 GB, free: 14.36 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.5926, allocations: 495.1 kB / 0.5658 GB, free: 13.73 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.5927, allocations: 96.91 kB / 0.5659 GB, free: 13.62 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.5927, allocations: 4 kB / 0.5659 GB, free: 13.62 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.5928, allocations: 8 kB / 0.5659 GB, free: 13.61 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.5929, allocations: 19.94 kB / 0.5659 GB, free: 13.59 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.5929, allocations: 8 kB / 0.5659 GB, free: 13.58 MB / 411.1 MB Notification: Performance of sorting global known variables: time 8.598e-05/0.593, allocations: 128.3 kB / 0.566 GB, free: 13.46 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.593, allocations: 0 / 0.566 GB, free: 13.46 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.5933, allocations: 55.88 kB / 0.5661 GB, free: 13.4 MB / 411.1 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.001049/0.5944, allocations: 1.981 MB / 0.568 GB, free: 11.3 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.5946, allocations: 111.8 kB / 0.5681 GB, free: 11.2 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5946, allocations: 0 / 0.5681 GB, free: 11.2 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.5947, allocations: 57.41 kB / 0.5682 GB, free: 11.14 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.595, allocations: 40.36 kB / 0.5682 GB, free: 11.1 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.5959, allocations: 414.7 kB / 0.5686 GB, free: 10.61 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.5963, allocations: 0.7674 MB / 0.5694 GB, free: 9.82 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.5964, allocations: 45.86 kB / 0.5694 GB, free: 9.773 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.5965, allocations: 59.41 kB / 0.5695 GB, free: 9.715 MB / 411.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5965, allocations: 0 / 0.5695 GB, free: 9.715 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.6192, allocations: 2.687 MB / 0.5721 GB, free: 7.027 MB / 411.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.6195, allocations: 151.3 kB / 0.5722 GB, free: 6.828 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.241, allocations: 0 / 0.5722 GB, free: 6.828 MB / 411.1 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