Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.001539, allocations: 186.1 kB / 13.19 MB, free: 2.125 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.005/2.005, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.001085/0.001085, allocations: 98.58 kB / 267.1 MB, free: 9.281 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.2621/0.2621, allocations: 37.98 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.859e-05, allocations: 8 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 56.32 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5058/0.6084, allocations: 122.3 MB / 0.5815 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.6088, allocations: 91.95 kB / 0.5815 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1664/0.7752, allocations: 35.53 MB / 0.6162 GB, free: 9.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.7753, allocations: 3.938 kB / 0.6162 GB, free: 9.426 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001419/0.7755, allocations: 32 kB / 0.6163 GB, free: 9.395 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.005483/0.781, allocations: 1.319 MB / 0.6176 GB, free: 8.023 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.781, allocations: 8.031 kB / 0.6176 GB, free: 8.016 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.7822, allocations: 162.3 kB / 0.6177 GB, free: 7.855 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006046/0.7883, allocations: 1.226 MB / 0.6189 GB, free: 6.582 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.7885, allocations: 85.98 kB / 0.619 GB, free: 6.496 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006635/0.7891, allocations: 127.8 kB / 0.6191 GB, free: 6.371 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004784/0.794, allocations: 1.305 MB / 0.6204 GB, free: 4.977 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.091e-05/0.7941, allocations: 0 / 0.6204 GB, free: 4.977 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.7943, allocations: 44 kB / 0.6204 GB, free: 4.934 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002523/0.7946, allocations: 73.97 kB / 0.6205 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004235/0.7989, allocations: 1.011 MB / 0.6215 GB, free: 3.848 MB / 458.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01522/0.8141, allocations: 5.129 MB / 0.6265 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.8159, allocations: 0.7263 MB / 0.6272 GB, free: 13.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007926/0.8167, allocations: 320.3 kB / 0.6275 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.493e-05/0.8168, allocations: 12.55 kB / 0.6275 GB, free: 13.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.8168, allocations: 51.08 kB / 0.6276 GB, free: 13.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 3.947e-06/0.8168, allocations: 0 / 0.6276 GB, free: 13.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=71): time 0.00678/0.8236, allocations: 2.224 MB / 0.6298 GB, free: 11.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.8238, allocations: 111.4 kB / 0.6299 GB, free: 10.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.8251, allocations: 0.6216 MB / 0.6305 GB, free: 10.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.8252, allocations: 41.7 kB / 0.6305 GB, free: 10.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/0.8258, allocations: 0.5752 MB / 0.6311 GB, free: 9.629 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.8261, allocations: 256.4 kB / 0.6313 GB, free: 9.375 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.8262, allocations: 16 kB / 0.6313 GB, free: 9.359 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.8264, allocations: 354.8 kB / 0.6317 GB, free: 9.004 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007769/0.8272, allocations: 262 kB / 0.6319 GB, free: 8.746 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009951/0.8282, allocations: 0.5209 MB / 0.6324 GB, free: 8.113 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000997/0.8292, allocations: 378.2 kB / 0.6328 GB, free: 7.746 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.413e-06/0.8292, allocations: 0 / 0.6328 GB, free: 7.746 MB / 474.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004227/0.8335, allocations: 1.199 MB / 0.634 GB, free: 6.531 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001436/0.8349, allocations: 3.14 MB / 0.637 GB, free: 3.148 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.835, allocations: 8 kB / 0.637 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002478/0.8375, allocations: 404.5 kB / 0.6374 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.8388, allocations: 167.7 kB / 0.6376 GB, free: 2.578 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.8412, allocations: 1.15 MB / 0.6387 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.8423, allocations: 35.89 kB / 0.6387 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.982e-05/0.8424, allocations: 40 kB / 0.6388 GB, free: 1.324 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.8424, allocations: 7.875 kB / 0.6388 GB, free: 1.316 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003867/0.8463, allocations: 1.139 MB / 0.6399 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.8464, allocations: 12.31 kB / 0.6399 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3558/1.202, allocations: 393.5 kB / 0.6403 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.204, allocations: 166.8 kB / 0.6404 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.215, allocations: 4.573 MB / 0.6449 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008077/1.216, allocations: 37.94 kB / 0.6449 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.216, allocations: 39.3 kB / 0.645 GB, free: 125.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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 {7 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002888/1.216, allocations: 156.4 kB / 0.6451 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/1.217, allocations: 92.27 kB / 0.6452 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/1.219, allocations: 0.8448 MB / 0.646 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/1.219, allocations: 11.44 kB / 0.6461 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.219, allocations: 1.219 kB / 0.6461 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/1.219, allocations: 5.656 kB / 0.6461 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005272/1.224, allocations: 1.804 MB / 0.6478 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.224, allocations: 1.469 kB / 0.6478 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/1.226, allocations: 164.8 kB / 0.648 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.909e-05/1.226, allocations: 3.688 kB / 0.648 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/1.226, allocations: 23.52 kB / 0.648 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/1.226, allocations: 4.312 kB / 0.648 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.226, allocations: 1.219 kB / 0.648 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/1.229, allocations: 1.257 MB / 0.6492 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006029/1.23, allocations: 221.7 kB / 0.6495 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/1.23, allocations: 18.22 kB / 0.6495 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007801/1.231, allocations: 25.98 kB / 0.6495 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.231, allocations: 41.52 kB / 0.6495 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/1.231, allocations: 21.91 kB / 0.6496 GB, free: 125 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00104/1.232, allocations: 0.4893 MB / 0.65 GB, free: 124.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.232, allocations: 0 / 0.65 GB, free: 124.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002268/1.234, allocations: 422.5 kB / 0.6504 GB, free: 124.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004218/1.235, allocations: 203.7 kB / 0.6506 GB, free: 124.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004854/1.24, allocations: 1.554 MB / 0.6522 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.24, allocations: 0 / 0.6522 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.241, allocations: 339.5 kB / 0.6525 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.243, allocations: 223.1 kB / 0.6527 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/1.248, allocations: 2.043 MB / 0.6547 GB, free: 124 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.249, allocations: 1.206 MB / 0.6559 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004873/1.25, allocations: 68 kB / 0.6559 GB, free: 123.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.923e-06/1.25, allocations: 2.531 kB / 0.6559 GB, free: 123.3 MB / 474.7 MB Notification: Performance of Templates: time 0.03643/1.286, allocations: 15.95 MB / 0.6715 GB, free: 122.5 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1)