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.0006835/0.0006835, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009623/0.001646, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006921/0.0006921, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009323/0.001624, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8969/0.8969, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0778/0.9747, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.1305/0.1305, allocations: 29.42 MB / 273.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1263/0.2567, allocations: 9.532 MB / 283.1 MB, free: 12.81 MB / 282.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.232e-06/1.232e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.937e-06/1.017e-05, allocations: 2.969 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004909/0.004919, allocations: 4.677 MB / 289.1 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.006946, allocations: 1.489 MB / 290.6 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.007152, allocations: 27.44 kB / 290.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.007397, allocations: 108 kB / 290.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.007791, allocations: 266.8 kB / 291 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.008024, allocations: 151.6 kB / 291.1 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.008565, allocations: 0.5933 MB / 291.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004446/0.00901, allocations: 306.9 kB / 292 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.00942, allocations: 364.7 kB / 292.4 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.00969, allocations: 200.4 kB / 292.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.929e-05/0.009739, allocations: 38.19 kB / 292.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.009816, allocations: 39.72 kB / 292.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.009905, allocations: 113.8 kB / 292.8 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.01002, allocations: 134.2 kB / 292.9 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.01033, allocations: 306 kB / 293.2 MB, free: 5.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.01033, allocations: 0 / 293.2 MB, free: 5.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01033, allocations: 0 / 293.2 MB, free: 5.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.01035, allocations: 0 / 293.2 MB, free: 5.492 MB / 282.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.0007009/0.01105, allocations: 0.6984 MB / 293.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.422e-05/0.01107, allocations: 11.38 kB / 293.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.352e-05/0.01114, allocations: 56.98 kB / 293.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.01149, allocations: 325.6 kB / 294.3 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.01155, allocations: 82.61 kB / 294.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.01159, allocations: 42.48 kB / 294.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.01187, allocations: 321 kB / 294.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.01188, allocations: 7.953 kB / 294.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.0119, allocations: 12 kB / 294.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01191, allocations: 8 kB / 294.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.01203, allocations: 108.3 kB / 294.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009973/0.01303, allocations: 1.472 MB / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.01316, allocations: 166.4 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.0132, allocations: 39.89 kB / 296.5 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.01344, allocations: 7.938 kB / 296.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.01346, allocations: 34.56 kB / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.01346, allocations: 0 / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004692/0.01393, allocations: 359.8 kB / 296.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.01397, allocations: 106.8 kB / 297 MB, free: 1.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.0141, allocations: 270.8 kB / 297.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.01411, allocations: 33.7 kB / 297.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.01419, allocations: 224.5 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.01422, allocations: 79.3 kB / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.01428, allocations: 65.95 kB / 297.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.01435, allocations: 346.7 kB / 298 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.01438, allocations: 24.64 kB / 298 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.01446, allocations: 162.1 kB / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.01461, allocations: 239.5 kB / 298.4 MB, free: 212 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01461, allocations: 4 kB / 298.4 MB, free: 208 kB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001805/0.01479, allocations: 210.4 kB / 298.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.0148, allocations: 4 kB / 298.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01481, allocations: 8 kB / 298.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.01482, allocations: 4 kB / 298.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.01499, allocations: 88.38 kB / 298.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.015, allocations: 11.94 kB / 298.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.01507, allocations: 15.98 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.01509, allocations: 16 kB / 298.8 MB, free: 15.85 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 7.329e-05/0.01516, allocations: 128.5 kB / 298.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.0152, allocations: 23.98 kB / 298.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.01531, allocations: 121.6 kB / 299 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01532, allocations: 4 kB / 299 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.01532, allocations: 0 / 299 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01532, allocations: 4 kB / 299 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.01566, allocations: 452.7 kB / 299.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01567, allocations: 4 kB / 299.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.01579, allocations: 51.91 kB / 299.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.01582, allocations: 31.78 kB / 299.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01582, allocations: 0 / 299.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01583, allocations: 4 kB / 299.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01583, allocations: 0 / 299.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01583, allocations: 0 / 299.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.01604, allocations: 436.7 kB / 300 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.01606, allocations: 12.03 kB / 300 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.01614, allocations: 8 kB / 300 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.01617, allocations: 15.91 kB / 300 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.01618, allocations: 8 kB / 300.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.556e-05/0.01623, allocations: 92.62 kB / 300.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01623, allocations: 0 / 300.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000214/0.01645, allocations: 72 kB / 300.2 MB, free: 14.34 MB / 298.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 5.838e-05/0.01651, allocations: 80.36 kB / 300.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01665, allocations: 140.5 kB / 300.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.01666, allocations: 7.984 kB / 300.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.583e-05/0.01673, allocations: 62.56 kB / 300.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.01718, allocations: 0.6477 MB / 301.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/0.02314, allocations: 0.752 MB / 301.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.432e-05/0.0232, allocations: 108.6 kB / 302 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.02331, allocations: 46.98 kB / 302 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.02343, allocations: 107.3 kB / 302.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02343, allocations: 4 kB / 302.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of Templates: time 0.005303/0.02874, allocations: 3.301 MB / 305.5 MB, free: 8.988 MB / 298.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.5024641705676913]