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.001376/0.001376, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00133/0.00133, allocations: 165 kB / 24.99 MB, free: 8.789 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 0.9725/0.9725, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2404/0.2404, allocations: 29.41 MB / 291.2 MB, free: 2.516 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.373e-06/1.373e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.016e-05, allocations: 2.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004858/0.004879, allocations: 4.973 MB / 374.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.006729, allocations: 1.449 MB / 376 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.006986, allocations: 23.81 kB / 376.1 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.007405, allocations: 111.1 kB / 376.2 MB, free: 4.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007322/0.008137, allocations: 274.1 kB / 376.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.008508, allocations: 143.6 kB / 376.6 MB, free: 4.336 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006766/0.009184, allocations: 0.603 MB / 377.2 MB, free: 3.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.009545, allocations: 303.4 kB / 377.5 MB, free: 3.434 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.009923, allocations: 355.1 kB / 377.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.01018, allocations: 203.4 kB / 378 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.01023, allocations: 40 kB / 378.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.855e-05/0.01027, allocations: 40 kB / 378.1 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.01037, allocations: 131.6 kB / 378.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.01049, allocations: 163.6 kB / 378.4 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.01083, allocations: 322.8 kB / 378.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.01083, allocations: 4 kB / 378.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01083, allocations: 0 / 378.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.01084, allocations: 0 / 378.7 MB, free: 2.199 MB / 346.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.0008445/0.01168, allocations: 0.7428 MB / 379.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.01172, allocations: 11.98 kB / 379.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.01183, allocations: 84.64 kB / 379.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.01227, allocations: 370.8 kB / 379.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.01235, allocations: 80.97 kB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.01241, allocations: 44.08 kB / 380 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.01283, allocations: 361.3 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.01285, allocations: 3.984 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.01288, allocations: 19.98 kB / 380.4 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.01289, allocations: 8 kB / 380.4 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.01311, allocations: 139.7 kB / 380.5 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.01463, allocations: 2.033 MB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.01484, allocations: 161 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.708e-05/0.01491, allocations: 55.17 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.01492, allocations: 11.94 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.01495, allocations: 41.38 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.01495, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007473/0.0157, allocations: 0.5429 MB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.01575, allocations: 114.8 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.01597, allocations: 334.2 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.01599, allocations: 25.7 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.01613, allocations: 302.8 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.01618, allocations: 75.58 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.01625, allocations: 79.62 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.0164, allocations: 0.5117 MB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.01647, allocations: 36.62 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.01662, allocations: 227.2 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.01687, allocations: 281 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01687, allocations: 4 kB / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003051/0.01718, allocations: 276.9 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.0172, allocations: 8 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.0172, allocations: 8.547 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01722, allocations: 8 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.01739, allocations: 71.91 kB / 385.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.0174, allocations: 15.88 kB / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-05/0.01749, allocations: 15.98 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.0175, allocations: 16 kB / 385.8 MB, free: 10.57 MB / 362.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 9.733e-05/0.0176, allocations: 176.5 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.01764, allocations: 31.81 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.01784, allocations: 158.3 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.01784, allocations: 8 kB / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01785, allocations: 3.938 kB / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01785, allocations: 0 / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.01836, allocations: 0.5281 MB / 386.6 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01836, allocations: 4 kB / 386.7 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.01849, allocations: 39.92 kB / 386.7 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01849, allocations: 4 kB / 386.7 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.01851, allocations: 11.92 kB / 386.7 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01851, allocations: 0 / 386.7 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01851, allocations: 32 / 386.7 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.01884, allocations: 482.2 kB / 387.2 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.01886, allocations: 27.75 kB / 387.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.01889, allocations: 7.938 kB / 387.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.01898, allocations: 11.92 kB / 387.2 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.01902, allocations: 11.98 kB / 387.2 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.01903, allocations: 8 kB / 387.2 MB, free: 8.988 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.01915, allocations: 219 kB / 387.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01915, allocations: 0 / 387.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.01941, allocations: 72 kB / 387.5 MB, free: 8.707 MB / 362.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 9.208e-05/0.01951, allocations: 99.25 kB / 387.6 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.01972, allocations: 151.4 kB / 387.8 MB, free: 8.449 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01972, allocations: 0 / 387.8 MB, free: 8.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.0198, allocations: 75.31 kB / 387.8 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.0202, allocations: 81.39 kB / 387.9 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.02161, allocations: 0.8094 MB / 388.7 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.043e-05/0.02168, allocations: 116.6 kB / 388.9 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.02179, allocations: 42.95 kB / 388.9 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.02183, allocations: 28.5 kB / 388.9 MB, free: 7.242 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02184, allocations: 0 / 388.9 MB, free: 7.242 MB / 362.7 MB Notification: Performance of Templates: time 0.005132/0.02697, allocations: 2.99 MB / 391.9 MB, free: 4.324 MB / 362.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0167156259994954]