Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.002463/0.002463, allocations: 91.62 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.003004/0.003004, allocations: 161.3 kB / 24.27 MB, free: 156 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.65/1.65, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.305/0.305, allocations: 29.41 MB / 290.5 MB, free: 2.414 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.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.57e-05, allocations: 6.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.008276/0.008302, allocations: 5.274 MB / 374.1 MB, free: 6.016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004084/0.01239, allocations: 2.087 MB / 376.2 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.0127, allocations: 19.81 kB / 376.3 MB, free: 3.902 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005683/0.01326, allocations: 146.8 kB / 376.4 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.01431, allocations: 417.3 kB / 376.8 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.01486, allocations: 219.4 kB / 377 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.01612, allocations: 0.7237 MB / 377.7 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005243/0.01665, allocations: 348 kB / 378.1 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007113/0.01736, allocations: 438.8 kB / 378.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.01784, allocations: 251.3 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.172e-05/0.01793, allocations: 48 kB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.01821, allocations: 135.9 kB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.01841, allocations: 163.5 kB / 379.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.01867, allocations: 179.5 kB / 379.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.01975, allocations: 0.7125 MB / 380 MB, free: 164 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.01975, allocations: 4 kB / 380 MB, free: 160 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01976, allocations: 0 / 380 MB, free: 160 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.01977, allocations: 0 / 380 MB, free: 160 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001932/0.0217, allocations: 0.9366 MB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.02174, allocations: 15.98 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.02192, allocations: 88.56 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008766/0.0228, allocations: 450 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.02284, allocations: 33.12 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.02292, allocations: 36 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.02373, allocations: 482 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.02375, allocations: 0 / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.02379, allocations: 16 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.02381, allocations: 12 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.02427, allocations: 218.3 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.02716, allocations: 2.204 MB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008388/0.028, allocations: 256.3 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.02815, allocations: 75.17 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.0282, allocations: 11.98 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.02854, allocations: 190.7 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.814e-06/0.02854, allocations: 4 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001887/0.03043, allocations: 0.8302 MB / 385.8 MB, free: 10 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.03055, allocations: 136.5 kB / 385.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/0.03121, allocations: 0.5142 MB / 386.4 MB, free: 9.309 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.03125, allocations: 29.7 kB / 386.5 MB, free: 9.273 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.03156, allocations: 342.9 kB / 386.8 MB, free: 8.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.03167, allocations: 107.3 kB / 386.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.03181, allocations: 87.56 kB / 387 MB, free: 8.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000343/0.03215, allocations: 0.5547 MB / 387.6 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.03231, allocations: 67.97 kB / 387.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.03268, allocations: 287.7 kB / 387.9 MB, free: 7.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.03321, allocations: 358 kB / 388.3 MB, free: 7.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.03322, allocations: 4 kB / 388.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009622/0.03418, allocations: 424.3 kB / 388.7 MB, free: 6.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.03421, allocations: 12.52 kB / 388.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.03422, allocations: 4 kB / 388.7 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/0.03481, allocations: 115.6 kB / 388.8 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.03505, allocations: 55.92 kB / 388.9 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.03808, allocations: 2.47 MB / 391.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.03834, allocations: 15.98 kB / 391.3 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.03838, allocations: 19.98 kB / 391.4 MB, free: 4.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005638/0.03894, allocations: 220.4 kB / 391.6 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/0.03904, allocations: 55.66 kB / 391.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006763/0.03972, allocations: 285 kB / 391.9 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.03972, allocations: 4 kB / 391.9 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.03972, allocations: 0 / 391.9 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.03973, allocations: 3.938 kB / 391.9 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.04107, allocations: 0.7784 MB / 392.7 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.04107, allocations: 4 kB / 392.7 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.04132, allocations: 39.97 kB / 392.7 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/0.04155, allocations: 59.58 kB / 392.8 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.04158, allocations: 8 kB / 392.8 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.04343, allocations: 1.92 MB / 394.7 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.04343, allocations: 0 / 394.7 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/0.04432, allocations: 0.5359 MB / 395.3 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.04447, allocations: 59.72 kB / 395.3 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.04452, allocations: 4 kB / 395.3 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.04472, allocations: 15.94 kB / 395.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.04481, allocations: 23.95 kB / 395.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.04483, allocations: 12 kB / 395.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004129/0.04524, allocations: 323.1 kB / 395.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04524, allocations: 4 kB / 395.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000585/0.04583, allocations: 123.9 kB / 395.8 MB, free: 15.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002935/0.04876, allocations: 480.3 kB / 396.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.04978, allocations: 470 kB / 396.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.04979, allocations: 0 / 396.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004829/0.05027, allocations: 301.3 kB / 397 MB, free: 14.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.05095, allocations: 132.3 kB / 397.2 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.05296, allocations: 0.9856 MB / 398.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.05328, allocations: 251.9 kB / 398.4 MB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.05349, allocations: 63.23 kB / 398.5 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-05/0.05359, allocations: 36.5 kB / 398.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.05359, allocations: 0 / 398.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of Templates: time 0.01436/0.06795, allocations: 6.439 MB / 404.9 MB, free: 6.461 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.213373093050905]