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.001051/0.001051, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001792/0.001792, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9891/0.9891, allocations: 177.1 MB / 205 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.2298/0.2298, allocations: 29.41 MB / 290.9 MB, free: 2.523 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.904e-06/1.904e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.856e-05, allocations: 6.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.005786/0.005814, allocations: 4.582 MB / 374.2 MB, free: 6.395 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.007729, allocations: 1.464 MB / 375.7 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.007986, allocations: 23.81 kB / 375.7 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.008362, allocations: 107.1 kB / 375.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006536/0.009016, allocations: 266.2 kB / 376.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.009362, allocations: 143.7 kB / 376.2 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000632/0.009994, allocations: 0.6069 MB / 376.8 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.01033, allocations: 303.4 kB / 377.1 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003831/0.01071, allocations: 355.2 kB / 377.5 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.01098, allocations: 207.4 kB / 377.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.01102, allocations: 40 kB / 377.7 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.534e-05/0.01108, allocations: 36 kB / 377.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.559e-05/0.01117, allocations: 131.6 kB / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.0113, allocations: 155.6 kB / 378 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.01165, allocations: 318.8 kB / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01165, allocations: 0 / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01165, allocations: 0 / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.01166, allocations: 0 / 378.3 MB, free: 2.27 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.0009335/0.0126, allocations: 0.7506 MB / 379.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.01264, allocations: 11.98 kB / 379.1 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.01274, allocations: 76.66 kB / 379.2 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.01316, allocations: 370.8 kB / 379.5 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.559e-05/0.01324, allocations: 84.95 kB / 379.6 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.01329, allocations: 44.08 kB / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.01369, allocations: 361.3 kB / 380 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.01371, allocations: 4 kB / 380 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.01374, allocations: 16 kB / 380 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.01375, allocations: 8 kB / 380 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.01395, allocations: 139.7 kB / 380.2 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.01551, allocations: 2.033 MB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.01572, allocations: 161.1 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.01579, allocations: 59.16 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.0158, allocations: 4 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.01583, allocations: 41.33 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.01584, allocations: 0 / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007879/0.01662, allocations: 0.55 MB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.01667, allocations: 114.8 kB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.01689, allocations: 346 kB / 383.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.01691, allocations: 29.7 kB / 383.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.01706, allocations: 294.8 kB / 383.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.0171, allocations: 75.38 kB / 383.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.01717, allocations: 71.64 kB / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.01733, allocations: 0.5156 MB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.01739, allocations: 32.64 kB / 384.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.01753, allocations: 231.2 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.01783, allocations: 281 kB / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01783, allocations: 4 kB / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003025/0.01814, allocations: 277.2 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.01815, allocations: 8 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01816, allocations: 4 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.01818, allocations: 4 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.01835, allocations: 75.89 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.01836, allocations: 15.88 kB / 385.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.01845, allocations: 12.34 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.01846, allocations: 16 kB / 385.4 MB, free: 10.65 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 0.0001061/0.01857, allocations: 180.5 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.01861, allocations: 31.81 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.0188, allocations: 158.9 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01881, allocations: 8 kB / 385.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01881, allocations: 3.938 kB / 385.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.01882, allocations: 3.984 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.01931, allocations: 0.5242 MB / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.01931, allocations: 4 kB / 386.3 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.01944, allocations: 51.98 kB / 386.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01944, allocations: 0 / 386.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.01946, allocations: 7.938 kB / 386.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.01946, allocations: 3.938 kB / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01946, allocations: 0 / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.01994, allocations: 478.2 kB / 386.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.01997, allocations: 27.8 kB / 386.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.01999, allocations: 7.938 kB / 386.8 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.02007, allocations: 4 kB / 386.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.02013, allocations: 27.84 kB / 386.9 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.02014, allocations: 8 kB / 386.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.02026, allocations: 215 kB / 387.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02026, allocations: 0 / 387.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.02051, allocations: 72 kB / 387.2 MB, free: 8.77 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 8.929e-05/0.0206, allocations: 99.19 kB / 387.3 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.02082, allocations: 155.9 kB / 387.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02083, allocations: 0 / 387.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.0209, allocations: 67.59 kB / 387.5 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.02128, allocations: 77.67 kB / 387.6 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.02273, allocations: 0.8171 MB / 388.4 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.109e-05/0.0228, allocations: 112.6 kB / 388.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.02291, allocations: 42.95 kB / 388.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.02297, allocations: 28.5 kB / 388.6 MB, free: 7.305 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02297, allocations: 0 / 388.6 MB, free: 7.305 MB / 362.7 MB Notification: Performance of Templates: time 0.006078/0.02905, allocations: 3.161 MB / 391.7 MB, free: 4.219 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: 2.980889532249421]