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.001549/0.001549, allocations: 186.1 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.001101, allocations: 100.3 kB / 267.1 MB, free: 9.289 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.2693/0.2693, allocations: 37.97 MB / 353.1 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.296e-05, allocations: 0 / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 56.32 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4766/0.5832, allocations: 99.38 MB / 0.5591 GB, free: 4.336 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.5836, allocations: 79.95 kB / 0.5592 GB, free: 4.258 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2437/0.8273, allocations: 59.07 MB / 0.6169 GB, free: 8.484 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.8274, allocations: 0 / 0.6169 GB, free: 8.484 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.814e-05/0.8275, allocations: 19.94 kB / 0.6169 GB, free: 8.465 MB / 458.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.003459/0.8309, allocations: 1.124 MB / 0.618 GB, free: 7.293 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.831, allocations: 8.031 kB / 0.618 GB, free: 7.285 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006631/0.8376, allocations: 0.5059 MB / 0.6185 GB, free: 6.777 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.8396, allocations: 0.5553 MB / 0.619 GB, free: 6.184 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/0.8398, allocations: 65.98 kB / 0.6191 GB, free: 6.121 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000331/0.8401, allocations: 91.97 kB / 0.6192 GB, free: 6.031 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004181/0.8443, allocations: 1.446 MB / 0.6206 GB, free: 4.547 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.156e-05/0.8444, allocations: 0 / 0.6206 GB, free: 4.547 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.8446, allocations: 35.98 kB / 0.6206 GB, free: 4.512 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005917/0.8452, allocations: 141.9 kB / 0.6207 GB, free: 4.371 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004856/0.8501, allocations: 1.449 MB / 0.6222 GB, free: 2.914 MB / 458.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.01485/0.865, allocations: 4.865 MB / 0.6269 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.8683, allocations: 1.144 MB / 0.628 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.8703, allocations: 0.7342 MB / 0.6287 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.8705, allocations: 24.97 kB / 0.6288 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.8705, allocations: 43.56 kB / 0.6288 GB, free: 11.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 3.837e-06/0.8705, allocations: 0 / 0.6288 GB, free: 11.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.007609/0.8782, allocations: 2.385 MB / 0.6311 GB, free: 9.461 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.8783, allocations: 90.11 kB / 0.6312 GB, free: 9.352 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/0.8791, allocations: 414.9 kB / 0.6316 GB, free: 8.941 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002674/0.8794, allocations: 41.7 kB / 0.6317 GB, free: 8.895 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.8798, allocations: 462 kB / 0.6321 GB, free: 8.438 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006824/0.8805, allocations: 382.5 kB / 0.6325 GB, free: 8.059 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.8807, allocations: 20 kB / 0.6325 GB, free: 8.039 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.8809, allocations: 354.8 kB / 0.6328 GB, free: 7.684 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.8823, allocations: 0.5102 MB / 0.6333 GB, free: 7.172 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.8841, allocations: 0.7228 MB / 0.634 GB, free: 6.367 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.8859, allocations: 0.6333 MB / 0.6346 GB, free: 5.738 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.886, allocations: 0 / 0.6346 GB, free: 5.738 MB / 474.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005453/0.8914, allocations: 1.721 MB / 0.6363 GB, free: 4.004 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.8915, allocations: 8 kB / 0.6363 GB, free: 3.996 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.8916, allocations: 4 kB / 0.6363 GB, free: 3.992 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/0.8936, allocations: 419.2 kB / 0.6367 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/0.8957, allocations: 235.6 kB / 0.637 GB, free: 3.348 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3288/1.225, allocations: 5.601 MB / 0.6424 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.226, allocations: 68.02 kB / 0.6425 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/1.226, allocations: 43.94 kB / 0.6425 GB, free: 118.3 MB / 474.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.000317/1.227, allocations: 166.1 kB / 0.6427 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/1.227, allocations: 76.78 kB / 0.6428 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005471/1.232, allocations: 1.765 MB / 0.6445 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/1.232, allocations: 12.38 kB / 0.6445 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/1.233, allocations: 6.312 kB / 0.6445 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-05/1.233, allocations: 10.33 kB / 0.6445 GB, free: 118.1 MB / 474.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.01078/1.243, allocations: 3.413 MB / 0.6479 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/1.243, allocations: 4.594 kB / 0.6479 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.245, allocations: 187.7 kB / 0.648 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/1.247, allocations: 344.9 kB / 0.6484 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/1.247, allocations: 26.53 kB / 0.6484 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/1.257, allocations: 5.333 MB / 0.6536 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.257, allocations: 9.438 kB / 0.6536 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005149/1.263, allocations: 1.947 MB / 0.6555 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/1.263, allocations: 157.5 kB / 0.6557 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/1.263, allocations: 27.03 kB / 0.6557 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.264, allocations: 53.53 kB / 0.6557 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/1.265, allocations: 89.03 kB / 0.6558 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.265, allocations: 37.81 kB / 0.6559 GB, free: 114.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006236/1.266, allocations: 319.8 kB / 0.6562 GB, free: 114 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.583e-06/1.266, allocations: 0 / 0.6562 GB, free: 114 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002115/1.268, allocations: 413.6 kB / 0.6566 GB, free: 114 MB / 474.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.0003507/1.268, allocations: 139.9 kB / 0.6567 GB, free: 113.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004632/1.273, allocations: 1.684 MB / 0.6583 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.056e-06/1.273, allocations: 3 kB / 0.6583 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002921/1.276, allocations: 1.049 MB / 0.6594 GB, free: 113.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/1.277, allocations: 107.8 kB / 0.6595 GB, free: 113.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005378/1.282, allocations: 1.879 MB / 0.6613 GB, free: 112.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/1.284, allocations: 1.195 MB / 0.6625 GB, free: 112.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/1.284, allocations: 73.55 kB / 0.6625 GB, free: 112.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.392e-06/1.284, allocations: 2.5 kB / 0.6625 GB, free: 112.2 MB / 474.7 MB Notification: Performance of Templates: time 0.03412/1.318, allocations: 17.37 MB / 0.6795 GB, free: 111.7 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)