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.001055/0.001055, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001214/0.001214, allocations: 169 kB / 24.91 MB, free: 8.723 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 4.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.1269/0.1269, allocations: 29.43 MB / 291.2 MB, free: 2.684 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 2.365e-06/2.365e-06, allocations: 3.984 kB / 316.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.39e-05, allocations: 2.312 kB / 316.8 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004691/0.004715, allocations: 4.574 MB / 321.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.006876, allocations: 1.483 MB / 322.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.007184, allocations: 23.81 kB / 322.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.007536, allocations: 119 kB / 323 MB, free: 2.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006786/0.008215, allocations: 266.2 kB / 323.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.008561, allocations: 135.7 kB / 323.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006747/0.009236, allocations: 0.6069 MB / 324 MB, free: 1.816 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.009579, allocations: 309.3 kB / 324.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000451/0.01003, allocations: 355.1 kB / 324.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.01031, allocations: 199.4 kB / 324.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.01036, allocations: 40 kB / 324.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.965e-05/0.01041, allocations: 40 kB / 325 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.01051, allocations: 127.6 kB / 325.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.01065, allocations: 159.6 kB / 325.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.01101, allocations: 322.9 kB / 325.6 MB, free: 300 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01101, allocations: 0 / 325.6 MB, free: 300 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01101, allocations: 0 / 325.6 MB, free: 300 kB / 298.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.01102, allocations: 0 / 325.6 MB, free: 300 kB / 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.0007604/0.01178, allocations: 0.6103 MB / 326.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.01182, allocations: 12.03 kB / 326.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.15e-05/0.0119, allocations: 60.89 kB / 326.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.0123, allocations: 325.3 kB / 326.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.471e-05/0.01238, allocations: 80.97 kB / 326.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.01243, allocations: 40.08 kB / 326.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.01276, allocations: 324.9 kB / 327 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.01278, allocations: 0 / 327 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.0128, allocations: 16 kB / 327 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.01281, allocations: 8 kB / 327 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.01296, allocations: 104.4 kB / 327.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.01426, allocations: 1.465 MB / 328.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.01443, allocations: 170.4 kB / 328.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.01448, allocations: 45.3 kB / 328.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.0145, allocations: 4 kB / 328.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.01453, allocations: 34.56 kB / 328.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 2.434e-06/0.01453, allocations: 0 / 328.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006056/0.01513, allocations: 351.2 kB / 329.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.01518, allocations: 106.8 kB / 329.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.01535, allocations: 278.8 kB / 329.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.01537, allocations: 33.95 kB / 329.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.01546, allocations: 224.5 kB / 329.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.01551, allocations: 75.38 kB / 329.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/0.01557, allocations: 65.95 kB / 329.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.01567, allocations: 350.7 kB / 330.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.01571, allocations: 28.64 kB / 330.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.624e-05/0.01581, allocations: 165.4 kB / 330.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.016, allocations: 214.8 kB / 330.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.016, allocations: 0 / 330.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002251/0.01623, allocations: 216.9 kB / 330.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01624, allocations: 4 kB / 330.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.01625, allocations: 4 kB / 330.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.01627, allocations: 11.94 kB / 330.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.01644, allocations: 75.91 kB / 331 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.01645, allocations: 11.97 kB / 331 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.01654, allocations: 12 kB / 331 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.01655, allocations: 8 kB / 331 MB, free: 10.38 MB / 314.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.0001237/0.01667, allocations: 144.4 kB / 331.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.01671, allocations: 28 kB / 331.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.01687, allocations: 119.8 kB / 331.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.01688, allocations: 4 kB / 331.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01688, allocations: 4 kB / 331.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.01688, allocations: 3.938 kB / 331.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.0173, allocations: 447.6 kB / 331.7 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.0173, allocations: 0 / 331.7 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.01743, allocations: 39.97 kB / 331.8 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01744, allocations: 0 / 331.8 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01745, allocations: 12.03 kB / 331.8 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01745, allocations: 0 / 331.8 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01745, allocations: 4 kB / 331.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.01774, allocations: 435 kB / 332.2 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.01777, allocations: 27.84 kB / 332.3 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.01779, allocations: 7.984 kB / 332.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.01788, allocations: 4 kB / 332.3 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.01793, allocations: 19.83 kB / 332.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.01794, allocations: 7.984 kB / 332.3 MB, free: 9.027 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.331e-05/0.01801, allocations: 96.62 kB / 332.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01801, allocations: 4 kB / 332.4 MB, free: 8.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000239/0.01825, allocations: 68 kB / 332.5 MB, free: 8.863 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 0.0001049/0.01835, allocations: 84.36 kB / 332.5 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.01852, allocations: 129.3 kB / 332.7 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.01854, allocations: 384 / 332.7 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/0.01861, allocations: 64.7 kB / 332.7 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.01896, allocations: 79.3 kB / 332.8 MB, free: 8.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.02031, allocations: 0.7514 MB / 333.6 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.767e-05/0.02039, allocations: 108.6 kB / 333.7 MB, free: 7.582 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.0205, allocations: 42.94 kB / 333.7 MB, free: 7.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.02064, allocations: 107.3 kB / 333.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.232e-06/0.02064, allocations: 0 / 333.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of Templates: time 0.006227/0.02686, allocations: 3.272 MB / 337.1 MB, free: 4.234 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2072635320946574]