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.001329/0.001329, allocations: 113.2 kB / 17.06 MB, free: 5.977 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.00116/0.00116, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.371/1.371, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1854/0.1854, allocations: 37.98 MB / 309.2 MB, free: 5.949 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.001808/0.001808, allocations: 71.91 kB / 431.3 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1244, allocations: 55.24 MB / 486.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006576/0.131, allocations: 4.428 MB / 491 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.134, allocations: 1.466 MB / 492.5 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.1345, allocations: 15.94 kB / 492.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.1359, allocations: 374.5 kB / 492.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009561/0.1369, allocations: 254.8 kB / 493.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008963/0.1378, allocations: 243.4 kB / 493.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009679/0.1388, allocations: 0.5612 MB / 493.9 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005774/0.1394, allocations: 285.3 kB / 494.2 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006349/0.14, allocations: 267 kB / 494.4 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007789/0.1408, allocations: 358.9 kB / 494.8 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1409, allocations: 36 kB / 494.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.1415, allocations: 223.7 kB / 495.1 MB, free: 364 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.1418, allocations: 239.4 kB / 495.3 MB, free: 124 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.1422, allocations: 258.7 kB / 495.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009248/0.1432, allocations: 0.6581 MB / 496.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1432, allocations: 0 / 496.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1432, allocations: 4 kB / 496.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.83e-05/0.1432, allocations: 0 / 496.2 MB, free: 15.2 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.001909/0.1451, allocations: 0.7778 MB / 497 MB, free: 14.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.1452, allocations: 11.89 kB / 497 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.1453, allocations: 90.62 kB / 497.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006974/0.1461, allocations: 92.22 kB / 497.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009291/0.147, allocations: 423.2 kB / 497.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.147, allocations: 33.38 kB / 497.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.1472, allocations: 55.91 kB / 497.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.1484, allocations: 0.6725 MB / 498.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.1484, allocations: 4 kB / 498.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/0.1485, allocations: 19.98 kB / 498.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/0.1487, allocations: 48.97 kB / 498.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1498, allocations: 0.6713 MB / 499.1 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.1537, allocations: 2.433 MB / 0.4898 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/0.1543, allocations: 349.7 kB / 0.4901 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.1546, allocations: 257.9 kB / 0.4903 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.1547, allocations: 8.266 kB / 0.4903 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1547, allocations: 50.72 kB / 0.4904 GB, free: 8.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.534e-06/0.1547, allocations: 0 / 0.4904 GB, free: 8.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002413/0.1572, allocations: 1.471 MB / 0.4918 GB, free: 7.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.1572, allocations: 85.09 kB / 0.4919 GB, free: 7.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.1576, allocations: 279 kB / 0.4922 GB, free: 7.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.1576, allocations: 33.7 kB / 0.4922 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.1578, allocations: 251.7 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.1579, allocations: 161.7 kB / 0.4926 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.1581, allocations: 98.09 kB / 0.4927 GB, free: 6.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1582, allocations: 350.8 kB / 0.493 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.1586, allocations: 221 kB / 0.4932 GB, free: 5.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.1589, allocations: 361.5 kB / 0.4936 GB, free: 5.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007647/0.1597, allocations: 0.6278 MB / 0.4942 GB, free: 4.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1597, allocations: 0 / 0.4942 GB, free: 4.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001244/0.161, allocations: 0.724 MB / 0.4949 GB, free: 4.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.161, allocations: 11.91 kB / 0.4949 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008367/0.1619, allocations: 0.5225 MB / 0.4954 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.1622, allocations: 72.78 kB / 0.4955 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.1626, allocations: 103.9 kB / 0.4956 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.1643, allocations: 1.73 MB / 0.4973 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.1646, allocations: 36.03 kB / 0.4973 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.1647, allocations: 20 kB / 0.4973 GB, free: 1.453 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.0002737/0.165, allocations: 213.6 kB / 0.4975 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.1651, allocations: 39.47 kB / 0.4976 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009231/0.166, allocations: 0.559 MB / 0.4981 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/0.1661, allocations: 16 kB / 0.4981 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1661, allocations: 4 kB / 0.4982 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1661, allocations: 3.984 kB / 0.4982 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.1682, allocations: 1.196 MB / 0.4993 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1682, allocations: 0 / 0.4993 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.1686, allocations: 83.88 kB / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1686, allocations: 0 / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.1687, allocations: 24.08 kB / 0.4994 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1687, allocations: 0 / 0.4994 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1687, allocations: 7.938 kB / 0.4994 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.1699, allocations: 0.9274 MB / 0.5003 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.17, allocations: 112.6 kB / 0.5004 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.1701, allocations: 12 kB / 0.5005 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1703, allocations: 20.02 kB / 0.5005 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.1704, allocations: 27.91 kB / 0.5005 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.1704, allocations: 8 kB / 0.5005 GB, free: 14.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.1706, allocations: 197.9 kB / 0.5007 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1706, allocations: 0 / 0.5007 GB, free: 13.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005478/0.1712, allocations: 119.9 kB / 0.5008 GB, free: 13.77 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.001779/0.173, allocations: 1.517 MB / 0.5023 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.1741, allocations: 0.6609 MB / 0.5029 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1742, allocations: 1.125 kB / 0.5029 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003696/0.1745, allocations: 263.4 kB / 0.5032 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.1751, allocations: 84.73 kB / 0.5033 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006307/0.1814, allocations: 4.563 MB / 0.5077 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006695/0.1821, allocations: 0.8782 MB / 0.5086 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003701/0.1825, allocations: 127.1 kB / 0.5087 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.1828, allocations: 147.4 kB / 0.5088 GB, free: 5.238 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1828, allocations: 4 kB / 0.5089 GB, free: 5.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.2148, allocations: 8.732 MB / 0.5174 GB, free: 12.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.962/10.18, allocations: 0 / 0.5174 GB, free: 12.44 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)