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.001071/0.001071, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001183/0.001183, allocations: 169.6 kB / 24.82 MB, free: 9.32 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.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2694/0.2694, allocations: 29.42 MB / 291.2 MB, free: 2.477 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.683e-06/1.683e-06, allocations: 0 / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.518e-05, allocations: 5.406 kB / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.01227/0.01229, allocations: 4.551 MB / 374.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005596/0.01789, allocations: 1.448 MB / 376.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.01827, allocations: 23.81 kB / 376.1 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.01862, allocations: 103.2 kB / 376.2 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00416/0.02278, allocations: 278.1 kB / 376.5 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.02315, allocations: 135.7 kB / 376.6 MB, free: 4.188 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006859/0.02384, allocations: 0.603 MB / 377.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/0.0244, allocations: 303.4 kB / 377.5 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006263/0.02502, allocations: 363.2 kB / 377.9 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.02531, allocations: 203.4 kB / 378.1 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.02535, allocations: 40 kB / 378.1 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.233e-05/0.02541, allocations: 40 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.02551, allocations: 131.6 kB / 378.3 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.02564, allocations: 151.7 kB / 378.4 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.02607, allocations: 330.8 kB / 378.7 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.02607, allocations: 0 / 378.7 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02607, allocations: 0 / 378.7 MB, free: 2.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.02608, allocations: 4 kB / 378.8 MB, free: 2.047 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.0007409/0.02682, allocations: 0.7388 MB / 379.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.02686, allocations: 15.98 kB / 379.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.02694, allocations: 72.66 kB / 379.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.0273, allocations: 358.8 kB / 379.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.02737, allocations: 88.95 kB / 380 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.02741, allocations: 44.08 kB / 380.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.02772, allocations: 345.2 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.02773, allocations: 4 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.02776, allocations: 12 kB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.02776, allocations: 11.94 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.0279, allocations: 112.4 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.02927, allocations: 2.029 MB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.02943, allocations: 164.6 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.02948, allocations: 58.98 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.0295, allocations: 4 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.02953, allocations: 37.39 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.02953, allocations: 4 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005578/0.03009, allocations: 388.5 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.03014, allocations: 106.8 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.03033, allocations: 338 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.03035, allocations: 29.7 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.03049, allocations: 302.8 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.03053, allocations: 71.38 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.0306, allocations: 71.61 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.03076, allocations: 0.5197 MB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.03081, allocations: 40.56 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.03094, allocations: 211.2 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.03114, allocations: 269 kB / 385.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.03114, allocations: 0 / 385.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002324/0.03138, allocations: 256.9 kB / 385.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.03139, allocations: 8 kB / 385.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.0314, allocations: 4 kB / 385.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.03141, allocations: 4.562 kB / 385.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.03157, allocations: 91.83 kB / 385.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.03157, allocations: 11.94 kB / 385.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.03165, allocations: 8 kB / 385.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.03167, allocations: 16 kB / 385.5 MB, free: 10.71 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.000101/0.03177, allocations: 172.5 kB / 385.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.03182, allocations: 43.75 kB / 385.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.03196, allocations: 135.8 kB / 385.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.03197, allocations: 4 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.03197, allocations: 3.938 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.03198, allocations: 7.984 kB / 385.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.03239, allocations: 471.9 kB / 386.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.03239, allocations: 4 kB / 386.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.0325, allocations: 47.91 kB / 386.4 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.03251, allocations: 0 / 386.4 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.03252, allocations: 8 kB / 386.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.03252, allocations: 7.875 kB / 386.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.03252, allocations: 0 / 386.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.03282, allocations: 466.2 kB / 386.9 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.03285, allocations: 27.8 kB / 386.9 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.03287, allocations: 4 kB / 386.9 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.03295, allocations: 11.94 kB / 386.9 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.033, allocations: 11.97 kB / 386.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.033, allocations: 8 kB / 386.9 MB, free: 9.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.03311, allocations: 210.9 kB / 387.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03311, allocations: 0 / 387.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000268/0.03338, allocations: 68 kB / 387.2 MB, free: 8.953 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 0.0001125/0.03349, allocations: 111.1 kB / 387.3 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.03367, allocations: 135.4 kB / 387.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.03368, allocations: 0 / 387.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.03375, allocations: 64.72 kB / 387.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.03414, allocations: 85.52 kB / 387.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.03555, allocations: 0.8016 MB / 388.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.571e-05/0.03562, allocations: 112.6 kB / 388.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.03574, allocations: 38.95 kB / 388.5 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.03588, allocations: 134.2 kB / 388.7 MB, free: 7.406 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.03588, allocations: 0 / 388.7 MB, free: 7.406 MB / 362.7 MB Notification: Performance of Templates: time 0.005381/0.04126, allocations: 3.271 MB / 391.9 MB, free: 4.215 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.9259797940030694]