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.002044/0.002044, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002156/0.002156, allocations: 165.3 kB / 24.28 MB, free: 152 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.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3008/0.3008, allocations: 29.41 MB / 290.5 MB, free: 2.406 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.274e-06/2.274e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.298e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.008011/0.008044, allocations: 4.914 MB / 373.8 MB, free: 6.367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.01072, allocations: 1.449 MB / 375.2 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.01094, allocations: 27.75 kB / 375.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.01133, allocations: 103.2 kB / 375.4 MB, free: 4.785 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000717/0.01204, allocations: 270.2 kB / 375.6 MB, free: 4.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.01239, allocations: 147.6 kB / 375.8 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008671/0.01326, allocations: 0.603 MB / 376.4 MB, free: 3.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/0.01373, allocations: 303.4 kB / 376.7 MB, free: 3.473 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005398/0.01427, allocations: 355.1 kB / 377 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004208/0.01469, allocations: 207.4 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-05/0.01477, allocations: 40 kB / 377.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.01486, allocations: 40 kB / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.01504, allocations: 135.6 kB / 377.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.01526, allocations: 155.7 kB / 377.6 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007625/0.01603, allocations: 0.5063 MB / 378.1 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01603, allocations: 0 / 378.1 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01603, allocations: 3.938 kB / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.01604, allocations: 0 / 378.1 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.001484/0.01753, allocations: 0.7776 MB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.01757, allocations: 15.97 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.01772, allocations: 76.66 kB / 379 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.01845, allocations: 370.8 kB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.01856, allocations: 76.97 kB / 379.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/0.01864, allocations: 48.02 kB / 379.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/0.01952, allocations: 432.6 kB / 379.9 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.01954, allocations: 4 kB / 379.9 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.01959, allocations: 19.98 kB / 379.9 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.0196, allocations: 8 kB / 379.9 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.02009, allocations: 206.4 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.02291, allocations: 2.166 MB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.02331, allocations: 205.2 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.02347, allocations: 71.33 kB / 382.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.0235, allocations: 4 kB / 382.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.02354, allocations: 45.27 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.02355, allocations: 0 / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.00145/0.025, allocations: 0.6324 MB / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.02511, allocations: 111.1 kB / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.02563, allocations: 406.1 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.02568, allocations: 33.7 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.026, allocations: 310.8 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.0261, allocations: 75.38 kB / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.02626, allocations: 87.62 kB / 384.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003323/0.0266, allocations: 0.5313 MB / 384.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.02676, allocations: 68.62 kB / 384.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.02711, allocations: 263.2 kB / 385.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.02764, allocations: 349.1 kB / 385.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02764, allocations: 0 / 385.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006292/0.02827, allocations: 333.2 kB / 385.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.02829, allocations: 6.656 kB / 385.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.0283, allocations: 7.984 kB / 385.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.02833, allocations: 8 kB / 385.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.02863, allocations: 75.91 kB / 385.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.02865, allocations: 11.88 kB / 385.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.02882, allocations: 12.34 kB / 385.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.02885, allocations: 20 kB / 385.9 MB, free: 9.699 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.0002381/0.02909, allocations: 204.5 kB / 386.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.777e-05/0.02919, allocations: 35.81 kB / 386.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/0.02962, allocations: 187.8 kB / 386.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.02962, allocations: 7.938 kB / 386.3 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.02963, allocations: 3.938 kB / 386.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.02963, allocations: 0 / 386.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.03086, allocations: 0.6297 MB / 386.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.03087, allocations: 0 / 386.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.03111, allocations: 40.02 kB / 387 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.03112, allocations: 3.984 kB / 387 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.03115, allocations: 15.94 kB / 387 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.03115, allocations: 0 / 387 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.03115, allocations: 7.938 kB / 387 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.03185, allocations: 0.5242 MB / 387.5 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.03191, allocations: 31.75 kB / 387.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.03195, allocations: 7.938 kB / 387.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.03212, allocations: 8 kB / 387.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.03219, allocations: 15.97 kB / 387.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.0322, allocations: 11.94 kB / 387.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002629/0.03247, allocations: 255 kB / 387.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03247, allocations: 0 / 387.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004088/0.03288, allocations: 68 kB / 387.9 MB, free: 7.562 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.0001352/0.03301, allocations: 99.23 kB / 388 MB, free: 7.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.03346, allocations: 211.6 kB / 388.2 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.03347, allocations: 0 / 388.2 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.03365, allocations: 89.62 kB / 388.3 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.0343, allocations: 77.75 kB / 388.4 MB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.0359, allocations: 0.7979 MB / 389.2 MB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.03616, allocations: 210.5 kB / 389.4 MB, free: 6.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.03632, allocations: 42.95 kB / 389.4 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.03639, allocations: 24.5 kB / 389.5 MB, free: 5.957 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03639, allocations: 4 kB / 389.5 MB, free: 5.953 MB / 362.7 MB Notification: Performance of Templates: time 0.007925/0.04431, allocations: 2.978 MB / 392.4 MB, free: 3.043 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: 4.80911810696125]