Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002294/0.002294, allocations: 180.7 kB / 8.012 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.156/2.156, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001077/0.001077, allocations: 78.7 kB / 261.8 MB, free: 1.684 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.2669/0.2669, allocations: 38 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.57e-05, allocations: 4 kB / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 56.33 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.502/0.611, allocations: 95.82 MB / 0.5488 GB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.6114, allocations: 90.08 kB / 0.5489 GB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0488/0.6602, allocations: 12.42 MB / 0.5611 GB, free: 4.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6603, allocations: 0 / 0.5611 GB, free: 4.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.803e-05/0.6603, allocations: 8 kB / 0.5611 GB, free: 4.238 MB / 362.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.001132/0.6614, allocations: 0.604 MB / 0.5616 GB, free: 3.617 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.6615, allocations: 15.91 kB / 0.5617 GB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009792/0.6625, allocations: 102.7 kB / 0.5618 GB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.6656, allocations: 0.847 MB / 0.5626 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.6657, allocations: 12 kB / 0.5626 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.6658, allocations: 20 kB / 0.5626 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006758/0.6665, allocations: 268 kB / 0.5629 GB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007764/0.6673, allocations: 406.1 kB / 0.5633 GB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.6673, allocations: 4 kB / 0.5633 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.6674, allocations: 3.953 kB / 0.5633 GB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-05/0.6674, allocations: 24.2 kB / 0.5633 GB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.6702, allocations: 1.618 MB / 0.5649 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.6706, allocations: 139.7 kB / 0.565 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.6708, allocations: 104.4 kB / 0.5651 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.6708, allocations: 7.594 kB / 0.5651 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.6709, allocations: 30.56 kB / 0.5651 GB, free: 500 kB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 3.236e-06/0.6709, allocations: 3.938 kB / 0.5651 GB, free: 496 kB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001533/0.6724, allocations: 0.6503 MB / 0.5658 GB, free: 15.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.6725, allocations: 81.05 kB / 0.5659 GB, free: 15.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.6729, allocations: 238.9 kB / 0.5661 GB, free: 15.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.673, allocations: 29.64 kB / 0.5661 GB, free: 15.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.6732, allocations: 305.8 kB / 0.5664 GB, free: 15.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/0.6733, allocations: 62.84 kB / 0.5665 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.6733, allocations: 0 / 0.5665 GB, free: 15.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6735, allocations: 326.1 kB / 0.5668 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.6737, allocations: 85.03 kB / 0.5669 GB, free: 14.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.674, allocations: 187.6 kB / 0.567 GB, free: 14.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.6743, allocations: 119.7 kB / 0.5672 GB, free: 14.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6744, allocations: 4 kB / 0.5672 GB, free: 14.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001327/0.6757, allocations: 394.6 kB / 0.5675 GB, free: 14.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.6758, allocations: 12.09 kB / 0.5675 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000946/0.6767, allocations: 269.8 kB / 0.5678 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007469/0.6775, allocations: 118.1 kB / 0.5679 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.6779, allocations: 55.92 kB / 0.568 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00371/0.6816, allocations: 2.028 MB / 0.5699 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.682, allocations: 7.984 kB / 0.57 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.6821, allocations: 15.44 kB / 0.57 GB, free: 11.99 MB / 378.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 () * 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.0001502/0.6823, allocations: 117 kB / 0.5701 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.6823, allocations: 31.72 kB / 0.5701 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006545/0.683, allocations: 231.8 kB / 0.5703 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.683, allocations: 4 kB / 0.5703 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.6831, allocations: 0 / 0.5703 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6831, allocations: 0 / 0.5703 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.6848, allocations: 0.6483 MB / 0.571 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.6848, allocations: 0 / 0.571 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.6852, allocations: 43.78 kB / 0.571 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.6854, allocations: 28.72 kB / 0.571 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.6855, allocations: 7.984 kB / 0.571 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.6872, allocations: 1.417 MB / 0.5724 GB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/0.6872, allocations: 15.91 kB / 0.5724 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.6881, allocations: 441.4 kB / 0.5729 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.6883, allocations: 100.7 kB / 0.573 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.6884, allocations: 4.031 kB / 0.573 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.6887, allocations: 4 kB / 0.573 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.6888, allocations: 19.86 kB / 0.573 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.6888, allocations: 4 kB / 0.573 GB, free: 8.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002934/0.6891, allocations: 194.7 kB / 0.5732 GB, free: 8.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6891, allocations: 4 kB / 0.5732 GB, free: 8.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007464/0.6899, allocations: 91.95 kB / 0.5733 GB, free: 8.723 MB / 378.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 () * 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): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000277/0.6902, allocations: 115.2 kB / 0.5734 GB, free: 8.598 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009878/0.6912, allocations: 360.3 kB / 0.5737 GB, free: 8.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6912, allocations: 0 / 0.5737 GB, free: 8.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004967/0.6917, allocations: 216.6 kB / 0.5739 GB, free: 8.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.6923, allocations: 58.86 kB / 0.574 GB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.6942, allocations: 0.6755 MB / 0.5746 GB, free: 7.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006695/0.6949, allocations: 0.8504 MB / 0.5755 GB, free: 6.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.695, allocations: 23.44 kB / 0.5755 GB, free: 6.523 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.695, allocations: 0 / 0.5755 GB, free: 6.523 MB / 378.7 MB Notification: Performance of Templates: time 0.01405/0.7091, allocations: 5.56 MB / 0.5809 GB, free: 1.023 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)