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.001457/0.001457, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001226/0.001226, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 1.081/1.081, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2505/0.2505, allocations: 29.42 MB / 291.2 MB, free: 2.418 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.272e-06/1.272e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.242e-05, allocations: 3.188 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005731/0.005753, allocations: 5.194 MB / 322.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003013/0.008766, allocations: 2.278 MB / 324.3 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.009103, allocations: 23.81 kB / 324.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.009624, allocations: 162.7 kB / 324.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009102/0.01053, allocations: 465 kB / 325 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.01107, allocations: 263.3 kB / 325.2 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.01212, allocations: 0.8717 MB / 326.1 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.01257, allocations: 407.2 kB / 326.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006033/0.01318, allocations: 0.5027 MB / 327 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.01357, allocations: 287.2 kB / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.01363, allocations: 52 kB / 327.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.01389, allocations: 151.8 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.01403, allocations: 195.4 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.01434, allocations: 211.5 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.01493, allocations: 0.5332 MB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01493, allocations: 0 / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01493, allocations: 0 / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.01494, allocations: 0 / 328.4 MB, free: 4.348 MB / 298.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.0009432/0.01588, allocations: 0.8083 MB / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.01591, allocations: 19.91 kB / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.573e-05/0.01601, allocations: 72.88 kB / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.01653, allocations: 417.2 kB / 329.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.01656, allocations: 41.12 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/0.01664, allocations: 47.94 kB / 329.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.01701, allocations: 402.2 kB / 330.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.01703, allocations: 7.984 kB / 330.2 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.01705, allocations: 16 kB / 330.2 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/0.0171, allocations: 17 kB / 330.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.01727, allocations: 133.6 kB / 330.4 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.01888, allocations: 1.541 MB / 331.9 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.01909, allocations: 194.3 kB / 332.1 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.01914, allocations: 42.69 kB / 332.2 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.01916, allocations: 4 kB / 332.2 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.01931, allocations: 147.3 kB / 332.3 MB, free: 232 kB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.183e-06/0.01931, allocations: 0 / 332.3 MB, free: 232 kB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007456/0.02005, allocations: 470.7 kB / 332.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.02011, allocations: 144.3 kB / 332.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.02037, allocations: 388.7 kB / 333.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.02039, allocations: 29.7 kB / 333.3 MB, free: 15.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.0205, allocations: 257.1 kB / 333.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.02055, allocations: 95.44 kB / 333.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.02063, allocations: 82.11 kB / 333.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.02074, allocations: 358.7 kB / 334.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.02079, allocations: 39.8 kB / 334.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.02092, allocations: 196 kB / 334.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.02113, allocations: 240 kB / 334.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02114, allocations: 0 / 334.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003716/0.02151, allocations: 291.9 kB / 334.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.02153, allocations: 12.09 kB / 334.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.02153, allocations: 4 kB / 334.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.02178, allocations: 95.52 kB / 334.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.02196, allocations: 75.84 kB / 335 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.02311, allocations: 1.428 MB / 336.4 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.02324, allocations: 15.95 kB / 336.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.02325, allocations: 16 kB / 336.5 MB, free: 11.71 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: 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.0001093/0.02336, allocations: 136.5 kB / 336.6 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.0234, allocations: 35.89 kB / 336.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.02364, allocations: 175.7 kB / 336.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.02364, allocations: 4 kB / 336.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.02364, allocations: 4 kB / 336.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02365, allocations: 4 kB / 336.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.0242, allocations: 481.8 kB / 337.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.0242, allocations: 4 kB / 337.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.02437, allocations: 51.84 kB / 337.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.02449, allocations: 47.62 kB / 337.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.02451, allocations: 8 kB / 337.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.02561, allocations: 1.247 MB / 338.7 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02561, allocations: 0 / 338.7 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.02594, allocations: 364.7 kB / 339 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.02601, allocations: 47.67 kB / 339.1 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.02604, allocations: 11.94 kB / 339.1 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.02613, allocations: 11.98 kB / 339.1 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.02618, allocations: 19.97 kB / 339.1 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.02619, allocations: 7.984 kB / 339.1 MB, free: 8.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.02632, allocations: 163.5 kB / 339.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02632, allocations: 0 / 339.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.02666, allocations: 127.9 kB / 339.4 MB, free: 8.625 MB / 314.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.001212/0.02788, allocations: 0.5584 MB / 339.9 MB, free: 8.367 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.0283, allocations: 332.4 kB / 340.3 MB, free: 8.027 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.02831, allocations: 4 kB / 340.3 MB, free: 8.023 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.02849, allocations: 204.6 kB / 340.5 MB, free: 7.809 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.02886, allocations: 131.5 kB / 340.6 MB, free: 7.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.03042, allocations: 0.9789 MB / 341.6 MB, free: 6.668 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.03052, allocations: 141.2 kB / 341.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.03068, allocations: 55.39 kB / 341.8 MB, free: 6.453 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.03088, allocations: 141.3 kB / 341.9 MB, free: 6.312 MB / 314.7 MB Notification: Performance of SimCode: time 1.153e-06/0.03088, allocations: 0 / 341.9 MB, free: 6.312 MB / 314.7 MB Notification: Performance of Templates: time 0.009885/0.04076, allocations: 7.192 MB / 349.1 MB, free: 15.26 MB / 330.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.104297728277743]