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.00148/0.00148, allocations: 178.6 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.621/1.621, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001786/0.001786, allocations: 108.7 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1815/0.1815, allocations: 37.93 MB / 330.9 MB, free: 2.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.148e-05, allocations: 7.984 kB / 390.5 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3613, allocations: 53.21 MB / 443.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.5025, allocations: 94.55 MB / 0.5256 GB, free: 2.984 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5029, allocations: 75.95 kB / 0.5257 GB, free: 2.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3211/0.8239, allocations: 13.16 MB / 0.5385 GB, free: 89.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.824, allocations: 0 / 0.5385 GB, free: 89.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.824, allocations: 9.844 kB / 0.5385 GB, free: 89.11 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.001037/0.8251, allocations: 0.6774 MB / 0.5392 GB, free: 88.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.8251, allocations: 12.53 kB / 0.5392 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005353/0.8257, allocations: 97.62 kB / 0.5393 GB, free: 88.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.8275, allocations: 0.8495 MB / 0.5401 GB, free: 87.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.8275, allocations: 13.91 kB / 0.5402 GB, free: 87.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/0.8276, allocations: 22.31 kB / 0.5402 GB, free: 87.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006056/0.8282, allocations: 472.5 kB / 0.5406 GB, free: 87.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.8289, allocations: 0.5955 MB / 0.5412 GB, free: 87.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.8289, allocations: 0 / 0.5412 GB, free: 87.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.829, allocations: 0 / 0.5412 GB, free: 87.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-05/0.8291, allocations: 47.59 kB / 0.5413 GB, free: 87.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.832, allocations: 2.416 MB / 0.5436 GB, free: 85.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.8325, allocations: 349.8 kB / 0.5439 GB, free: 84.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.8327, allocations: 262.4 kB / 0.5442 GB, free: 84.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.8328, allocations: 8.266 kB / 0.5442 GB, free: 84.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.8328, allocations: 35.78 kB / 0.5442 GB, free: 84.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 1.814e-06/0.8328, allocations: 0 / 0.5442 GB, free: 84.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002534/0.8353, allocations: 1.579 MB / 0.5458 GB, free: 82.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.8354, allocations: 85.11 kB / 0.5459 GB, free: 82.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.8356, allocations: 226.2 kB / 0.5461 GB, free: 82.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.8356, allocations: 25.7 kB / 0.5461 GB, free: 82.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.8357, allocations: 240.4 kB / 0.5463 GB, free: 82.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.8358, allocations: 165.5 kB / 0.5465 GB, free: 82.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.8358, allocations: 0 / 0.5465 GB, free: 82.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.528e-05/0.8359, allocations: 354.7 kB / 0.5468 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.8361, allocations: 224.9 kB / 0.547 GB, free: 81.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.8364, allocations: 360.5 kB / 0.5474 GB, free: 81.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006126/0.837, allocations: 384.7 kB / 0.5478 GB, free: 80.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.837, allocations: 4 kB / 0.5478 GB, free: 80.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001242/0.8383, allocations: 0.7865 MB / 0.5485 GB, free: 80.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.8383, allocations: 8 kB / 0.5485 GB, free: 80.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000976/0.8393, allocations: 0.6175 MB / 0.5491 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/0.8396, allocations: 85.05 kB / 0.5492 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.84, allocations: 103.8 kB / 0.5493 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.8411, allocations: 1.525 MB / 0.5508 GB, free: 77.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.8414, allocations: 23.97 kB / 0.5508 GB, free: 77.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.8414, allocations: 16 kB / 0.5508 GB, free: 77.53 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 () * 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.0001048/0.8415, allocations: 116.9 kB / 0.551 GB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008911/0.8424, allocations: 0.61 MB / 0.5516 GB, free: 76.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.8425, allocations: 35.53 kB / 0.5516 GB, free: 76.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.8435, allocations: 0.6568 MB / 0.5522 GB, free: 76.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-05/0.8436, allocations: 19.98 kB / 0.5522 GB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.8436, allocations: 0 / 0.5522 GB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.8436, allocations: 7.984 kB / 0.5523 GB, free: 76.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.8454, allocations: 1.239 MB / 0.5535 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.8454, allocations: 0 / 0.5535 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.8458, allocations: 79.88 kB / 0.5535 GB, free: 74.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.8458, allocations: 4 kB / 0.5535 GB, free: 74.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.8458, allocations: 7.984 kB / 0.5536 GB, free: 74.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.8459, allocations: 4 kB / 0.5536 GB, free: 74.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8459, allocations: 0 / 0.5536 GB, free: 74.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.8471, allocations: 1.109 MB / 0.5546 GB, free: 73.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.8472, allocations: 104.6 kB / 0.5547 GB, free: 73.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.8473, allocations: 4 kB / 0.5547 GB, free: 73.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.8475, allocations: 23.95 kB / 0.5548 GB, free: 73.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.8476, allocations: 24.2 kB / 0.5548 GB, free: 73.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.8476, allocations: 12 kB / 0.5548 GB, free: 73.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.8477, allocations: 181.9 kB / 0.555 GB, free: 73.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8477, allocations: 0 / 0.555 GB, free: 73.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005357/0.8483, allocations: 120 kB / 0.5551 GB, free: 73.05 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 () * 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.001589/0.8499, allocations: 1.939 MB / 0.557 GB, free: 71.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008301/0.8507, allocations: 0.6636 MB / 0.5576 GB, free: 70.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8507, allocations: 0 / 0.5576 GB, free: 70.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.851, allocations: 263.7 kB / 0.5579 GB, free: 70.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.8514, allocations: 67.83 kB / 0.5579 GB, free: 70.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.853, allocations: 1.063 MB / 0.559 GB, free: 68.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.8533, allocations: 0.887 MB / 0.5598 GB, free: 68.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003107/0.8536, allocations: 127.2 kB / 0.56 GB, free: 67.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.8538, allocations: 151.3 kB / 0.5601 GB, free: 67.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8538, allocations: 0 / 0.5601 GB, free: 67.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.8804, allocations: 7.458 MB / 0.5674 GB, free: 60.31 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.8806, allocations: 138.9 kB / 0.5675 GB, free: 60.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.925, allocations: 0 / 0.5675 GB, free: 60.12 MB / 378.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)