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.001628/0.001628, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001957/0.001957, allocations: 192 kB / 18.63 MB, free: 4.375 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.414/1.414, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1754/0.1754, allocations: 38 MB / 309.8 MB, free: 5.969 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.001551/0.001551, allocations: 71.91 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2315, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006247/0.2378, allocations: 7.427 MB / 439.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004516/0.2424, allocations: 4.425 MB / 443.9 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005814/0.243, allocations: 15.94 kB / 443.9 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.2452, allocations: 1.044 MB / 444.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.2476, allocations: 1.195 MB / 446.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/0.2484, allocations: 319.1 kB / 446.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.2498, allocations: 1.41 MB / 447.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008596/0.2507, allocations: 0.6534 MB / 448.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009082/0.2516, allocations: 0.6186 MB / 449.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008551/0.2525, allocations: 0.6697 MB / 449.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.2526, allocations: 64 kB / 449.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.2546, allocations: 1.325 MB / 451.2 MB, free: 280 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004724/0.2551, allocations: 486.8 kB / 451.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006961/0.2558, allocations: 445.9 kB / 452.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.258, allocations: 1.457 MB / 453.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.258, allocations: 0 / 453.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2581, allocations: 0 / 453.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.27e-05/0.2581, allocations: 0 / 453.6 MB, free: 13.9 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002029/0.2601, allocations: 1.129 MB / 454.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.2602, allocations: 11.89 kB / 454.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/0.2634, allocations: 395.4 kB / 455.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009437/0.2643, allocations: 486.6 kB / 455.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/0.2644, allocations: 54.36 kB / 455.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.2646, allocations: 72.34 kB / 455.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.2664, allocations: 1.188 MB / 456.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.2665, allocations: 0 / 456.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.251e-05/0.2666, allocations: 31.98 kB / 456.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.2667, allocations: 69.95 kB / 457 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.2687, allocations: 1.241 MB / 458.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005078/0.2738, allocations: 3.495 MB / 461.7 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.2754, allocations: 1.069 MB / 462.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008505/0.2762, allocations: 0.6526 MB / 463.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.658e-05/0.2763, allocations: 17 kB / 463.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.2764, allocations: 47.73 kB / 463.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.835e-06/0.2764, allocations: 7.875 kB / 463.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006294/0.2827, allocations: 3.083 MB / 466.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.2827, allocations: 94.09 kB / 466.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.2831, allocations: 361.5 kB / 467 MB, free: 136 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.2832, allocations: 49.72 kB / 467.1 MB, free: 80 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.2834, allocations: 304.2 kB / 467.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.2837, allocations: 315.3 kB / 467.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.284, allocations: 162.6 kB / 467.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2841, allocations: 366.8 kB / 468.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006858/0.2848, allocations: 469.7 kB / 468.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007252/0.2856, allocations: 0.5696 MB / 469.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.287, allocations: 1.109 MB / 470.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.287, allocations: 0 / 470.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002366/0.2894, allocations: 1.481 MB / 471.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2894, allocations: 8.188 kB / 471.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2895, allocations: 4 kB / 471.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009009/0.2904, allocations: 333.8 kB / 472.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/0.2911, allocations: 179.7 kB / 472.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005258/0.2963, allocations: 4.191 MB / 476.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.2968, allocations: 47.94 kB / 476.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.2969, allocations: 35.98 kB / 476.6 MB, free: 6.289 MB / 350.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.0004561/0.2974, allocations: 293.5 kB / 476.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.2975, allocations: 55.34 kB / 476.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/0.3003, allocations: 1.563 MB / 478.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.3003, allocations: 12 kB / 478.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.3003, allocations: 11.92 kB / 478.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.3004, allocations: 3.984 kB / 478.5 MB, free: 4.336 MB / 350.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.005167/0.3055, allocations: 3.035 MB / 481.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.3056, allocations: 4 kB / 481.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/0.3062, allocations: 163.8 kB / 481.7 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007879/0.307, allocations: 285 kB / 482 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.3071, allocations: 27.98 kB / 482 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005003/0.3121, allocations: 3.91 MB / 485.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.3121, allocations: 4 kB / 486 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.3146, allocations: 1.594 MB / 487.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.3148, allocations: 144.3 kB / 487.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.843e-05/0.3149, allocations: 23.98 kB / 487.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.3154, allocations: 47.91 kB / 487.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.3155, allocations: 76.83 kB / 487.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/0.3156, allocations: 39.98 kB / 487.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002925/0.3159, allocations: 259.1 kB / 488.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3159, allocations: 3.938 kB / 488.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009261/0.3169, allocations: 308 kB / 488.4 MB, free: 10.06 MB / 366.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.00017/0.3171, allocations: 131 kB / 488.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.3192, allocations: 1.405 MB / 490 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3192, allocations: 0 / 490 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.3203, allocations: 0.8475 MB / 490.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.321, allocations: 109.1 kB / 490.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.3236, allocations: 1.778 MB / 492.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.3242, allocations: 1.072 MB / 493.8 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000388/0.3246, allocations: 184.6 kB / 493.9 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.3248, allocations: 63.41 kB / 494 MB, free: 4.355 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3248, allocations: 4 kB / 494 MB, free: 4.352 MB / 366.1 MB Notification: Performance of Templates: time 0.01555/0.3404, allocations: 10.11 MB / 0.4923 GB, free: 10.27 MB / 382.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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)