Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.0009919/0.0009919, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.000917/0.000917, allocations: 171.1 kB / 24.82 MB, free: 8.922 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.9822/0.9822, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2532/0.2532, allocations: 29.42 MB / 291.2 MB, free: 2.484 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_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.76e-05, allocations: 9.266 kB / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005587/0.005614, allocations: 5.138 MB / 375.2 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.008158, allocations: 2.204 MB / 377.4 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.008418, allocations: 27.75 kB / 377.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004364/0.008855, allocations: 162.8 kB / 377.6 MB, free: 3.195 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007022/0.009557, allocations: 469.1 kB / 378.1 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.009925, allocations: 255.3 kB / 378.3 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000785/0.01071, allocations: 0.8872 MB / 379.2 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006377/0.01135, allocations: 405.3 kB / 379.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004665/0.01181, allocations: 0.5027 MB / 380.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.01211, allocations: 303.1 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.01217, allocations: 56 kB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.01234, allocations: 143.8 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.01248, allocations: 199.4 kB / 380.8 MB, free: 0 / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.01263, allocations: 207.5 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.01311, allocations: 0.5294 MB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.01311, allocations: 0 / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01311, allocations: 0 / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.01312, allocations: 0 / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.000936/0.01406, allocations: 0.9567 MB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.01409, allocations: 11.98 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.853e-05/0.01419, allocations: 96.56 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.01469, allocations: 474.6 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.01472, allocations: 41.06 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.01479, allocations: 47.98 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.01516, allocations: 426.5 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.01517, allocations: 3.953 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.0152, allocations: 19.98 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.01525, allocations: 17 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.0155, allocations: 138.7 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.01706, allocations: 2.124 MB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.01727, allocations: 181.2 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.01732, allocations: 55.05 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.01735, allocations: 4 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.0175, allocations: 147.1 kB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.393e-06/0.0175, allocations: 0 / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.00104/0.01854, allocations: 0.512 MB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.01859, allocations: 132.5 kB / 386.9 MB, free: 9.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.01885, allocations: 434.3 kB / 387.3 MB, free: 9.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.01887, allocations: 33.7 kB / 387.3 MB, free: 9.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.01902, allocations: 358.8 kB / 387.7 MB, free: 8.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.01907, allocations: 95.25 kB / 387.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.01915, allocations: 84.02 kB / 387.9 MB, free: 8.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01928, allocations: 0.5273 MB / 388.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.01934, allocations: 40.89 kB / 388.4 MB, free: 7.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.01948, allocations: 256.6 kB / 388.7 MB, free: 7.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.01969, allocations: 292 kB / 389 MB, free: 7.242 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.0197, allocations: 7.984 kB / 389 MB, free: 7.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004011/0.0201, allocations: 348.4 kB / 389.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.02011, allocations: 12.55 kB / 389.3 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.02012, allocations: 8 kB / 389.3 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.02037, allocations: 91.53 kB / 389.4 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.02056, allocations: 71.84 kB / 389.5 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.02201, allocations: 1.98 MB / 391.5 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.02213, allocations: 23.97 kB / 391.5 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.02215, allocations: 12 kB / 391.5 MB, free: 4.574 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: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.02228, allocations: 188.4 kB / 391.7 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.02233, allocations: 51.72 kB / 391.7 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.0226, allocations: 204.9 kB / 391.9 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.02261, allocations: 4 kB / 391.9 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.02261, allocations: 7.938 kB / 392 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.02262, allocations: 3.984 kB / 392 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.02317, allocations: 0.5664 MB / 392.5 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02318, allocations: 0 / 392.5 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.02332, allocations: 47.97 kB / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/0.02343, allocations: 35.64 kB / 392.6 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.02345, allocations: 11.98 kB / 392.6 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.02473, allocations: 1.815 MB / 394.4 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02473, allocations: 0 / 394.4 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.02507, allocations: 426.3 kB / 394.8 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.02514, allocations: 55.69 kB / 394.9 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.02516, allocations: 11.94 kB / 394.9 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.02526, allocations: 8.031 kB / 394.9 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.02531, allocations: 31.81 kB / 395 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.02532, allocations: 4 kB / 395 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000153/0.02547, allocations: 267 kB / 395.2 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02547, allocations: 4 kB / 395.2 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003252/0.0258, allocations: 131.9 kB / 395.4 MB, free: 0.5234 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,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 (22): * Single equations (assignments): 20 * 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.001011/0.02681, allocations: 462 kB / 395.8 MB, free: 244 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.02726, allocations: 366 kB / 396.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.02726, allocations: 0 / 396.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.02746, allocations: 266.5 kB / 396.4 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.02785, allocations: 119.5 kB / 396.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.02936, allocations: 1.041 MB / 397.6 MB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.02946, allocations: 149 kB / 397.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.0296, allocations: 59.34 kB / 397.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.02979, allocations: 174.1 kB / 398 MB, free: 13.98 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02979, allocations: 0 / 398 MB, free: 13.98 MB / 378.7 MB Notification: Performance of Templates: time 0.00992/0.03971, allocations: 7.129 MB / 405.1 MB, free: 6.965 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.085292831994593]