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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 104 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 192.4 kB / 22.75 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1831/0.1831, allocations: 38.5 MB / 344.9 MB, free: 2.605 MB / 270.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 63.89 kB / 482.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3374, allocations: 61.25 MB / 0.5309 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007582/0.345, allocations: 5.797 MB / 0.5366 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.3484, allocations: 2.122 MB / 0.5387 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.3488, allocations: 20.25 kB / 0.5387 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006307/0.3494, allocations: 175.8 kB / 0.5388 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.3506, allocations: 424.3 kB / 0.5393 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007085/0.3514, allocations: 246.1 kB / 0.5395 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.3526, allocations: 0.8476 MB / 0.5403 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005699/0.3531, allocations: 420.6 kB / 0.5407 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.3537, allocations: 360.6 kB / 0.5411 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005155/0.3542, allocations: 354.6 kB / 0.5414 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-05/0.3543, allocations: 54.53 kB / 0.5415 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.3546, allocations: 103.4 kB / 0.5415 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.3548, allocations: 189.4 kB / 0.5417 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.3551, allocations: 298.8 kB / 0.542 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009861/0.3561, allocations: 0.7465 MB / 0.5427 GB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3561, allocations: 5.125 kB / 0.5427 GB, free: 13.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3561, allocations: 0 / 0.5427 GB, free: 13.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3561, allocations: 0 / 0.5427 GB, free: 13.04 MB / 398.1 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.001711/0.3578, allocations: 0.9105 MB / 0.5436 GB, free: 12.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3579, allocations: 13.83 kB / 0.5437 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.358, allocations: 66.23 kB / 0.5437 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009306/0.3589, allocations: 0.526 MB / 0.5442 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.359, allocations: 33.91 kB / 0.5443 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.3591, allocations: 45.45 kB / 0.5443 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008564/0.36, allocations: 0.5219 MB / 0.5448 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.36, allocations: 2.219 kB / 0.5448 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.36, allocations: 16.22 kB / 0.5448 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.282e-05/0.3601, allocations: 20.34 kB / 0.5449 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.3607, allocations: 337.9 kB / 0.5452 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.3635, allocations: 2.066 MB / 0.5472 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.364, allocations: 222.7 kB / 0.5474 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.3641, allocations: 73.89 kB / 0.5475 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.3641, allocations: 6.156 kB / 0.5475 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.3644, allocations: 170 kB / 0.5476 GB, free: 9.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.873e-06/0.3644, allocations: 0 / 0.5476 GB, free: 9.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001904/0.3663, allocations: 0.9406 MB / 0.5486 GB, free: 8.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.3664, allocations: 139.9 kB / 0.5487 GB, free: 8.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005323/0.367, allocations: 433.3 kB / 0.5491 GB, free: 7.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.367, allocations: 30.8 kB / 0.5491 GB, free: 7.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.3672, allocations: 296 kB / 0.5494 GB, free: 7.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.3673, allocations: 90.19 kB / 0.5495 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.3674, allocations: 86.64 kB / 0.5496 GB, free: 7.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3676, allocations: 360.7 kB / 0.5499 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.3678, allocations: 81.28 kB / 0.55 GB, free: 7.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.3681, allocations: 233.2 kB / 0.5502 GB, free: 6.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.3685, allocations: 314.1 kB / 0.5505 GB, free: 6.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3685, allocations: 1.688 kB / 0.5505 GB, free: 6.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008868/0.3694, allocations: 442.8 kB / 0.551 GB, free: 6.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3694, allocations: 11.28 kB / 0.551 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.3694, allocations: 4.312 kB / 0.551 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/0.3699, allocations: 93.64 kB / 0.5511 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.3701, allocations: 68.16 kB / 0.5511 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.3725, allocations: 1.827 MB / 0.5529 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.3729, allocations: 19.19 kB / 0.5529 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3729, allocations: 22.11 kB / 0.5529 GB, free: 4.574 MB / 398.1 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.0003019/0.3732, allocations: 208 kB / 0.5531 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.3733, allocations: 48.78 kB / 0.5532 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006063/0.3739, allocations: 283.3 kB / 0.5535 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3739, allocations: 7.641 kB / 0.5535 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3739, allocations: 1.125 kB / 0.5535 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3739, allocations: 1.25 kB / 0.5535 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.3752, allocations: 0.7757 MB / 0.5542 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3752, allocations: 5.219 kB / 0.5542 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.3755, allocations: 50.86 kB / 0.5543 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.3757, allocations: 51.83 kB / 0.5543 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.3758, allocations: 6.031 kB / 0.5543 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.3773, allocations: 1.539 MB / 0.5558 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3773, allocations: 1.375 kB / 0.5558 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.3781, allocations: 485.8 kB / 0.5563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.3783, allocations: 135.8 kB / 0.5564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.3784, allocations: 9.781 kB / 0.5564 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.3786, allocations: 15.98 kB / 0.5565 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.3787, allocations: 21.22 kB / 0.5565 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.3787, allocations: 9.312 kB / 0.5565 GB, free: 1.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004048/0.3791, allocations: 297 kB / 0.5568 GB, free: 1.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3791, allocations: 0 / 0.5568 GB, free: 1.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006498/0.3798, allocations: 123.9 kB / 0.5569 GB, free: 1.141 MB / 398.1 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.001424/0.3812, allocations: 396 kB / 0.5573 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009528/0.3821, allocations: 386.2 kB / 0.5576 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3821, allocations: 0 / 0.5576 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.3826, allocations: 231.7 kB / 0.5579 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.3834, allocations: 146.1 kB / 0.558 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.3857, allocations: 1.241 MB / 0.5592 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.3862, allocations: 0.8816 MB / 0.5601 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.3864, allocations: 39.42 kB / 0.5601 GB, free: 13.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3864, allocations: 0 / 0.5601 GB, free: 13.91 MB / 414.1 MB Notification: Performance of Templates: time 0.01464/0.401, allocations: 8.909 MB / 0.5688 GB, free: 5.02 MB / 414.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 480]