Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00106/0.00106, allocations: 182.8 kB / 17.4 MB, free: 4.301 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.415/1.415, allocations: 194.5 MB / 212.6 MB, free: 2.863 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.001673/0.001673, allocations: 116.7 kB / 257.9 MB, free: 4.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2043/0.2043, allocations: 38.02 MB / 341.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003629, allocations: 12 kB / 405 MB, free: 68.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09399, allocations: 53.23 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3166/0.4106, allocations: 91.57 MB / 0.5369 GB, free: 3.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.4109, allocations: 94.27 kB / 0.537 GB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03289/0.4438, allocations: 12.5 MB / 0.5492 GB, free: 8.633 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4438, allocations: 4 kB / 0.5492 GB, free: 8.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.774e-05/0.4439, allocations: 8 kB / 0.5493 GB, free: 8.621 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.001372/0.4453, allocations: 0.659 MB / 0.5499 GB, free: 7.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.4453, allocations: 12.03 kB / 0.5499 GB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006525/0.446, allocations: 88.31 kB / 0.55 GB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.4471, allocations: 0.5709 MB / 0.5505 GB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.4472, allocations: 24.38 kB / 0.5506 GB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.623e-05/0.4472, allocations: 42.41 kB / 0.5506 GB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.448, allocations: 477.1 kB / 0.5511 GB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.448, allocations: 0 / 0.5511 GB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.448, allocations: 17.12 kB / 0.5511 GB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.4481, allocations: 24.86 kB / 0.5511 GB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.4486, allocations: 327.1 kB / 0.5514 GB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.4507, allocations: 1.708 MB / 0.5531 GB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.451, allocations: 144.4 kB / 0.5532 GB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4512, allocations: 112.5 kB / 0.5533 GB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.4512, allocations: 3.938 kB / 0.5533 GB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.4512, allocations: 37.38 kB / 0.5534 GB, free: 4.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.664e-06/0.4512, allocations: 0 / 0.5534 GB, free: 4.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001439/0.4527, allocations: 0.855 MB / 0.5542 GB, free: 4.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.4527, allocations: 84.8 kB / 0.5543 GB, free: 3.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.453, allocations: 301.3 kB / 0.5546 GB, free: 3.684 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.4531, allocations: 32.58 kB / 0.5546 GB, free: 3.648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.4532, allocations: 249.6 kB / 0.5548 GB, free: 3.441 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.4533, allocations: 65.91 kB / 0.5549 GB, free: 3.387 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.4533, allocations: 7.25 kB / 0.5549 GB, free: 3.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4534, allocations: 339 kB / 0.5552 GB, free: 3.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.4536, allocations: 92.36 kB / 0.5553 GB, free: 2.992 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.4538, allocations: 194.1 kB / 0.5555 GB, free: 2.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.4542, allocations: 308.2 kB / 0.5558 GB, free: 2.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.4542, allocations: 4 kB / 0.5558 GB, free: 2.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008523/0.4551, allocations: 459.9 kB / 0.5562 GB, free: 2.164 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4551, allocations: 8 kB / 0.5563 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005623/0.4556, allocations: 283.3 kB / 0.5565 GB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.4561, allocations: 130.2 kB / 0.5566 GB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.4563, allocations: 61.28 kB / 0.5567 GB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.4588, allocations: 2.146 MB / 0.5588 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.459, allocations: 15.73 kB / 0.5588 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.459, allocations: 23.69 kB / 0.5588 GB, free: 15.77 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 () * 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.0002285/0.4593, allocations: 186.9 kB / 0.559 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.4593, allocations: 31.56 kB / 0.559 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.4598, allocations: 250.2 kB / 0.5593 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4598, allocations: 4 kB / 0.5593 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.4598, allocations: 0 / 0.5593 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4598, allocations: 0 / 0.5593 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.4609, allocations: 0.7178 MB / 0.56 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4609, allocations: 0 / 0.56 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.4611, allocations: 39.91 kB / 0.56 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.9e-05/0.4612, allocations: 35.16 kB / 0.5601 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.4612, allocations: 14.86 kB / 0.5601 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.4624, allocations: 1.478 MB / 0.5615 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4624, allocations: 0 / 0.5615 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.4629, allocations: 429.7 kB / 0.5619 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/0.463, allocations: 100.8 kB / 0.562 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.463, allocations: 4.031 kB / 0.562 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4632, allocations: 11.94 kB / 0.562 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.4632, allocations: 11.98 kB / 0.5621 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.4633, allocations: 11.86 kB / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.4635, allocations: 213.1 kB / 0.5623 GB, free: 12.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4635, allocations: 0 / 0.5623 GB, free: 12.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000481/0.464, allocations: 107.7 kB / 0.5624 GB, free: 12.34 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 () * 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): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001871/0.4642, allocations: 130 kB / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.4648, allocations: 398.4 kB / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4648, allocations: 0 / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.4651, allocations: 229.9 kB / 0.5631 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.4656, allocations: 60.56 kB / 0.5632 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.4671, allocations: 1.072 MB / 0.5642 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.4676, allocations: 0.8412 MB / 0.565 GB, free: 9.719 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000228/0.4678, allocations: 62.92 kB / 0.5651 GB, free: 9.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.4679, allocations: 23.44 kB / 0.5651 GB, free: 9.633 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4679, allocations: 0 / 0.5651 GB, free: 9.633 MB / 378.7 MB Notification: Performance of Templates: time 0.007883/0.4758, allocations: 3.883 MB / 0.5689 GB, free: 5.762 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)