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.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.001346/0.001346, allocations: 103.3 kB / 19.61 MB, free: 2.707 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.001381/0.001381, allocations: 198.3 kB / 22.76 MB, free: 5.48 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.512/1.512, 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.1858/0.1858, allocations: 38.52 MB / 345 MB, free: 2.578 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_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.88 kB / 482.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3329, allocations: 61.24 MB / 0.5309 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.006329/0.3393, allocations: 5.259 MB / 0.5361 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.3421, allocations: 1.998 MB / 0.538 GB, free: 324 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.3424, allocations: 13.56 kB / 0.538 GB, free: 320 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.3429, allocations: 150.4 kB / 0.5382 GB, free: 196 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008769/0.3438, allocations: 357.5 kB / 0.5385 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.3444, allocations: 222.2 kB / 0.5387 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009208/0.3453, allocations: 0.694 MB / 0.5394 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.3458, allocations: 363.6 kB / 0.5397 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.3463, allocations: 296.5 kB / 0.54 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.3467, allocations: 295.5 kB / 0.5403 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.352e-05/0.3468, allocations: 47.41 kB / 0.5404 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.347, allocations: 96.81 kB / 0.5404 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.3472, allocations: 153.1 kB / 0.5406 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.3475, allocations: 273.4 kB / 0.5409 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009134/0.3484, allocations: 0.6441 MB / 0.5415 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3484, allocations: 4 kB / 0.5415 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3484, allocations: 3.938 kB / 0.5415 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.3484, allocations: 1.062 kB / 0.5415 GB, free: 13.95 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001637/0.35, allocations: 0.8669 MB / 0.5423 GB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3501, allocations: 14.27 kB / 0.5424 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.3502, allocations: 55.27 kB / 0.5424 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.3511, allocations: 495.5 kB / 0.5429 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.3511, allocations: 23.28 kB / 0.5429 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.472e-05/0.3512, allocations: 40.78 kB / 0.5429 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.3519, allocations: 457.9 kB / 0.5434 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3519, allocations: 5.453 kB / 0.5434 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/0.352, allocations: 20.12 kB / 0.5434 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.352, allocations: 8.562 kB / 0.5434 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.3525, allocations: 288 kB / 0.5437 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.3548, allocations: 1.842 MB / 0.5455 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.3553, allocations: 244.3 kB / 0.5457 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.3555, allocations: 79.7 kB / 0.5458 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.3555, allocations: 6.344 kB / 0.5458 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.3558, allocations: 182.1 kB / 0.546 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.063e-06/0.3558, allocations: 1.219 kB / 0.546 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.001851/0.3577, allocations: 0.9313 MB / 0.5469 GB, free: 9.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/0.3577, allocations: 133 kB / 0.547 GB, free: 9.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.3583, allocations: 404 kB / 0.5474 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.3583, allocations: 30.83 kB / 0.5474 GB, free: 9.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.3585, allocations: 274.7 kB / 0.5477 GB, free: 8.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.3586, allocations: 91.06 kB / 0.5478 GB, free: 8.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.3587, allocations: 75.77 kB / 0.5478 GB, free: 8.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3589, allocations: 353 kB / 0.5482 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.359, allocations: 83.08 kB / 0.5483 GB, free: 8.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.3593, allocations: 210.2 kB / 0.5485 GB, free: 8.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.3598, allocations: 316.5 kB / 0.5488 GB, free: 7.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3598, allocations: 0 / 0.5488 GB, free: 7.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009052/0.3607, allocations: 435.2 kB / 0.5492 GB, free: 7.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3607, allocations: 7.594 kB / 0.5492 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.3607, allocations: 4.531 kB / 0.5492 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/0.3611, allocations: 96.89 kB / 0.5493 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.3614, allocations: 63.38 kB / 0.5493 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.3639, allocations: 2.022 MB / 0.5513 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.3642, allocations: 15.31 kB / 0.5513 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.3643, allocations: 20.05 kB / 0.5514 GB, free: 5.672 MB / 398.1 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.0002667/0.3645, allocations: 202.5 kB / 0.5515 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.3646, allocations: 47.97 kB / 0.5516 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006367/0.3653, allocations: 291.1 kB / 0.5519 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3653, allocations: 3.188 kB / 0.5519 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3653, allocations: 1.906 kB / 0.5519 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3653, allocations: 1 kB / 0.5519 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.3664, allocations: 0.7708 MB / 0.5526 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3664, allocations: 5.219 kB / 0.5526 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.3667, allocations: 38.89 kB / 0.5527 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/0.3669, allocations: 51.77 kB / 0.5527 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.3669, allocations: 6.188 kB / 0.5527 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.3684, allocations: 1.546 MB / 0.5542 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3684, allocations: 1.094 kB / 0.5542 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008153/0.3692, allocations: 0.4983 MB / 0.5547 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.3694, allocations: 131.5 kB / 0.5548 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.3694, allocations: 6.125 kB / 0.5549 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3697, allocations: 15.97 kB / 0.5549 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/0.3697, allocations: 34.23 kB / 0.5549 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3698, allocations: 5.656 kB / 0.5549 GB, free: 2.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003581/0.3701, allocations: 287.3 kB / 0.5552 GB, free: 2.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3701, allocations: 0 / 0.5552 GB, free: 2.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005896/0.3707, allocations: 106 kB / 0.5553 GB, free: 2.371 MB / 398.1 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.0014/0.3721, allocations: 401.4 kB / 0.5557 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009056/0.373, allocations: 397.6 kB / 0.556 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.373, allocations: 0 / 0.556 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.3734, allocations: 242.5 kB / 0.5563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006965/0.3741, allocations: 136.6 kB / 0.5564 GB, free: 1.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.3761, allocations: 1.139 MB / 0.5575 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.3766, allocations: 0.8504 MB / 0.5583 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.3767, allocations: 51.36 kB / 0.5584 GB, free: 15.63 MB / 414.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3767, allocations: 0 / 0.5584 GB, free: 15.63 MB / 414.1 MB Notification: Performance of Templates: time 0.01214/0.3889, allocations: 8.265 MB / 0.5665 GB, free: 7.391 MB / 414.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 480]