Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",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.001129/0.001129, allocations: 174.4 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.579/1.579, 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.0008692/0.0008692, allocations: 82.66 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.1645/0.1645, allocations: 37.97 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.644e-05, allocations: 8 kB / 417.8 MB, free: 29.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1238, allocations: 56.32 MB / 474.1 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.5985, allocations: 100.1 MB / 0.5608 GB, free: 2.633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/0.5989, allocations: 80.7 kB / 0.5609 GB, free: 2.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03759/0.6365, allocations: 13.26 MB / 0.5738 GB, free: 7.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6366, allocations: 3.938 kB / 0.5738 GB, free: 7.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.822e-05/0.6366, allocations: 12 kB / 0.5738 GB, free: 7.164 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001252/0.6379, allocations: 0.6725 MB / 0.5745 GB, free: 6.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.6379, allocations: 12.03 kB / 0.5745 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.6381, allocations: 89.44 kB / 0.5746 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005369/0.6386, allocations: 91.28 kB / 0.5747 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.6406, allocations: 0.8559 MB / 0.5755 GB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.6407, allocations: 33.58 kB / 0.5755 GB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.482e-05/0.6408, allocations: 34.62 kB / 0.5756 GB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009483/0.6417, allocations: 0.6541 MB / 0.5762 GB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.6418, allocations: 0 / 0.5762 GB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.6418, allocations: 14.31 kB / 0.5762 GB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.6419, allocations: 52.12 kB / 0.5763 GB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.643, allocations: 0.6245 MB / 0.5769 GB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.6467, allocations: 2.418 MB / 0.5793 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005428/0.6472, allocations: 349.4 kB / 0.5796 GB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.6476, allocations: 250.5 kB / 0.5798 GB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.6476, allocations: 8.266 kB / 0.5798 GB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.6477, allocations: 50.48 kB / 0.5799 GB, free: 1.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 1.933e-06/0.6477, allocations: 0 / 0.5799 GB, free: 1.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001949/0.6496, allocations: 1.26 MB / 0.5811 GB, free: 0.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.6497, allocations: 81.11 kB / 0.5812 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.65, allocations: 251.6 kB / 0.5814 GB, free: 456 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.65, allocations: 29.33 kB / 0.5815 GB, free: 424 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.6502, allocations: 251.3 kB / 0.5817 GB, free: 208 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.6503, allocations: 163.2 kB / 0.5819 GB, free: 64 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.6503, allocations: 15.42 kB / 0.5819 GB, free: 56 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.6505, allocations: 345.2 kB / 0.5822 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.6508, allocations: 216.2 kB / 0.5824 GB, free: 15.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.6512, allocations: 354.2 kB / 0.5827 GB, free: 15.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.6516, allocations: 281.2 kB / 0.583 GB, free: 15.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6516, allocations: 4 kB / 0.583 GB, free: 15.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001115/0.6527, allocations: 0.7083 MB / 0.5837 GB, free: 14.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.6528, allocations: 15.94 kB / 0.5837 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008172/0.6536, allocations: 0.5081 MB / 0.5842 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/0.6539, allocations: 74.78 kB / 0.5843 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.6543, allocations: 107.2 kB / 0.5844 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.6559, allocations: 1.597 MB / 0.5859 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.6561, allocations: 27.28 kB / 0.586 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.6562, allocations: 23.56 kB / 0.586 GB, free: 12.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (53): * Single equations (assignments): 49 * Array equations: 3 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.6563, allocations: 136.3 kB / 0.5861 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.6564, allocations: 35.53 kB / 0.5862 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008372/0.6572, allocations: 0.5436 MB / 0.5867 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/0.6573, allocations: 15.98 kB / 0.5867 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.6573, allocations: 0 / 0.5867 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.6573, allocations: 4 kB / 0.5867 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.659, allocations: 1.184 MB / 0.5879 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.659, allocations: 3.938 kB / 0.5879 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.6594, allocations: 83.88 kB / 0.5879 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6594, allocations: 4 kB / 0.588 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.6595, allocations: 7.938 kB / 0.588 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.6595, allocations: 12.05 kB / 0.588 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.6595, allocations: 0 / 0.588 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.6606, allocations: 0.9766 MB / 0.5889 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.55e-05/0.6607, allocations: 108.8 kB / 0.589 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.6608, allocations: 11.97 kB / 0.589 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.661, allocations: 27.77 kB / 0.5891 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.6611, allocations: 19.72 kB / 0.5891 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.6611, allocations: 12 kB / 0.5891 GB, free: 9.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001814/0.6613, allocations: 201.6 kB / 0.5893 GB, free: 9.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6613, allocations: 0 / 0.5893 GB, free: 9.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005019/0.6618, allocations: 135.4 kB / 0.5894 GB, free: 9.355 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * 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.001704/0.6635, allocations: 1.824 MB / 0.5912 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.6645, allocations: 0.6636 MB / 0.5918 GB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6646, allocations: 3.625 kB / 0.5919 GB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.6649, allocations: 268.6 kB / 0.5921 GB, free: 7.004 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.6653, allocations: 62.95 kB / 0.5922 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.6673, allocations: 1.089 MB / 0.5932 GB, free: 5.961 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.6678, allocations: 0.8844 MB / 0.5941 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003327/0.6681, allocations: 119.2 kB / 0.5942 GB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.6683, allocations: 149.4 kB / 0.5944 GB, free: 4.902 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6683, allocations: 0 / 0.5944 GB, free: 4.902 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.6918, allocations: 7.904 MB / 0.6021 GB, free: 13.04 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.6921, allocations: 189.3 kB / 0.6022 GB, free: 12.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.818, allocations: 4 kB / 0.6023 GB, free: 12.81 MB / 410.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat does not exist to compare? outputFormat=mat