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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002675/0.002675, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 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.1935/0.1935, allocations: 38.53 MB / 346.3 MB, free: 2.074 MB / 270.1 MB " [Timeout remaining time 179] 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=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 0.002019/0.002019, allocations: 63.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3753, allocations: 61.3 MB / 0.533 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.006918/0.3822, allocations: 5.869 MB / 0.5388 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003831/0.386, allocations: 2.151 MB / 0.5409 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005726/0.3866, allocations: 23.19 kB / 0.5409 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007495/0.3873, allocations: 172.2 kB / 0.541 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.3886, allocations: 424.5 kB / 0.5414 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.3894, allocations: 250.8 kB / 0.5417 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.3908, allocations: 0.8442 MB / 0.5425 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.3914, allocations: 386.8 kB / 0.5429 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00065/0.3921, allocations: 362.2 kB / 0.5432 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.3926, allocations: 359.4 kB / 0.5436 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/0.3927, allocations: 53.16 kB / 0.5436 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.393, allocations: 104.3 kB / 0.5437 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.3933, allocations: 193.1 kB / 0.5439 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.3937, allocations: 306.5 kB / 0.5442 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.3952, allocations: 0.7392 MB / 0.5449 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3952, allocations: 0 / 0.5449 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3952, allocations: 0 / 0.5449 GB, free: 12.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.3952, allocations: 1.312 kB / 0.5449 GB, free: 12.84 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.002076/0.3973, allocations: 0.8322 MB / 0.5457 GB, free: 12.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.3973, allocations: 9.125 kB / 0.5457 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.3975, allocations: 67.05 kB / 0.5458 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.3986, allocations: 470 kB / 0.5463 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.3987, allocations: 33.97 kB / 0.5463 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.3988, allocations: 50.02 kB / 0.5463 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.3999, allocations: 0.5216 MB / 0.5468 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.3999, allocations: 4.969 kB / 0.5468 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.347e-05/0.4, allocations: 16.75 kB / 0.5469 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.671e-05/0.4001, allocations: 16.41 kB / 0.5469 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007213/0.4008, allocations: 341.7 kB / 0.5472 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003577/0.4044, allocations: 1.978 MB / 0.5491 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.4049, allocations: 226.7 kB / 0.5494 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.405, allocations: 77.64 kB / 0.5494 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.405, allocations: 6.344 kB / 0.5494 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003439/0.4054, allocations: 170.2 kB / 0.5496 GB, free: 9.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.054e-06/0.4054, allocations: 5.125 kB / 0.5496 GB, free: 9.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002142/0.4075, allocations: 0.8639 MB / 0.5504 GB, free: 8.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.4076, allocations: 140.2 kB / 0.5506 GB, free: 8.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.4083, allocations: 428.4 kB / 0.551 GB, free: 8.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.4084, allocations: 35.39 kB / 0.551 GB, free: 8.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.4087, allocations: 303.8 kB / 0.5513 GB, free: 7.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/0.4088, allocations: 94.27 kB / 0.5514 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.4089, allocations: 74.25 kB / 0.5515 GB, free: 7.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.4091, allocations: 361.6 kB / 0.5518 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.4093, allocations: 84.73 kB / 0.5519 GB, free: 7.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.4096, allocations: 221.6 kB / 0.5521 GB, free: 7.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.4101, allocations: 327.7 kB / 0.5524 GB, free: 6.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.4101, allocations: 1.062 kB / 0.5524 GB, free: 6.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001044/0.4112, allocations: 446.2 kB / 0.5528 GB, free: 6.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.4112, allocations: 6.562 kB / 0.5529 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.4112, allocations: 4.344 kB / 0.5529 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004758/0.4117, allocations: 95.02 kB / 0.5529 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.412, allocations: 68.72 kB / 0.553 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.4145, allocations: 1.731 MB / 0.5547 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.4149, allocations: 19.58 kB / 0.5547 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.415, allocations: 18.72 kB / 0.5547 GB, free: 4.84 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.0003558/0.4153, allocations: 206.6 kB / 0.5549 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.278e-05/0.4154, allocations: 48.75 kB / 0.555 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006752/0.4161, allocations: 275.6 kB / 0.5552 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4161, allocations: 3.312 kB / 0.5552 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4161, allocations: 1.938 kB / 0.5553 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4161, allocations: 1.188 kB / 0.5553 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.4175, allocations: 0.7593 MB / 0.556 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4175, allocations: 1.094 kB / 0.556 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.4178, allocations: 54.94 kB / 0.556 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/0.418, allocations: 48.72 kB / 0.5561 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.4181, allocations: 8 kB / 0.5561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.4197, allocations: 1.44 MB / 0.5575 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4197, allocations: 4.062 kB / 0.5575 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.4205, allocations: 477.5 kB / 0.558 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.4207, allocations: 55.75 kB / 0.558 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.4207, allocations: 11.94 kB / 0.558 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.421, allocations: 19.92 kB / 0.558 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.4211, allocations: 19.97 kB / 0.5581 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.4211, allocations: 11.98 kB / 0.5581 GB, free: 1.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004314/0.4215, allocations: 299.1 kB / 0.5584 GB, free: 1.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4215, allocations: 0 / 0.5584 GB, free: 1.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006493/0.4222, allocations: 115.9 kB / 0.5585 GB, free: 1.242 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.001462/0.4236, allocations: 402 kB / 0.5589 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009753/0.4246, allocations: 375.9 kB / 0.5592 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4246, allocations: 0 / 0.5592 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.4251, allocations: 234.6 kB / 0.5594 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008338/0.4259, allocations: 140 kB / 0.5596 GB, free: 240 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.4284, allocations: 1.203 MB / 0.5607 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.429, allocations: 0.8777 MB / 0.5616 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.4293, allocations: 68.23 kB / 0.5617 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/0.4294, allocations: 39.42 kB / 0.5617 GB, free: 13.98 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4294, allocations: 0 / 0.5617 GB, free: 13.98 MB / 414.1 MB Notification: Performance of Templates: time 0.01639/0.4458, allocations: 6.816 MB / 0.5684 GB, free: 7.246 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] [Calling sys.exit(0), Time elapsed: 5.556752954609692] Failed to read output from testmodel.py, exit status != 0: 0.4549928791821003 0.47156983599999996 0.07277033200000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd890b797b0>