Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 174.4 kB / 15.77 MB, free: 6.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008788/0.0008788, allocations: 106.2 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2166/0.2166, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.000438, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.107, allocations: 56.33 MB / 479.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.00729/0.1143, allocations: 6.748 MB / 485.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005779/0.1201, allocations: 4.171 MB / 490 MB, free: 7.082 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006178/0.1208, allocations: 15.88 kB / 490 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.1214, allocations: 139 kB / 490.1 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.1241, allocations: 0.8795 MB / 491 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008826/0.125, allocations: 227.4 kB / 491.2 MB, free: 5.824 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.1274, allocations: 1.921 MB / 493.2 MB, free: 3.898 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.1298, allocations: 1.169 MB / 494.3 MB, free: 2.707 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.131, allocations: 493.8 kB / 494.8 MB, free: 2.223 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.1321, allocations: 0.6581 MB / 495.5 MB, free: 1.562 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1323, allocations: 28 kB / 495.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.1342, allocations: 0.7402 MB / 496.2 MB, free: 0.793 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005592/0.1347, allocations: 454.9 kB / 496.7 MB, free: 356 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003542/0.1351, allocations: 173.3 kB / 496.8 MB, free: 176 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.1369, allocations: 1.033 MB / 497.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1369, allocations: 0 / 497.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.137, allocations: 0 / 497.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.057e-05/0.137, allocations: 0 / 497.9 MB, free: 15.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001862/0.1389, allocations: 0.9874 MB / 498.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1389, allocations: 12.03 kB / 498.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/0.142, allocations: 390.4 kB / 499.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/0.1429, allocations: 469.6 kB / 499.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.143, allocations: 50 kB / 499.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.1432, allocations: 71.89 kB / 499.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.1452, allocations: 1.176 MB / 0.4893 GB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.1452, allocations: 3.984 kB / 0.4893 GB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.1453, allocations: 35.94 kB / 0.4893 GB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-05/0.1454, allocations: 73.95 kB / 0.4894 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.1477, allocations: 1.237 MB / 0.4906 GB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005911/0.1536, allocations: 3.527 MB / 0.494 GB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.1554, allocations: 1.065 MB / 0.4951 GB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00088/0.1563, allocations: 0.6567 MB / 0.4957 GB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-05/0.1563, allocations: 16.98 kB / 0.4957 GB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.1564, allocations: 43.56 kB / 0.4958 GB, free: 5.094 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 4.669e-06/0.1564, allocations: 4 kB / 0.4958 GB, free: 5.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=92): time 0.006825/0.1632, allocations: 3.06 MB / 0.4988 GB, free: 2.004 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.1633, allocations: 86.11 kB / 0.4988 GB, free: 1.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.1637, allocations: 361.7 kB / 0.4992 GB, free: 1.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.1638, allocations: 41.7 kB / 0.4992 GB, free: 1.496 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.164, allocations: 324.1 kB / 0.4995 GB, free: 1.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.1643, allocations: 307.5 kB / 0.4998 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.1644, allocations: 12 kB / 0.4998 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1646, allocations: 366.8 kB / 0.5002 GB, free: 500 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007034/0.1653, allocations: 469.7 kB / 0.5006 GB, free: 28 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/0.1661, allocations: 0.5695 MB / 0.5012 GB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008229/0.167, allocations: 0.534 MB / 0.5017 GB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.167, allocations: 4 kB / 0.5017 GB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002526/0.1695, allocations: 1.473 MB / 0.5032 GB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1695, allocations: 4 kB / 0.5032 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1696, allocations: 4 kB / 0.5032 GB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009875/0.1706, allocations: 337.7 kB / 0.5035 GB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.1713, allocations: 183.7 kB / 0.5037 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005342/0.1766, allocations: 3.864 MB / 0.5074 GB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.1772, allocations: 44.02 kB / 0.5075 GB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.1773, allocations: 43.98 kB / 0.5075 GB, free: 8.781 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004472/0.1778, allocations: 289.5 kB / 0.5078 GB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.1779, allocations: 63.25 kB / 0.5079 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.1806, allocations: 1.563 MB / 0.5094 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.1807, allocations: 11.94 kB / 0.5094 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.1807, allocations: 8 kB / 0.5094 GB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.1807, allocations: 7.922 kB / 0.5094 GB, free: 6.816 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/0.1857, allocations: 3.02 MB / 0.5124 GB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.1858, allocations: 4 kB / 0.5124 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.1864, allocations: 168.2 kB / 0.5125 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007956/0.1872, allocations: 284.5 kB / 0.5128 GB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.1873, allocations: 35.98 kB / 0.5128 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2345/0.4218, allocations: 3.599 MB / 0.5163 GB, free: 50.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/0.4219, allocations: 6.469 kB / 0.5164 GB, free: 50.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.4266, allocations: 1.581 MB / 0.5179 GB, free: 50.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.4269, allocations: 140.3 kB / 0.518 GB, free: 50.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.4272, allocations: 28.86 kB / 0.5181 GB, free: 50.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008287/0.428, allocations: 41 kB / 0.5181 GB, free: 50.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.4283, allocations: 80.92 kB / 0.5182 GB, free: 50.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.4284, allocations: 37.02 kB / 0.5182 GB, free: 50.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004941/0.4289, allocations: 256.5 kB / 0.5185 GB, free: 50.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.429, allocations: 3.844 kB / 0.5185 GB, free: 50.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00184/0.4308, allocations: 304.1 kB / 0.5187 GB, free: 50.37 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00025/0.4311, allocations: 127.4 kB / 0.5189 GB, free: 50.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003582/0.4347, allocations: 1.386 MB / 0.5202 GB, free: 49.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.4347, allocations: 1.094 kB / 0.5202 GB, free: 49.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.4367, allocations: 0.8405 MB / 0.521 GB, free: 49.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.4381, allocations: 107.8 kB / 0.5211 GB, free: 49.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.4436, allocations: 2.166 MB / 0.5233 GB, free: 48.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.4448, allocations: 1.071 MB / 0.5243 GB, free: 47.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.4453, allocations: 71.5 kB / 0.5244 GB, free: 47.62 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4453, allocations: 0 / 0.5244 GB, free: 47.62 MB / 362.7 MB Notification: Performance of Templates: time 0.02971/0.475, allocations: 12.13 MB / 0.5362 GB, free: 43.38 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)