Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002373/0.002372, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.3 MB / 213.7 MB, free: 1.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 86.64 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2873/0.2873, allocations: 37.99 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.752e-05, allocations: 0 / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4901/0.5971, allocations: 98.72 MB / 0.5517 GB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5975, allocations: 82.33 kB / 0.5517 GB, free: 10.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.227/0.8245, allocations: 58.78 MB / 0.6091 GB, free: 9.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.8245, allocations: 0 / 0.6091 GB, free: 9.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.546e-05/0.8246, allocations: 16 kB / 0.6092 GB, free: 9.746 MB / 410.7 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.003162/0.8278, allocations: 1.124 MB / 0.6103 GB, free: 8.574 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.8278, allocations: 8.031 kB / 0.6103 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006479/0.8343, allocations: 0.5059 MB / 0.6108 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.8361, allocations: 0.5592 MB / 0.6113 GB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.8362, allocations: 28 kB / 0.6113 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.8364, allocations: 52 kB / 0.6114 GB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003091/0.8395, allocations: 1.168 MB / 0.6125 GB, free: 6.207 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.8429, allocations: 1.321 MB / 0.6138 GB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.843, allocations: 7.984 kB / 0.6138 GB, free: 4.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.8431, allocations: 7.953 kB / 0.6138 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005597/0.8437, allocations: 126 kB / 0.6139 GB, free: 4.711 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01257/0.8563, allocations: 4.682 MB / 0.6185 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.859, allocations: 1.095 MB / 0.6196 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.8606, allocations: 0.7077 MB / 0.6203 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.8608, allocations: 17.38 kB / 0.6203 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.8608, allocations: 48.19 kB / 0.6203 GB, free: 13.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 4.539e-06/0.8608, allocations: 0 / 0.6203 GB, free: 13.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.006507/0.8674, allocations: 2.263 MB / 0.6226 GB, free: 11.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.8675, allocations: 94.38 kB / 0.6226 GB, free: 11.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/0.8682, allocations: 385 kB / 0.623 GB, free: 11.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.8684, allocations: 25.7 kB / 0.623 GB, free: 11.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.8687, allocations: 469.9 kB / 0.6235 GB, free: 10.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004782/0.8692, allocations: 362.6 kB / 0.6238 GB, free: 10.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.8693, allocations: 0 / 0.6238 GB, free: 10.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.8695, allocations: 354.8 kB / 0.6242 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.8707, allocations: 0.4945 MB / 0.6246 GB, free: 9.461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.8721, allocations: 0.6932 MB / 0.6253 GB, free: 8.691 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.8736, allocations: 0.6113 MB / 0.6259 GB, free: 8.082 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8736, allocations: 0 / 0.6259 GB, free: 8.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004589/0.8782, allocations: 1.623 MB / 0.6275 GB, free: 6.445 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.8783, allocations: 8 kB / 0.6275 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.8783, allocations: 11.88 kB / 0.6275 GB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/0.8801, allocations: 384.6 kB / 0.6279 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.8821, allocations: 239.6 kB / 0.6281 GB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.8925, allocations: 5.412 MB / 0.6334 GB, free: 144 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.8939, allocations: 51.86 kB / 0.6335 GB, free: 92 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.8941, allocations: 40 kB / 0.6335 GB, free: 52 kB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003248/0.8944, allocations: 128.8 kB / 0.6336 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.8947, allocations: 79.02 kB / 0.6337 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004845/0.8995, allocations: 1.662 MB / 0.6353 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.8996, allocations: 16 kB / 0.6353 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.8996, allocations: 4 kB / 0.6353 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.203e-05/0.8997, allocations: 7.969 kB / 0.6353 GB, free: 14.14 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.009614/0.9093, allocations: 3.179 MB / 0.6384 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.9093, allocations: 4 kB / 0.6385 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.9109, allocations: 183.8 kB / 0.6386 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001724/0.9127, allocations: 341.5 kB / 0.639 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00023/0.913, allocations: 8 kB / 0.639 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009681/0.9227, allocations: 5.136 MB / 0.644 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/0.9227, allocations: 4 kB / 0.644 GB, free: 4.918 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/0.9274, allocations: 1.877 MB / 0.6458 GB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/0.928, allocations: 164.1 kB / 0.646 GB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/0.9283, allocations: 4 kB / 0.646 GB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.9295, allocations: 31.95 kB / 0.646 GB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/0.9298, allocations: 89.14 kB / 0.6461 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.9299, allocations: 36 kB / 0.6461 GB, free: 2.543 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005703/0.9305, allocations: 294.9 kB / 0.6464 GB, free: 2.254 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.9305, allocations: 3.938 kB / 0.6464 GB, free: 2.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002041/0.9326, allocations: 367.9 kB / 0.6468 GB, free: 1.891 MB / 442.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002724/0.9329, allocations: 123.1 kB / 0.6469 GB, free: 1.758 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003869/0.9368, allocations: 1.591 MB / 0.6484 GB, free: 156 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.9368, allocations: 0 / 0.6484 GB, free: 156 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.9392, allocations: 1.001 MB / 0.6494 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009351/0.9402, allocations: 87.31 kB / 0.6495 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.945, allocations: 1.83 MB / 0.6513 GB, free: 13.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.9463, allocations: 1.188 MB / 0.6524 GB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/0.9469, allocations: 75.41 kB / 0.6525 GB, free: 11.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/0.947, allocations: 3.938 kB / 0.6525 GB, free: 11.84 MB / 458.7 MB Notification: Performance of Templates: time 0.03619/0.9832, allocations: 17.23 MB / 0.6693 GB, free: 10.55 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)