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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 104.5 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 196 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1743/0.1743, allocations: 37.98 MB / 309.2 MB, free: 5.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 431.3 MB, free: 16.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.0967, allocations: 55.25 MB / 486.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005671/0.1024, allocations: 4.416 MB / 491 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.1048, allocations: 1.481 MB / 492.5 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.1051, allocations: 11.94 kB / 492.5 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.1062, allocations: 374.5 kB / 492.9 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006019/0.1068, allocations: 246.8 kB / 493.1 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.1074, allocations: 243.4 kB / 493.3 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000655/0.1081, allocations: 0.5611 MB / 493.9 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.1085, allocations: 289.3 kB / 494.2 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.109, allocations: 259 kB / 494.4 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005319/0.1095, allocations: 359 kB / 494.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.349e-05/0.1096, allocations: 40 kB / 494.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.11, allocations: 227.6 kB / 495.1 MB, free: 500 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.1103, allocations: 239.5 kB / 495.3 MB, free: 260 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.1106, allocations: 254.7 kB / 495.5 MB, free: 4 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.1113, allocations: 0.6581 MB / 496.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1113, allocations: 3.984 kB / 496.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1113, allocations: 4 kB / 496.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.1114, allocations: 0 / 496.2 MB, free: 15.34 MB / 382.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.001435/0.1128, allocations: 0.7777 MB / 497 MB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1129, allocations: 11.89 kB / 497 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.803e-05/0.113, allocations: 86.7 kB / 497.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006282/0.1136, allocations: 92.22 kB / 497.2 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/0.1143, allocations: 423.2 kB / 497.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.1143, allocations: 29.38 kB / 497.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.1145, allocations: 55.91 kB / 497.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009305/0.1154, allocations: 0.6842 MB / 498.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1154, allocations: 0 / 498.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.1155, allocations: 16 kB / 498.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/0.1157, allocations: 52.97 kB / 498.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009223/0.1166, allocations: 0.6674 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.1198, allocations: 2.429 MB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.1204, allocations: 357.7 kB / 0.4901 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.1207, allocations: 257.9 kB / 0.4903 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.1207, allocations: 8.266 kB / 0.4903 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1208, allocations: 46.78 kB / 0.4904 GB, free: 9.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 1.893e-06/0.1208, allocations: 0 / 0.4904 GB, free: 9.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002176/0.123, allocations: 1.479 MB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.123, allocations: 81.11 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.1233, allocations: 282.9 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.1233, allocations: 33.7 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1235, allocations: 247.8 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1236, allocations: 157.7 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.1238, allocations: 94.16 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1239, allocations: 354.7 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.1242, allocations: 217 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.1246, allocations: 369.5 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008043/0.1255, allocations: 0.6239 MB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1255, allocations: 8 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001323/0.1268, allocations: 0.7203 MB / 0.4949 GB, free: 4.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.1268, allocations: 11.91 kB / 0.4949 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008709/0.1277, allocations: 0.5186 MB / 0.4954 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003322/0.1281, allocations: 72.78 kB / 0.4955 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.1285, allocations: 103.8 kB / 0.4956 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.1302, allocations: 1.726 MB / 0.4973 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.1304, allocations: 31.97 kB / 0.4973 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.1305, allocations: 24.06 kB / 0.4973 GB, free: 1.594 MB / 382.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002761/0.1308, allocations: 213.6 kB / 0.4975 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1309, allocations: 47.47 kB / 0.4976 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008579/0.1318, allocations: 0.5628 MB / 0.4981 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/0.1318, allocations: 12 kB / 0.4981 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1318, allocations: 3.984 kB / 0.4982 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1318, allocations: 4.141 kB / 0.4982 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.1337, allocations: 1.196 MB / 0.4993 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.1337, allocations: 7.984 kB / 0.4993 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.1341, allocations: 79.89 kB / 0.4994 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.1342, allocations: 4 kB / 0.4994 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.1342, allocations: 11.98 kB / 0.4994 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.1342, allocations: 12.03 kB / 0.4994 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1342, allocations: 0 / 0.4994 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.1354, allocations: 0.9236 MB / 0.5003 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.1355, allocations: 112.6 kB / 0.5004 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.1356, allocations: 12 kB / 0.5005 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.1358, allocations: 20.02 kB / 0.5005 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.1359, allocations: 31.84 kB / 0.5005 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.1359, allocations: 12 kB / 0.5005 GB, free: 14.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.1361, allocations: 201.9 kB / 0.5007 GB, free: 14.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1361, allocations: 0 / 0.5007 GB, free: 14.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005852/0.1367, allocations: 119.9 kB / 0.5008 GB, free: 13.89 MB / 398.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001596/0.1383, allocations: 1.498 MB / 0.5023 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.1394, allocations: 0.6687 MB / 0.5029 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.1394, allocations: 0 / 0.5029 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.1397, allocations: 272.5 kB / 0.5032 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.1403, allocations: 80.75 kB / 0.5033 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005608/0.1459, allocations: 4.555 MB / 0.5077 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.1464, allocations: 0.8782 MB / 0.5086 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000317/0.1467, allocations: 131.1 kB / 0.5087 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.1469, allocations: 147.4 kB / 0.5088 GB, free: 5.375 MB / 398.1 MB Notification: Performance of SimCode: time 5.2e-07/0.1469, allocations: 0 / 0.5088 GB, free: 5.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.1767, allocations: 8.732 MB / 0.5174 GB, free: 12.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.478/9.655, allocations: 0 / 0.5174 GB, free: 12.58 MB / 414.1 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/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)