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.001061/0.001061, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001021/0.001021, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9117/0.9117, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.1365/0.1365, allocations: 29.42 MB / 292 MB, free: 2.621 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.633e-06/1.633e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.709e-05, allocations: 8.922 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.01278/0.01281, allocations: 4.554 MB / 375.4 MB, free: 27.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.01475, allocations: 1.456 MB / 376.9 MB, free: 26.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.01501, allocations: 23.81 kB / 376.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.01533, allocations: 99.19 kB / 377 MB, free: 26.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.01583, allocations: 282.1 kB / 377.3 MB, free: 25.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.01609, allocations: 131.7 kB / 377.4 MB, free: 25.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.01657, allocations: 0.6108 MB / 378 MB, free: 25.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.01688, allocations: 295.4 kB / 378.3 MB, free: 24.85 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.01723, allocations: 359.2 kB / 378.7 MB, free: 24.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.01746, allocations: 203.4 kB / 378.9 MB, free: 24.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.01749, allocations: 40 kB / 378.9 MB, free: 24.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/0.01754, allocations: 39.94 kB / 378.9 MB, free: 24.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.01761, allocations: 135.6 kB / 379.1 MB, free: 24.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.01771, allocations: 155.7 kB / 379.2 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.01797, allocations: 318.9 kB / 379.5 MB, free: 23.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01797, allocations: 0 / 379.5 MB, free: 23.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01798, allocations: 0 / 379.5 MB, free: 23.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.01798, allocations: 4 kB / 379.5 MB, free: 23.62 MB / 314.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.0006701/0.01865, allocations: 0.7427 MB / 380.3 MB, free: 22.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.01869, allocations: 8.031 kB / 380.3 MB, free: 22.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.01877, allocations: 80.66 kB / 380.4 MB, free: 22.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.01915, allocations: 362.8 kB / 380.7 MB, free: 22.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/0.01922, allocations: 80.97 kB / 380.8 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.01926, allocations: 44.12 kB / 380.8 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.01953, allocations: 345.2 kB / 381.2 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.01955, allocations: 7.891 kB / 381.2 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.01957, allocations: 16 kB / 381.2 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.01958, allocations: 8 kB / 381.2 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.0197, allocations: 112.4 kB / 381.3 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.02082, allocations: 2.032 MB / 383.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.02097, allocations: 153 kB / 383.5 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.02101, allocations: 51.17 kB / 383.6 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.02103, allocations: 4 kB / 383.6 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.02105, allocations: 49.36 kB / 383.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.754e-06/0.02105, allocations: 0 / 383.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005147/0.02157, allocations: 387.3 kB / 384 MB, free: 18.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.0216, allocations: 110.8 kB / 384.1 MB, free: 18.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.02175, allocations: 338 kB / 384.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.02176, allocations: 25.7 kB / 384.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.02187, allocations: 306.7 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.02192, allocations: 75.38 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.02198, allocations: 71.59 kB / 384.9 MB, free: 17.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.02204, allocations: 0.5195 MB / 385.4 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/0.02208, allocations: 32.88 kB / 385.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.65e-05/0.02217, allocations: 211.2 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.02232, allocations: 268.9 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.02233, allocations: 0 / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002195/0.02255, allocations: 257 kB / 386.2 MB, free: 16.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.02256, allocations: 8 kB / 386.2 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.02257, allocations: 7.984 kB / 386.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.02258, allocations: 8 kB / 386.2 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.02274, allocations: 72.41 kB / 386.3 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.02275, allocations: 15.94 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.02284, allocations: 12 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.02285, allocations: 12 kB / 386.3 MB, free: 16.29 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 8.468e-05/0.02294, allocations: 188.4 kB / 386.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.02298, allocations: 35.81 kB / 386.5 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.02314, allocations: 139.8 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.02314, allocations: 0 / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.02314, allocations: 7.938 kB / 386.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.02315, allocations: 0 / 386.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.02351, allocations: 483.5 kB / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.02351, allocations: 0 / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.02364, allocations: 39.92 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.02364, allocations: 0 / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.02365, allocations: 12 kB / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.02366, allocations: 7.938 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02366, allocations: 0 / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.02389, allocations: 468.2 kB / 387.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.02391, allocations: 27.81 kB / 387.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.02393, allocations: 8.031 kB / 387.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.02402, allocations: 7.938 kB / 387.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.02406, allocations: 24 kB / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.02407, allocations: 4 kB / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.486e-05/0.02413, allocations: 206.9 kB / 387.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02413, allocations: 0 / 387.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.02438, allocations: 72 kB / 388 MB, free: 14.52 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 8.273e-05/0.02447, allocations: 107.1 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.02463, allocations: 135.4 kB / 388.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02463, allocations: 3.938 kB / 388.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.02469, allocations: 55.59 kB / 388.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.02508, allocations: 83.39 kB / 388.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.02634, allocations: 0.8145 MB / 389.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.776e-05/0.0264, allocations: 112.8 kB / 389.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.0265, allocations: 38.95 kB / 389.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.02662, allocations: 138.2 kB / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.02662, allocations: 0 / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of Templates: time 0.005229/0.03185, allocations: 3.317 MB / 392.8 MB, free: 9.723 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.1118128849193454]