Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009247/0.0009249, allocations: 90.62 kB / 16.65 MB, free: 6.535 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.0009552/0.0009551, allocations: 177 kB / 17.56 MB, free: 6.18 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.58/1.58, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1766/0.1766, allocations: 38.05 MB / 310.1 MB, free: 6.004 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.0005735/0.0005736, allocations: 15.12 kB / 377.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2716, allocations: 56.33 MB / 433.5 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005276/0.2769, allocations: 7.189 MB / 440.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004639/0.2816, allocations: 4.516 MB / 445.2 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004346/0.282, allocations: 19.88 kB / 445.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.2825, allocations: 131 kB / 445.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.2848, allocations: 1.207 MB / 446.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00082/0.2857, allocations: 311.3 kB / 446.9 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002195/0.2879, allocations: 2.584 MB / 449.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.2899, allocations: 1.419 MB / 450.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008733/0.2908, allocations: 485.7 kB / 451.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.2919, allocations: 0.7515 MB / 452.1 MB, free: 8 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.2921, allocations: 40.05 kB / 452.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003863/0.296, allocations: 1.777 MB / 453.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007995/0.2968, allocations: 0.5611 MB / 454.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.2979, allocations: 0.5186 MB / 455 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003536/0.3014, allocations: 1.916 MB / 456.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3014, allocations: 0 / 456.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.165e-06/0.3015, allocations: 8 kB / 456.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.881e-05/0.3015, allocations: 0 / 456.9 MB, free: 11.16 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002068/0.3036, allocations: 1.166 MB / 458.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.3036, allocations: 12.03 kB / 458.1 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003858/0.3075, allocations: 0.5419 MB / 458.6 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009849/0.3085, allocations: 0.5443 MB / 459.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/0.3086, allocations: 62.36 kB / 459.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.3087, allocations: 96.27 kB / 459.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.3111, allocations: 1.505 MB / 460.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.3111, allocations: 4 kB / 460.8 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.3112, allocations: 35.98 kB / 460.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.3114, allocations: 98 kB / 461 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.3138, allocations: 1.554 MB / 462.5 MB, free: 5.41 MB / 334.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 preOpt removeSimpleEquations (simulation): time 0.007965/0.3218, allocations: 4.942 MB / 467.5 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.3235, allocations: 1.192 MB / 468.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009487/0.3245, allocations: 0.7725 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-05/0.3246, allocations: 16.98 kB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.3246, allocations: 47.55 kB / 469.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 3.968e-06/0.3246, allocations: 0 / 469.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.007351/0.332, allocations: 3.697 MB / 473.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.3321, allocations: 90.11 kB / 473.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.3326, allocations: 473.8 kB / 473.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.3327, allocations: 41.7 kB / 473.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.333, allocations: 431.4 kB / 474.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.3333, allocations: 370.5 kB / 474.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3334, allocations: 93.67 kB / 474.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3336, allocations: 386.8 kB / 475 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000798/0.3344, allocations: 0.5374 MB / 475.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/0.3353, allocations: 0.7539 MB / 476.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.3371, allocations: 1.396 MB / 477.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3371, allocations: 7.938 kB / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002919/0.3401, allocations: 1.806 MB / 479.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3401, allocations: 8 kB / 479.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3401, allocations: 4 kB / 479.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.3412, allocations: 405.5 kB / 479.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008878/0.3421, allocations: 231.6 kB / 480.2 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006728/0.3489, allocations: 5.625 MB / 485.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008185/0.3497, allocations: 71.98 kB / 485.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.3499, allocations: 43.98 kB / 485.9 MB, free: 13.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006618/0.3506, allocations: 361.4 kB / 486.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.3508, allocations: 75.06 kB / 486.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/0.354, allocations: 1.806 MB / 488.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.3541, allocations: 12 kB / 488.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.3541, allocations: 12 kB / 488.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.3541, allocations: 11.91 kB / 488.2 MB, free: 10.91 MB / 366.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.006029/0.3601, allocations: 3.466 MB / 491.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.3602, allocations: 4 kB / 491.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007233/0.3609, allocations: 187.8 kB / 491.8 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009277/0.3618, allocations: 358 kB / 492.2 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.3619, allocations: 24 kB / 492.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006336/0.3683, allocations: 5.363 MB / 497.6 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.3683, allocations: 4 kB / 497.6 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/0.3713, allocations: 1.823 MB / 499.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.3716, allocations: 160.1 kB / 499.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.3717, allocations: 35.92 kB / 499.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/0.3723, allocations: 51.89 kB / 499.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.3725, allocations: 88.88 kB / 499.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.301e-05/0.3725, allocations: 32 kB / 499.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003813/0.3729, allocations: 327.1 kB / 0.4883 GB, free: 14.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3729, allocations: 7.938 kB / 0.4883 GB, free: 14.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001309/0.3743, allocations: 399.9 kB / 0.4887 GB, free: 14.11 MB / 382.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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.0002353/0.3745, allocations: 131 kB / 0.4889 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002733/0.3772, allocations: 1.744 MB / 0.4906 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3773, allocations: 0 / 0.4906 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.3788, allocations: 1.081 MB / 0.4916 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3799, allocations: 127.4 kB / 0.4917 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.3839, allocations: 2.699 MB / 0.4944 GB, free: 8.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.385, allocations: 1.171 MB / 0.4955 GB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006237/0.3856, allocations: 233.4 kB / 0.4957 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.3859, allocations: 63.42 kB / 0.4958 GB, free: 6.711 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3859, allocations: 0 / 0.4958 GB, free: 6.711 MB / 382.1 MB Notification: Performance of Templates: time 0.02207/0.4079, allocations: 11.49 MB / 0.507 GB, free: 11.25 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) Environment - environmentSimulation: