Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002024/0.002024, allocations: 182.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.781/1.781, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001678/0.001679, allocations: 112.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.202/0.202, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.317e-05, allocations: 0 / 397.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2602, allocations: 53.21 MB / 450.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.3871, allocations: 91.27 MB / 0.5293 GB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.3874, allocations: 83.95 kB / 0.5294 GB, free: 2.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.241/0.6285, allocations: 12.51 MB / 0.5416 GB, free: 86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6285, allocations: 0 / 0.5416 GB, free: 86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.6285, allocations: 11.66 kB / 0.5416 GB, free: 86 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.0007947/0.6293, allocations: 0.616 MB / 0.5422 GB, free: 85.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.6294, allocations: 6.812 kB / 0.5422 GB, free: 85.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005712/0.6299, allocations: 85.06 kB / 0.5423 GB, free: 85.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.6318, allocations: 0.8631 MB / 0.5432 GB, free: 84.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.6318, allocations: 26.81 kB / 0.5432 GB, free: 84.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.6319, allocations: 30.47 kB / 0.5432 GB, free: 84.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.6325, allocations: 465.2 kB / 0.5437 GB, free: 84.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.6325, allocations: 0 / 0.5437 GB, free: 84.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.6325, allocations: 15.39 kB / 0.5437 GB, free: 84.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.6326, allocations: 29.55 kB / 0.5437 GB, free: 84.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.633, allocations: 337.7 kB / 0.544 GB, free: 84.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.6346, allocations: 1.725 MB / 0.5457 GB, free: 82.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.6349, allocations: 151.8 kB / 0.5458 GB, free: 82.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.635, allocations: 108.5 kB / 0.546 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.635, allocations: 7.844 kB / 0.546 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.635, allocations: 34.53 kB / 0.546 GB, free: 82.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.635, allocations: 0 / 0.546 GB, free: 82.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009204/0.636, allocations: 0.6973 MB / 0.5467 GB, free: 82.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.636, allocations: 81.11 kB / 0.5467 GB, free: 82.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.6362, allocations: 282.6 kB / 0.547 GB, free: 81.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.6362, allocations: 29.7 kB / 0.547 GB, free: 81.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.6363, allocations: 247.4 kB / 0.5473 GB, free: 81.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.6364, allocations: 59.2 kB / 0.5473 GB, free: 81.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.6364, allocations: 4 kB / 0.5473 GB, free: 81.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.6364, allocations: 350.8 kB / 0.5477 GB, free: 81.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.6366, allocations: 92.25 kB / 0.5478 GB, free: 80.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.6367, allocations: 202.9 kB / 0.548 GB, free: 80.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.6369, allocations: 124.7 kB / 0.5481 GB, free: 80.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6369, allocations: 7.938 kB / 0.5481 GB, free: 80.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007133/0.6376, allocations: 473.4 kB / 0.5485 GB, free: 80.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.6376, allocations: 4 kB / 0.5485 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004823/0.6381, allocations: 305 kB / 0.5488 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/0.6385, allocations: 144.9 kB / 0.549 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.6387, allocations: 47.92 kB / 0.549 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.6407, allocations: 2.21 MB / 0.5512 GB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.6409, allocations: 16 kB / 0.5512 GB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.6409, allocations: 11.98 kB / 0.5512 GB, free: 77.26 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 6.43e-05/0.641, allocations: 124.6 kB / 0.5513 GB, free: 77.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/0.641, allocations: 31.62 kB / 0.5514 GB, free: 77.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.6414, allocations: 265.1 kB / 0.5516 GB, free: 76.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6414, allocations: 4 kB / 0.5516 GB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.6414, allocations: 0 / 0.5516 GB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6414, allocations: 4 kB / 0.5516 GB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000899/0.6423, allocations: 0.7387 MB / 0.5523 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.6424, allocations: 0 / 0.5523 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.6425, allocations: 35.97 kB / 0.5524 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-05/0.6426, allocations: 40.83 kB / 0.5524 GB, free: 75.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.6427, allocations: 4.062 kB / 0.5524 GB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6427, allocations: 7.938 kB / 0.5524 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6427, allocations: 3.938 kB / 0.5524 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.6431, allocations: 479.4 kB / 0.5529 GB, free: 75.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.6432, allocations: 100.7 kB / 0.553 GB, free: 75.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.6432, allocations: 11.95 kB / 0.553 GB, free: 75.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.6433, allocations: 8.031 kB / 0.553 GB, free: 75.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.6434, allocations: 11.98 kB / 0.553 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.6434, allocations: 8 kB / 0.553 GB, free: 75.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.6436, allocations: 218.2 kB / 0.5532 GB, free: 75.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6436, allocations: 4 kB / 0.5532 GB, free: 75.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005809/0.6442, allocations: 99.94 kB / 0.5533 GB, free: 74.95 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.0001664/0.6443, allocations: 111.2 kB / 0.5534 GB, free: 74.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005346/0.6449, allocations: 410.3 kB / 0.5538 GB, free: 74.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6449, allocations: 0 / 0.5538 GB, free: 74.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.6451, allocations: 186.5 kB / 0.554 GB, free: 74.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.6454, allocations: 59.09 kB / 0.5541 GB, free: 74.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008879/0.6463, allocations: 0.6633 MB / 0.5547 GB, free: 73.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.6466, allocations: 0.8499 MB / 0.5555 GB, free: 72.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.6467, allocations: 66.91 kB / 0.5556 GB, free: 72.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.6468, allocations: 27.38 kB / 0.5556 GB, free: 72.5 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6468, allocations: 0 / 0.5556 GB, free: 72.5 MB / 378.7 MB Notification: Performance of Templates: time 0.006362/0.6532, allocations: 3.825 MB / 0.5594 GB, free: 68.7 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)