Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001582/0.001581, allocations: 181.8 kB / 15.76 MB, free: 6.344 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.033/2.033, allocations: 205.4 MB / 221.9 MB, free: 13.68 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.00111/0.00111, allocations: 98.69 kB / 270.2 MB, free: 13.21 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2575/0.2575, allocations: 38.05 MB / 356.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006805/0.0006806, allocations: 15.98 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1111, allocations: 56.31 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4967/0.6079, allocations: 96.41 MB / 0.562 GB, free: 3.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.6083, allocations: 88.14 kB / 0.562 GB, free: 3.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05506/0.6633, allocations: 12.52 MB / 0.5743 GB, free: 8.621 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6634, allocations: 4 kB / 0.5743 GB, free: 8.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.928e-05/0.6634, allocations: 8 kB / 0.5743 GB, free: 8.609 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001659/0.6651, allocations: 0.6642 MB / 0.5749 GB, free: 7.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.6652, allocations: 8.031 kB / 0.5749 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.6662, allocations: 95.3 kB / 0.575 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.6697, allocations: 0.8689 MB / 0.5759 GB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.6698, allocations: 31.88 kB / 0.5759 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.6699, allocations: 37.34 kB / 0.5759 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.671, allocations: 469 kB / 0.5764 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.6711, allocations: 352 / 0.5764 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.6712, allocations: 21.27 kB / 0.5764 GB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-05/0.6712, allocations: 20.98 kB / 0.5764 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/0.6721, allocations: 349 kB / 0.5768 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.6757, allocations: 1.725 MB / 0.5784 GB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.6761, allocations: 151.2 kB / 0.5786 GB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.6762, allocations: 4.344 kB / 0.5786 GB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.6762, allocations: 34.38 kB / 0.5786 GB, free: 4.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 3.086e-06/0.6762, allocations: 4 kB / 0.5786 GB, free: 4.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.002397/0.6787, allocations: 0.8806 MB / 0.5795 GB, free: 3.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.6788, allocations: 77.11 kB / 0.5796 GB, free: 3.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.6792, allocations: 277.1 kB / 0.5798 GB, free: 3.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.6793, allocations: 36.95 kB / 0.5799 GB, free: 3.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.6795, allocations: 299.6 kB / 0.5802 GB, free: 3.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.409e-05/0.6796, allocations: 68.28 kB / 0.5802 GB, free: 3.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.6797, allocations: 3.125 kB / 0.5802 GB, free: 3.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6798, allocations: 328 kB / 0.5805 GB, free: 2.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.6801, allocations: 96.67 kB / 0.5806 GB, free: 2.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.6804, allocations: 212.4 kB / 0.5808 GB, free: 2.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.6807, allocations: 134.9 kB / 0.581 GB, free: 2.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.6808, allocations: 0 / 0.581 GB, free: 2.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001429/0.6822, allocations: 454.8 kB / 0.5814 GB, free: 2.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6822, allocations: 8 kB / 0.5814 GB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009842/0.6832, allocations: 313.1 kB / 0.5817 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008268/0.6841, allocations: 140.3 kB / 0.5818 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.6845, allocations: 51.05 kB / 0.5819 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/0.6886, allocations: 2.266 MB / 0.5841 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.689, allocations: 17.61 kB / 0.5841 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.6891, allocations: 15.06 kB / 0.5841 GB, free: 15.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003345/0.6894, allocations: 184.3 kB / 0.5843 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.6895, allocations: 31.62 kB / 0.5843 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006983/0.6902, allocations: 261.5 kB / 0.5846 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.6903, allocations: 11.95 kB / 0.5846 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6903, allocations: 3.938 kB / 0.5846 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.6903, allocations: 0 / 0.5846 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.6921, allocations: 0.7373 MB / 0.5853 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.6922, allocations: 0 / 0.5853 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.6926, allocations: 40.05 kB / 0.5854 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.6928, allocations: 39.64 kB / 0.5854 GB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.6928, allocations: 11.8 kB / 0.5854 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.6928, allocations: 0 / 0.5854 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6928, allocations: 0 / 0.5854 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.6938, allocations: 478 kB / 0.5859 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.6939, allocations: 108.3 kB / 0.586 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.488e-05/0.694, allocations: 8.203 kB / 0.586 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.6943, allocations: 18.73 kB / 0.586 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.6943, allocations: 15.3 kB / 0.586 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.6944, allocations: 8 kB / 0.586 GB, free: 13.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003424/0.6947, allocations: 218.2 kB / 0.5862 GB, free: 13.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.514e-06/0.6947, allocations: 0 / 0.5862 GB, free: 13.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006836/0.6954, allocations: 98.44 kB / 0.5863 GB, free: 13.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002631/0.6957, allocations: 125.9 kB / 0.5864 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.6968, allocations: 402.2 kB / 0.5868 GB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6968, allocations: 4.25 kB / 0.5868 GB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.6972, allocations: 179.9 kB / 0.587 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.6977, allocations: 62.94 kB / 0.5871 GB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.7001, allocations: 1.132 MB / 0.5882 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.7007, allocations: 0.8489 MB / 0.589 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.7009, allocations: 23.44 kB / 0.589 GB, free: 10.92 MB / 394.7 MB Notification: Performance of SimCode: time 8.81e-07/0.7009, allocations: 0 / 0.589 GB, free: 10.92 MB / 394.7 MB Notification: Performance of Templates: time 0.01312/0.714, allocations: 5.637 MB / 0.5945 GB, free: 5.328 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)