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.0009866/0.0009866, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00127/0.00127, allocations: 161 kB / 24.56 MB, free: 16 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 1.04/1.04, allocations: 177.1 MB / 205 MB, free: 5.633 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.2457/0.2457, allocations: 29.42 MB / 290.9 MB, free: 2.441 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.543e-06/1.543e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.958e-05, allocations: 5.125 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004909/0.004938, allocations: 4.59 MB / 374.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.00663, allocations: 1.46 MB / 375.7 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.006809, allocations: 19.81 kB / 375.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.007109, allocations: 103.1 kB / 375.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004354/0.007545, allocations: 270.2 kB / 376.1 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.007764, allocations: 147.6 kB / 376.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.008294, allocations: 0.6069 MB / 376.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003364/0.00863, allocations: 299.4 kB / 377.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.008936, allocations: 347.2 kB / 377.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.009189, allocations: 207.4 kB / 377.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.009232, allocations: 40 kB / 377.7 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.326e-05/0.009285, allocations: 40 kB / 377.7 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.009384, allocations: 131.6 kB / 377.9 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.00953, allocations: 155.6 kB / 378 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.009845, allocations: 318.9 kB / 378.3 MB, free: 2.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.009847, allocations: 0 / 378.3 MB, free: 2.246 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.009848, allocations: 0 / 378.3 MB, free: 2.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.009855, allocations: 3.938 kB / 378.3 MB, free: 2.242 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.0007963/0.01065, allocations: 0.7506 MB / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.01069, allocations: 11.98 kB / 379.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.01078, allocations: 72.66 kB / 379.2 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.01117, allocations: 370.8 kB / 379.5 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.01125, allocations: 80.97 kB / 379.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.0113, allocations: 48.02 kB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.0117, allocations: 361.3 kB / 380 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01171, allocations: 4 kB / 380 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.01174, allocations: 16 kB / 380 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.01175, allocations: 8 kB / 380 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.01195, allocations: 143.7 kB / 380.2 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.01382, allocations: 2.036 MB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.01404, allocations: 161.1 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.01411, allocations: 59.17 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.01413, allocations: 4 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.01416, allocations: 37.61 kB / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/0.01416, allocations: 7.938 kB / 382.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.000843/0.01501, allocations: 0.5462 MB / 383 MB, free: 13.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.01505, allocations: 114.8 kB / 383.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.01529, allocations: 338.1 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.01531, allocations: 29.7 kB / 383.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.01546, allocations: 298.8 kB / 383.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.0155, allocations: 71.39 kB / 383.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.01558, allocations: 75.62 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.01573, allocations: 0.5117 MB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.01579, allocations: 40.62 kB / 384.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.01595, allocations: 230.3 kB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.01619, allocations: 280.8 kB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01619, allocations: 0 / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003024/0.01649, allocations: 277.2 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.01654, allocations: 11.98 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01655, allocations: 4 kB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.01657, allocations: 8 kB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.01675, allocations: 71.91 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.01676, allocations: 15.88 kB / 385.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.01687, allocations: 11.94 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.01688, allocations: 20.31 kB / 385.4 MB, free: 10.62 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.0001205/0.017, allocations: 176.5 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.01705, allocations: 35.81 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.01727, allocations: 158.8 kB / 385.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01727, allocations: 0 / 385.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.01728, allocations: 11.94 kB / 385.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01729, allocations: 0 / 385.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.01787, allocations: 0.532 MB / 386.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01788, allocations: 0 / 386.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.01801, allocations: 44.02 kB / 386.3 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01801, allocations: 0 / 386.3 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.01803, allocations: 7.938 kB / 386.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01803, allocations: 0 / 386.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.01804, allocations: 11.92 kB / 386.4 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.01838, allocations: 474.2 kB / 386.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.01841, allocations: 31.69 kB / 386.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.01844, allocations: 11.94 kB / 386.9 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.01852, allocations: 0 / 386.9 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.01857, allocations: 23.97 kB / 386.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.01859, allocations: 4 kB / 386.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.01871, allocations: 222.9 kB / 387.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01871, allocations: 0 / 387.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002841/0.01899, allocations: 68 kB / 387.2 MB, free: 8.742 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.0001116/0.01911, allocations: 103.2 kB / 387.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.01936, allocations: 152.2 kB / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01936, allocations: 0 / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.01944, allocations: 67.59 kB / 387.5 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.01988, allocations: 80.75 kB / 387.6 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.02158, allocations: 0.8137 MB / 388.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.629e-05/0.02165, allocations: 112.6 kB / 388.5 MB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.02177, allocations: 46.94 kB / 388.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.02183, allocations: 24.5 kB / 388.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.02183, allocations: 0 / 388.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of Templates: time 0.005419/0.02725, allocations: 2.984 MB / 391.5 MB, free: 4.363 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.169724438339472]