Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 173.7 kB / 24.91 MB, free: 9.176 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.284/0.284, allocations: 29.41 MB / 291.2 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.689e-05, allocations: 2.312 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004282/0.004299, allocations: 4.612 MB / 321.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.006173, allocations: 1.488 MB / 323 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.006381, allocations: 19.81 kB / 323 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.006661, allocations: 107.2 kB / 323.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.007133, allocations: 270.2 kB / 323.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.007377, allocations: 147.6 kB / 323.5 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.007886, allocations: 0.5992 MB / 324.1 MB, free: 8.668 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.008183, allocations: 305.3 kB / 324.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.008512, allocations: 359.2 kB / 324.8 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.008755, allocations: 195.5 kB / 324.9 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.008796, allocations: 40 kB / 325 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.595e-05/0.008842, allocations: 36 kB / 325 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.14e-05/0.008933, allocations: 139.6 kB / 325.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.009052, allocations: 143.7 kB / 325.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.009349, allocations: 334.8 kB / 325.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.009351, allocations: 0 / 325.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.009351, allocations: 0 / 325.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.009356, allocations: 4 kB / 325.6 MB, free: 7.141 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0006373/0.009994, allocations: 0.6063 MB / 326.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.01002, allocations: 15.92 kB / 326.3 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.01009, allocations: 60.89 kB / 326.3 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.01044, allocations: 321.4 kB / 326.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/0.01051, allocations: 80.97 kB / 326.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.01055, allocations: 40.12 kB / 326.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.01084, allocations: 320.9 kB / 327.1 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.01085, allocations: 8 kB / 327.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.01087, allocations: 19.94 kB / 327.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.01088, allocations: 11.98 kB / 327.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.01101, allocations: 104.4 kB / 327.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.01209, allocations: 1.468 MB / 328.7 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.01224, allocations: 166.4 kB / 328.8 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.01228, allocations: 49.16 kB / 328.9 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.0123, allocations: 4 kB / 328.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.01232, allocations: 38.55 kB / 328.9 MB, free: 3.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.01232, allocations: 0 / 328.9 MB, free: 3.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005014/0.01282, allocations: 341.2 kB / 329.3 MB, free: 3.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.01289, allocations: 106.8 kB / 329.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.01305, allocations: 278.7 kB / 329.6 MB, free: 2.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.01306, allocations: 33.7 kB / 329.7 MB, free: 2.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.01318, allocations: 220.6 kB / 329.9 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.01321, allocations: 75.34 kB / 329.9 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.01327, allocations: 66 kB / 330 MB, free: 2.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.01336, allocations: 350.7 kB / 330.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.01339, allocations: 28.58 kB / 330.4 MB, free: 2.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.01348, allocations: 161.5 kB / 330.5 MB, free: 1.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.0137, allocations: 221.8 kB / 330.8 MB, free: 1.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0137, allocations: 4 kB / 330.8 MB, free: 1.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002025/0.0139, allocations: 209.1 kB / 331 MB, free: 1.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01392, allocations: 10.34 kB / 331 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01392, allocations: 4 kB / 331 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.01394, allocations: 4 kB / 331 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.01411, allocations: 92.38 kB / 331.1 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.01412, allocations: 12 kB / 331.1 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.0142, allocations: 11.94 kB / 331.1 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.01422, allocations: 16 kB / 331.1 MB, free: 1.207 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.979e-05/0.01431, allocations: 136.5 kB / 331.2 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.01435, allocations: 27.92 kB / 331.3 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.01449, allocations: 115.8 kB / 331.4 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01449, allocations: 4 kB / 331.4 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01449, allocations: 0 / 331.4 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.0145, allocations: 7.984 kB / 331.4 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.01486, allocations: 436.9 kB / 331.8 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.01487, allocations: 11.98 kB / 331.8 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.015, allocations: 39.92 kB / 331.9 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.015, allocations: 0 / 331.9 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.01501, allocations: 8 kB / 331.9 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01501, allocations: 3.984 kB / 331.9 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01501, allocations: 4 kB / 331.9 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.01539, allocations: 432.4 kB / 332.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.01541, allocations: 31.78 kB / 332.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.01543, allocations: 4 kB / 332.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.01552, allocations: 8 kB / 332.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.01555, allocations: 19.81 kB / 332.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.01556, allocations: 4 kB / 332.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.533e-05/0.01562, allocations: 104.6 kB / 332.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01562, allocations: 0 / 332.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01585, allocations: 64 kB / 332.5 MB, free: 15.69 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.979e-05/0.01592, allocations: 88.19 kB / 332.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.01608, allocations: 135.1 kB / 332.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.01609, allocations: 4 kB / 332.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.494e-05/0.01614, allocations: 52.7 kB / 332.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.01645, allocations: 89.3 kB / 332.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.01762, allocations: 0.748 MB / 333.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.723e-05/0.01768, allocations: 112.6 kB / 333.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.01779, allocations: 38.95 kB / 333.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.01791, allocations: 111.3 kB / 333.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01792, allocations: 3.938 kB / 333.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of Templates: time 0.005303/0.02322, allocations: 3.264 MB / 337.2 MB, free: 11.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9046127102337778]