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.001476/0.001476, allocations: 185.7 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.015/2.015, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.001083/0.001083, allocations: 94.64 kB / 261.8 MB, free: 1.668 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.2855/0.2855, allocations: 38.02 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.088e-05, allocations: 4 kB / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5463/0.6544, allocations: 95.65 MB / 0.5487 GB, free: 10.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.6547, allocations: 89.03 kB / 0.5487 GB, free: 10.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06298/0.7177, allocations: 12.41 MB / 0.5609 GB, free: 4.383 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.7178, allocations: 4 kB / 0.5609 GB, free: 4.379 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.416e-05/0.7178, allocations: 8 kB / 0.5609 GB, free: 4.371 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.001467/0.7193, allocations: 0.6038 MB / 0.5615 GB, free: 3.746 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.7194, allocations: 11.97 kB / 0.5615 GB, free: 3.734 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.7207, allocations: 95.36 kB / 0.5616 GB, free: 3.641 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004049/0.7247, allocations: 0.8453 MB / 0.5624 GB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.7248, allocations: 12 kB / 0.5624 GB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.725, allocations: 27.25 kB / 0.5624 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009198/0.7259, allocations: 278.8 kB / 0.5627 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.727, allocations: 410 kB / 0.5631 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.7271, allocations: 3.953 kB / 0.5631 GB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.7271, allocations: 4 kB / 0.5631 GB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.7272, allocations: 28.08 kB / 0.5631 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003661/0.7309, allocations: 1.636 MB / 0.5647 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.7314, allocations: 145.1 kB / 0.5649 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.7316, allocations: 104.1 kB / 0.565 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.7317, allocations: 0 / 0.565 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.7317, allocations: 42.11 kB / 0.565 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.906e-06/0.7317, allocations: 7.938 kB / 0.565 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001946/0.7337, allocations: 0.6625 MB / 0.5656 GB, free: 15.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.7338, allocations: 88.98 kB / 0.5657 GB, free: 15.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.7343, allocations: 242.3 kB / 0.566 GB, free: 15.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.7344, allocations: 25.7 kB / 0.566 GB, free: 15.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.7347, allocations: 306.4 kB / 0.5663 GB, free: 15.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.7348, allocations: 67.25 kB / 0.5663 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.7348, allocations: 0 / 0.5663 GB, free: 15.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.735, allocations: 328.7 kB / 0.5667 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.7354, allocations: 90 kB / 0.5667 GB, free: 14.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.7358, allocations: 190.6 kB / 0.5669 GB, free: 14.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.7362, allocations: 124.9 kB / 0.567 GB, free: 14.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.7362, allocations: 4 kB / 0.567 GB, free: 14.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001839/0.7381, allocations: 419.8 kB / 0.5674 GB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.7382, allocations: 8 kB / 0.5675 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001286/0.7395, allocations: 283.8 kB / 0.5677 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.7405, allocations: 133.1 kB / 0.5679 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.7411, allocations: 59.89 kB / 0.5679 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/0.7452, allocations: 2.088 MB / 0.57 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.7456, allocations: 4 kB / 0.57 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.7457, allocations: 23.23 kB / 0.57 GB, free: 11.98 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.0001431/0.7458, allocations: 117 kB / 0.5701 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.7459, allocations: 23.72 kB / 0.5701 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/0.7466, allocations: 241.3 kB / 0.5703 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.7466, allocations: 4 kB / 0.5703 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7466, allocations: 0 / 0.5703 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7466, allocations: 7.938 kB / 0.5704 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.7483, allocations: 0.6592 MB / 0.571 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.7484, allocations: 3.984 kB / 0.571 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.7488, allocations: 39.92 kB / 0.571 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/0.749, allocations: 36.39 kB / 0.5711 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.7491, allocations: 7.953 kB / 0.5711 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7491, allocations: 4.062 kB / 0.5711 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.7491, allocations: 64 / 0.5711 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.7499, allocations: 471.9 kB / 0.5715 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.7501, allocations: 96.83 kB / 0.5716 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.7502, allocations: 4.031 kB / 0.5716 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.7504, allocations: 4 kB / 0.5716 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.7505, allocations: 23.61 kB / 0.5717 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.7506, allocations: 4 kB / 0.5717 GB, free: 10.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002817/0.7508, allocations: 199 kB / 0.5719 GB, free: 10.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.7509, allocations: 0 / 0.5719 GB, free: 10.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007357/0.7516, allocations: 88 kB / 0.5719 GB, free: 10.14 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): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002451/0.7519, allocations: 115.2 kB / 0.572 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.7529, allocations: 377.2 kB / 0.5724 GB, free: 9.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7529, allocations: 0 / 0.5724 GB, free: 9.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.7532, allocations: 171.1 kB / 0.5726 GB, free: 9.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.7538, allocations: 55.98 kB / 0.5726 GB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.7556, allocations: 0.6905 MB / 0.5733 GB, free: 8.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/0.7562, allocations: 0.8542 MB / 0.5741 GB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.7564, allocations: 23.44 kB / 0.5742 GB, free: 7.953 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7564, allocations: 7.875 kB / 0.5742 GB, free: 7.945 MB / 378.7 MB Notification: Performance of Templates: time 0.01338/0.7698, allocations: 5.55 MB / 0.5796 GB, free: 2.453 MB / 378.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)