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.001506/0.001507, allocations: 175.9 kB / 8.348 MB, free: 0.7227 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.746/1.746, 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.0008751/0.0008749, allocations: 90.28 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1711/0.1711, allocations: 37.99 MB / 348 MB, free: 7.762 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.85e-05, allocations: 0 / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 56.32 MB / 467 MB, free: 6.477 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4661/0.5962, allocations: 99.44 MB / 0.5531 GB, free: 11.33 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5966, allocations: 83.94 kB / 0.5532 GB, free: 11.25 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.038/0.6346, allocations: 13.17 MB / 0.5661 GB, free: 13.95 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6346, allocations: 0 / 0.5661 GB, free: 13.95 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.177e-05/0.6346, allocations: 15.98 kB / 0.5661 GB, free: 13.94 MB / 411.1 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.001237/0.6359, allocations: 0.6716 MB / 0.5668 GB, free: 13.22 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6359, allocations: 8.031 kB / 0.5668 GB, free: 13.21 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005737/0.6365, allocations: 91.28 kB / 0.5668 GB, free: 13.12 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.6386, allocations: 0.8642 MB / 0.5677 GB, free: 12.21 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.6386, allocations: 12 kB / 0.5677 GB, free: 12.2 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.6387, allocations: 20 kB / 0.5677 GB, free: 12.18 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007348/0.6395, allocations: 469.9 kB / 0.5682 GB, free: 11.73 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008623/0.6403, allocations: 0.5973 MB / 0.5688 GB, free: 11.09 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.6404, allocations: 0 / 0.5688 GB, free: 11.09 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.6404, allocations: 7.984 kB / 0.5688 GB, free: 11.09 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.6405, allocations: 44.75 kB / 0.5688 GB, free: 11.04 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/0.6442, allocations: 2.412 MB / 0.5712 GB, free: 8.52 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.6447, allocations: 341.9 kB / 0.5715 GB, free: 8.164 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.6451, allocations: 266.7 kB / 0.5717 GB, free: 7.898 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.6451, allocations: 12.2 kB / 0.5718 GB, free: 7.887 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.6452, allocations: 38.84 kB / 0.5718 GB, free: 7.84 MB / 411.1 MB Notification: Performance of pre-optimization done (n=47): time 1.724e-06/0.6452, allocations: 0 / 0.5718 GB, free: 7.84 MB / 411.1 MB Notification: Performance of matching and sorting (n=48): time 0.002943/0.6481, allocations: 1.568 MB / 0.5733 GB, free: 6.223 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.6482, allocations: 81.11 kB / 0.5734 GB, free: 6.125 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.6484, allocations: 242.2 kB / 0.5736 GB, free: 5.887 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.6485, allocations: 25.7 kB / 0.5737 GB, free: 5.855 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.6486, allocations: 248.3 kB / 0.5739 GB, free: 5.609 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.6488, allocations: 157.7 kB / 0.574 GB, free: 5.453 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.6488, allocations: 0 / 0.574 GB, free: 5.453 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6489, allocations: 346.8 kB / 0.5744 GB, free: 5.105 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.6493, allocations: 220.9 kB / 0.5746 GB, free: 4.887 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.6497, allocations: 360.4 kB / 0.5749 GB, free: 4.48 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.6504, allocations: 388 kB / 0.5753 GB, free: 4.105 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6504, allocations: 3.938 kB / 0.5753 GB, free: 4.102 MB / 411.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001452/0.6518, allocations: 0.7983 MB / 0.5761 GB, free: 3.289 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.6519, allocations: 4 kB / 0.5761 GB, free: 3.285 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001138/0.653, allocations: 0.6217 MB / 0.5767 GB, free: 2.656 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002988/0.6533, allocations: 76.78 kB / 0.5768 GB, free: 2.578 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.6537, allocations: 95.88 kB / 0.5769 GB, free: 2.484 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.6553, allocations: 1.529 MB / 0.5783 GB, free: 0.8398 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.6556, allocations: 24.03 kB / 0.5784 GB, free: 0.8164 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.6556, allocations: 23.92 kB / 0.5784 GB, free: 0.793 MB / 411.1 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.000145/0.6558, allocations: 126.6 kB / 0.5785 GB, free: 0.6641 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001051/0.6568, allocations: 0.6022 MB / 0.5791 GB, free: 60 kB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.6569, allocations: 35.56 kB / 0.5791 GB, free: 24 kB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.6581, allocations: 0.6453 MB / 0.5798 GB, free: 15.36 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.786e-05/0.6581, allocations: 23.98 kB / 0.5798 GB, free: 15.34 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.6581, allocations: 0 / 0.5798 GB, free: 15.34 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.6582, allocations: 3.984 kB / 0.5798 GB, free: 15.34 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.6603, allocations: 1.244 MB / 0.581 GB, free: 14.04 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.6603, allocations: 4 kB / 0.581 GB, free: 14.04 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.6607, allocations: 91.95 kB / 0.5811 GB, free: 13.95 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.6608, allocations: 4 kB / 0.5811 GB, free: 13.94 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.6608, allocations: 4 kB / 0.5811 GB, free: 13.94 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6608, allocations: 0 / 0.5811 GB, free: 13.94 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6608, allocations: 4 kB / 0.5811 GB, free: 13.93 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.6623, allocations: 1.099 MB / 0.5822 GB, free: 12.78 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.6624, allocations: 108.7 kB / 0.5823 GB, free: 12.66 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.6625, allocations: 0 / 0.5823 GB, free: 12.66 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.6627, allocations: 27.94 kB / 0.5823 GB, free: 12.63 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.6628, allocations: 23.97 kB / 0.5823 GB, free: 12.61 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.6628, allocations: 8 kB / 0.5823 GB, free: 12.6 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.663, allocations: 178 kB / 0.5825 GB, free: 12.43 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.663, allocations: 0 / 0.5825 GB, free: 12.43 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0005395/0.6635, allocations: 127.9 kB / 0.5826 GB, free: 12.3 MB / 427.1 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.001985/0.6655, allocations: 1.943 MB / 0.5845 GB, free: 10.3 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0009995/0.6665, allocations: 0.6566 MB / 0.5852 GB, free: 9.637 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6665, allocations: 0 / 0.5852 GB, free: 9.637 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.6669, allocations: 263.8 kB / 0.5854 GB, free: 9.379 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.6673, allocations: 52.8 kB / 0.5855 GB, free: 9.328 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.6691, allocations: 1.06 MB / 0.5865 GB, free: 8.215 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.6696, allocations: 0.8947 MB / 0.5874 GB, free: 7.297 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0003513/0.67, allocations: 123.2 kB / 0.5875 GB, free: 7.172 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.6702, allocations: 147.4 kB / 0.5876 GB, free: 7.027 MB / 427.1 MB Notification: Performance of SimCode: time 2.71e-07/0.6702, allocations: 0 / 0.5876 GB, free: 7.027 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.6973, allocations: 7.46 MB / 0.5949 GB, free: 15.58 MB / 443.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.6975, allocations: 155.6 kB / 0.5951 GB, free: 15.38 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/2.766, allocations: 0 / 0.5951 GB, free: 15.38 MB / 443.1 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