Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 111 kB / 17.74 MB, free: 5.34 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.001171/0.001171, allocations: 196.3 kB / 18.68 MB, free: 4.41 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.223/1.223, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1645/0.1645, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.001288/0.001289, allocations: 71.91 kB / 432.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08938/0.09068, allocations: 55.24 MB / 487.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008017/0.09874, allocations: 7.438 MB / 495.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005602/0.1044, allocations: 4.429 MB / 499.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/0.1049, allocations: 15.94 kB / 499.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002486/0.1074, allocations: 1.039 MB / 0.489 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.11, allocations: 1.203 MB / 0.4902 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007428/0.1108, allocations: 319.1 kB / 0.4905 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.1121, allocations: 1.399 MB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007967/0.1129, allocations: 0.6534 MB / 0.4925 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006684/0.1135, allocations: 0.6186 MB / 0.4931 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007159/0.1143, allocations: 0.6853 MB / 0.4937 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.286e-05/0.1144, allocations: 68 kB / 0.4938 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.1162, allocations: 1.317 MB / 0.4951 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.1166, allocations: 478.8 kB / 0.4955 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.117, allocations: 437.9 kB / 0.496 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.1186, allocations: 1.461 MB / 0.4974 GB, free: 2.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.1187, allocations: 4 kB / 0.4974 GB, free: 2.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1187, allocations: 0 / 0.4974 GB, free: 2.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1187, allocations: 3.938 kB / 0.4974 GB, free: 2.707 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001487/0.1202, allocations: 1.12 MB / 0.4985 GB, free: 1.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1202, allocations: 19.88 kB / 0.4985 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/0.1231, allocations: 383.4 kB / 0.4989 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007243/0.1238, allocations: 498.6 kB / 0.4993 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.1238, allocations: 54.36 kB / 0.4994 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.124, allocations: 72.36 kB / 0.4995 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.1255, allocations: 1.172 MB / 0.5006 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.1255, allocations: 3.938 kB / 0.5006 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-05/0.1256, allocations: 35.98 kB / 0.5006 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-05/0.1257, allocations: 73.95 kB / 0.5007 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.1273, allocations: 1.237 MB / 0.5019 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004477/0.1318, allocations: 3.488 MB / 0.5053 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.1332, allocations: 1.062 MB / 0.5064 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007762/0.134, allocations: 0.6604 MB / 0.507 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-05/0.1341, allocations: 16.97 kB / 0.507 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1341, allocations: 43.56 kB / 0.5071 GB, free: 8.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.304e-06/0.1341, allocations: 0 / 0.5071 GB, free: 8.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.005777/0.1399, allocations: 3.095 MB / 0.5101 GB, free: 5.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.14, allocations: 86.11 kB / 0.5102 GB, free: 5.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.1403, allocations: 361.6 kB / 0.5105 GB, free: 4.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.1404, allocations: 41.7 kB / 0.5106 GB, free: 4.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1405, allocations: 320.1 kB / 0.5109 GB, free: 4.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.1408, allocations: 315.4 kB / 0.5112 GB, free: 4.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.141, allocations: 158.5 kB / 0.5113 GB, free: 4.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1411, allocations: 370.8 kB / 0.5117 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.1417, allocations: 469.7 kB / 0.5121 GB, free: 3.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.1424, allocations: 0.5657 MB / 0.5127 GB, free: 2.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.1438, allocations: 1.117 MB / 0.5138 GB, free: 1.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1438, allocations: 0 / 0.5138 GB, free: 1.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002188/0.146, allocations: 1.473 MB / 0.5152 GB, free: 68 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.146, allocations: 8 kB / 0.5152 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.146, allocations: 4 kB / 0.5152 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008646/0.1469, allocations: 336.8 kB / 0.5155 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.1475, allocations: 183.7 kB / 0.5157 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004694/0.1522, allocations: 4.191 MB / 0.5198 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.1527, allocations: 43.95 kB / 0.5198 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/0.1527, allocations: 39.98 kB / 0.5199 GB, free: 11.1 MB / 414.1 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 (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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003362/0.1531, allocations: 297.6 kB / 0.5202 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1532, allocations: 55.34 kB / 0.5202 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.1556, allocations: 1.567 MB / 0.5218 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1556, allocations: 12 kB / 0.5218 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1556, allocations: 4 kB / 0.5218 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1556, allocations: 11.98 kB / 0.5218 GB, free: 9.141 MB / 414.1 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.00427/0.1599, allocations: 3.031 MB / 0.5247 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.1599, allocations: 8.094 kB / 0.5247 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.1605, allocations: 163.8 kB / 0.5249 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007168/0.1612, allocations: 284.6 kB / 0.5252 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.1613, allocations: 23.98 kB / 0.5252 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004326/0.1656, allocations: 3.911 MB / 0.529 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.1656, allocations: 7.938 kB / 0.529 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1934/0.3591, allocations: 1.589 MB / 0.5306 GB, free: 50.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.3593, allocations: 140.8 kB / 0.5307 GB, free: 50.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.3595, allocations: 26.42 kB / 0.5307 GB, free: 50.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.36, allocations: 40.83 kB / 0.5308 GB, free: 50.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.3602, allocations: 84.47 kB / 0.5309 GB, free: 50.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.3602, allocations: 36.86 kB / 0.5309 GB, free: 50.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.3605, allocations: 258.2 kB / 0.5311 GB, free: 50.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3605, allocations: 0 / 0.5311 GB, free: 50.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009288/0.3615, allocations: 312.2 kB / 0.5314 GB, free: 50.73 MB / 414.1 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 (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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001551/0.3616, allocations: 131.7 kB / 0.5316 GB, free: 50.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002122/0.3638, allocations: 1.404 MB / 0.5329 GB, free: 50.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.3638, allocations: 1.375 kB / 0.5329 GB, free: 50.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.3649, allocations: 0.8425 MB / 0.5338 GB, free: 50.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006862/0.3656, allocations: 105.5 kB / 0.5339 GB, free: 50.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.3683, allocations: 1.865 MB / 0.5357 GB, free: 49.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.369, allocations: 1.072 MB / 0.5367 GB, free: 48.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.3692, allocations: 72.67 kB / 0.5368 GB, free: 48.91 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3692, allocations: 0 / 0.5368 GB, free: 48.91 MB / 414.1 MB Notification: Performance of Templates: time 0.01662/0.3859, allocations: 12.21 MB / 0.5487 GB, free: 45.69 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)