Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001245/0.001245, allocations: 180.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.38/1.38, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001612/0.001612, allocations: 113.9 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1756/0.1756, allocations: 37.99 MB / 340.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09822, allocations: 53.23 MB / 457.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3567/0.455, allocations: 95.29 MB / 0.5394 GB, free: 76 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4552, allocations: 85.89 kB / 0.5395 GB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.037/0.4923, allocations: 13.3 MB / 0.5525 GB, free: 4.566 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4923, allocations: 4 kB / 0.5525 GB, free: 4.562 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.865e-05/0.4923, allocations: 11.98 kB / 0.5525 GB, free: 4.551 MB / 362.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.001712/0.4941, allocations: 0.7228 MB / 0.5532 GB, free: 3.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.4941, allocations: 12.02 kB / 0.5532 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.4943, allocations: 87.78 kB / 0.5533 GB, free: 3.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006433/0.495, allocations: 95.28 kB / 0.5534 GB, free: 3.633 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.4975, allocations: 0.8608 MB / 0.5543 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.4976, allocations: 37.36 kB / 0.5543 GB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.4977, allocations: 37.38 kB / 0.5543 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.499, allocations: 0.6572 MB / 0.555 GB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.499, allocations: 3.625 kB / 0.555 GB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.4991, allocations: 14.25 kB / 0.555 GB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/0.4992, allocations: 52.36 kB / 0.555 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.5004, allocations: 0.6361 MB / 0.5557 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/0.504, allocations: 2.41 MB / 0.558 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.5046, allocations: 348.8 kB / 0.5583 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.5047, allocations: 12.33 kB / 0.5584 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.5047, allocations: 37.91 kB / 0.5584 GB, free: 15.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 6.142e-06/0.5047, allocations: 0 / 0.5584 GB, free: 15.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002553/0.5073, allocations: 1.724 MB / 0.5601 GB, free: 13.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.5074, allocations: 81.23 kB / 0.5602 GB, free: 13.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.5076, allocations: 253.3 kB / 0.5604 GB, free: 13.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.5077, allocations: 29.33 kB / 0.5604 GB, free: 13.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.5078, allocations: 246.5 kB / 0.5607 GB, free: 13.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.508, allocations: 173.1 kB / 0.5608 GB, free: 13.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.508, allocations: 10.94 kB / 0.5608 GB, free: 13.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5081, allocations: 346.8 kB / 0.5612 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.5085, allocations: 218.7 kB / 0.5614 GB, free: 12.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.5089, allocations: 359.5 kB / 0.5617 GB, free: 12.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.5093, allocations: 292 kB / 0.562 GB, free: 12.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5093, allocations: 0 / 0.562 GB, free: 12.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001181/0.5105, allocations: 0.712 MB / 0.5627 GB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5105, allocations: 8 kB / 0.5627 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008364/0.5114, allocations: 0.5169 MB / 0.5632 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/0.5117, allocations: 75.22 kB / 0.5633 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.5121, allocations: 103 kB / 0.5634 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.5138, allocations: 1.626 MB / 0.565 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.5141, allocations: 34.52 kB / 0.565 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.5142, allocations: 22.75 kB / 0.565 GB, free: 9.371 MB / 378.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 () * Number of clocked 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.0003324/0.5145, allocations: 210.8 kB / 0.5652 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.5146, allocations: 31.62 kB / 0.5653 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.5155, allocations: 0.5568 MB / 0.5658 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-05/0.5156, allocations: 12 kB / 0.5658 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.5156, allocations: 8 kB / 0.5658 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.5156, allocations: 11.88 kB / 0.5658 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.5175, allocations: 1.175 MB / 0.567 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.5176, allocations: 0 / 0.567 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.518, allocations: 91.3 kB / 0.5671 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.518, allocations: 7.953 kB / 0.5671 GB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.518, allocations: 7.656 kB / 0.5671 GB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5181, allocations: 8 kB / 0.5671 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5181, allocations: 0 / 0.5671 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.5192, allocations: 0.9832 MB / 0.568 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.5194, allocations: 111.5 kB / 0.5681 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.5194, allocations: 11.66 kB / 0.5682 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.5197, allocations: 19.34 kB / 0.5682 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.5197, allocations: 27.42 kB / 0.5682 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.5198, allocations: 11.06 kB / 0.5682 GB, free: 6.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001928/0.52, allocations: 200.7 kB / 0.5684 GB, free: 6.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.52, allocations: 0 / 0.5684 GB, free: 6.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005711/0.5206, allocations: 137.3 kB / 0.5685 GB, free: 6.383 MB / 378.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 () * Number of clocked 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.001647/0.5222, allocations: 1.829 MB / 0.5703 GB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.5233, allocations: 0.6724 MB / 0.571 GB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5233, allocations: 0 / 0.571 GB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.5236, allocations: 266 kB / 0.5712 GB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.5241, allocations: 61.33 kB / 0.5713 GB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.5298, allocations: 5.836 MB / 0.577 GB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.5304, allocations: 0.8832 MB / 0.5779 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.5308, allocations: 131.1 kB / 0.578 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.531, allocations: 140 kB / 0.5781 GB, free: 13.45 MB / 394.7 MB Notification: Performance of SimCode: time 6.52e-07/0.531, allocations: 0 / 0.5781 GB, free: 13.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.5554, allocations: 7.898 MB / 0.5858 GB, free: 5.578 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.5556, allocations: 202.6 kB / 0.586 GB, free: 5.336 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.72, allocations: 0 / 0.586 GB, free: 5.336 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)