Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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_cpp_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_cpp_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.002233/0.002233, allocations: 183.3 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001112/0.001112, allocations: 102.8 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2641/0.2641, allocations: 38.06 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004643, allocations: 8 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1112, allocations: 56.34 MB / 479.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4952/0.6064, allocations: 100.2 MB / 0.5657 GB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.6068, allocations: 85.22 kB / 0.5658 GB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06094/0.6677, allocations: 13.28 MB / 0.5788 GB, free: 4.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6678, allocations: 0 / 0.5788 GB, free: 4.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-05/0.6678, allocations: 12 kB / 0.5788 GB, free: 4.121 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.002132/0.67, allocations: 0.7215 MB / 0.5795 GB, free: 3.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.67, allocations: 16.03 kB / 0.5795 GB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/0.6702, allocations: 83.27 kB / 0.5796 GB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009152/0.6712, allocations: 95.22 kB / 0.5797 GB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/0.6747, allocations: 0.8695 MB / 0.5806 GB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.6748, allocations: 27.94 kB / 0.5806 GB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.6749, allocations: 37.98 kB / 0.5806 GB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.6765, allocations: 0.6586 MB / 0.5813 GB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.6765, allocations: 3.938 kB / 0.5813 GB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.201e-05/0.6766, allocations: 18.11 kB / 0.5813 GB, free: 1.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/0.6768, allocations: 44.47 kB / 0.5813 GB, free: 1.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.6785, allocations: 0.6394 MB / 0.5819 GB, free: 1.355 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005695/0.6842, allocations: 2.417 MB / 0.5843 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009113/0.6851, allocations: 351 kB / 0.5846 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.6852, allocations: 11.64 kB / 0.5847 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.6853, allocations: 38.8 kB / 0.5847 GB, free: 14.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 3.066e-06/0.6853, allocations: 0 / 0.5847 GB, free: 14.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.003879/0.6892, allocations: 1.727 MB / 0.5864 GB, free: 13.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.6893, allocations: 85.05 kB / 0.5865 GB, free: 13.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.6897, allocations: 247.7 kB / 0.5867 GB, free: 13.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.6898, allocations: 28.33 kB / 0.5867 GB, free: 13.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.69, allocations: 306.1 kB / 0.587 GB, free: 12.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.6902, allocations: 166.4 kB / 0.5872 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.6902, allocations: 6 kB / 0.5872 GB, free: 12.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.6904, allocations: 338.6 kB / 0.5875 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.691, allocations: 217.2 kB / 0.5877 GB, free: 12.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.6916, allocations: 362.2 kB / 0.5881 GB, free: 11.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.6923, allocations: 279.5 kB / 0.5883 GB, free: 11.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.6923, allocations: 4 kB / 0.5883 GB, free: 11.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001992/0.6943, allocations: 0.7012 MB / 0.589 GB, free: 11.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.6944, allocations: 7.953 kB / 0.589 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001435/0.6958, allocations: 0.5304 MB / 0.5895 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.6964, allocations: 75.16 kB / 0.5896 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007901/0.6972, allocations: 103.1 kB / 0.5897 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.6996, allocations: 1.627 MB / 0.5913 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.7002, allocations: 22.23 kB / 0.5913 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.7003, allocations: 22.55 kB / 0.5913 GB, free: 8.891 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 () * 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.0004747/0.7008, allocations: 222 kB / 0.5915 GB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.7009, allocations: 31.62 kB / 0.5916 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.7024, allocations: 0.5608 MB / 0.5921 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.241e-05/0.7024, allocations: 16 kB / 0.5921 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.7025, allocations: 0 / 0.5921 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.7025, allocations: 3.984 kB / 0.5921 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.7056, allocations: 1.194 MB / 0.5933 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.7056, allocations: 0 / 0.5933 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/0.7064, allocations: 87.95 kB / 0.5934 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.7064, allocations: 4 kB / 0.5934 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.7065, allocations: 10.94 kB / 0.5934 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.7065, allocations: 4 kB / 0.5934 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.7065, allocations: 3.953 kB / 0.5934 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.7086, allocations: 0.9712 MB / 0.5944 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.7087, allocations: 112.6 kB / 0.5945 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/0.7088, allocations: 11.91 kB / 0.5945 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.7093, allocations: 23.91 kB / 0.5945 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.7094, allocations: 23.91 kB / 0.5945 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.7094, allocations: 12 kB / 0.5945 GB, free: 6.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003183/0.7097, allocations: 192.6 kB / 0.5947 GB, free: 6.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.625e-06/0.7098, allocations: 0 / 0.5947 GB, free: 6.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007964/0.7106, allocations: 150.9 kB / 0.5949 GB, free: 5.891 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 () * 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.002635/0.7132, allocations: 1.826 MB / 0.5966 GB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.715, allocations: 0.6744 MB / 0.5973 GB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.715, allocations: 0 / 0.5973 GB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005992/0.7156, allocations: 261.5 kB / 0.5976 GB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.7163, allocations: 64.95 kB / 0.5976 GB, free: 3.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008587/0.7249, allocations: 5.883 MB / 0.6034 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.7256, allocations: 0.8833 MB / 0.6042 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.726, allocations: 151.1 kB / 0.6044 GB, free: 13.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7261, allocations: 0 / 0.6044 GB, free: 13.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.171/3.897, allocations: 8.349 MB / 0.6125 GB, free: 4.75 MB / 410.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)