Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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.001405/0.001405, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001495/0.001495, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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.523/1.523, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.185/0.185, allocations: 38.55 MB / 353.2 MB, free: 12.3 MB / 286.1 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_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 71.91 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3284, allocations: 62.47 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.007421/0.3358, allocations: 5.093 MB / 0.5481 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003035/0.3389, allocations: 1.5 MB / 0.5496 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000409/0.3393, allocations: 23.69 kB / 0.5496 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.3398, allocations: 121.7 kB / 0.5497 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009406/0.3407, allocations: 318.7 kB / 0.55 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.3411, allocations: 159.1 kB / 0.5502 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009842/0.3421, allocations: 0.6972 MB / 0.5509 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005098/0.3426, allocations: 331.8 kB / 0.5512 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.3431, allocations: 300.3 kB / 0.5515 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.3436, allocations: 277.1 kB / 0.5517 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.338e-05/0.3437, allocations: 45.75 kB / 0.5518 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.3438, allocations: 47.91 kB / 0.5518 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.3439, allocations: 147.6 kB / 0.552 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.3442, allocations: 221.3 kB / 0.5522 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.345, allocations: 0.6042 MB / 0.5528 GB, free: 9.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.345, allocations: 0 / 0.5528 GB, free: 9.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.345, allocations: 5.438 kB / 0.5528 GB, free: 9.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.345, allocations: 0 / 0.5528 GB, free: 9.258 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001525/0.3465, allocations: 0.7208 MB / 0.5535 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3466, allocations: 14.64 kB / 0.5535 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.3467, allocations: 58.19 kB / 0.5536 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/0.3475, allocations: 388.1 kB / 0.5539 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.3476, allocations: 99.98 kB / 0.554 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.3477, allocations: 40.72 kB / 0.5541 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000885/0.3486, allocations: 0.5002 MB / 0.5545 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.3486, allocations: 1.875 kB / 0.5545 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.3487, allocations: 16.91 kB / 0.5546 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.3487, allocations: 13.78 kB / 0.5546 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.3493, allocations: 337.1 kB / 0.5549 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.3517, allocations: 1.74 MB / 0.5566 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.3522, allocations: 218.2 kB / 0.5568 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.3524, allocations: 90.59 kB / 0.5569 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3524, allocations: 4 kB / 0.5569 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.3525, allocations: 34.56 kB / 0.5569 GB, free: 5.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.3525, allocations: 0 / 0.5569 GB, free: 5.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001769/0.3542, allocations: 0.778 MB / 0.5577 GB, free: 5.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.3543, allocations: 111 kB / 0.5578 GB, free: 4.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.3547, allocations: 316.3 kB / 0.5581 GB, free: 4.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3547, allocations: 29.7 kB / 0.5581 GB, free: 4.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.3549, allocations: 272.2 kB / 0.5584 GB, free: 4.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.355, allocations: 91.25 kB / 0.5585 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3551, allocations: 65.66 kB / 0.5585 GB, free: 4.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3553, allocations: 346.8 kB / 0.5589 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.3555, allocations: 87.72 kB / 0.5589 GB, free: 3.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.3558, allocations: 213 kB / 0.5592 GB, free: 3.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.357, allocations: 493.6 kB / 0.5596 GB, free: 2.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.357, allocations: 4 kB / 0.5596 GB, free: 2.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008464/0.3578, allocations: 413 kB / 0.56 GB, free: 2.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3579, allocations: 15.92 kB / 0.56 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3579, allocations: 4 kB / 0.56 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/0.3582, allocations: 77.2 kB / 0.5601 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.3584, allocations: 63.91 kB / 0.5602 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.3606, allocations: 1.79 MB / 0.5619 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.3608, allocations: 20.05 kB / 0.5619 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.3608, allocations: 23.98 kB / 0.562 GB, free: 388 kB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0002871/0.3611, allocations: 192.7 kB / 0.5621 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.3612, allocations: 35.77 kB / 0.5622 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.3613, allocations: 35.11 kB / 0.5622 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3613, allocations: 4 kB / 0.5622 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3613, allocations: 3.938 kB / 0.5622 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.3613, allocations: 3.984 kB / 0.5622 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.3624, allocations: 0.6199 MB / 0.5628 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3624, allocations: 0 / 0.5628 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.3627, allocations: 39.98 kB / 0.5629 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.793e-05/0.3628, allocations: 28.78 kB / 0.5629 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.3628, allocations: 8 kB / 0.5629 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009941/0.3638, allocations: 1.249 MB / 0.5641 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/0.3638, allocations: 11.88 kB / 0.5641 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007566/0.3645, allocations: 0.4971 MB / 0.5646 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.3647, allocations: 39.84 kB / 0.5647 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.3647, allocations: 7.922 kB / 0.5647 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.3649, allocations: 12.16 kB / 0.5647 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.365, allocations: 23.91 kB / 0.5647 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.365, allocations: 4 kB / 0.5647 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.3652, allocations: 211.1 kB / 0.5649 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3652, allocations: 0 / 0.5649 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005197/0.3657, allocations: 84 kB / 0.565 GB, free: 13.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (dcm_pm.motor.i,loadInertia.w,frictTorq.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.3658, allocations: 107.2 kB / 0.5651 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007709/0.3666, allocations: 366.1 kB / 0.5654 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3666, allocations: 3.938 kB / 0.5654 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.367, allocations: 207.7 kB / 0.5656 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.3676, allocations: 89.19 kB / 0.5657 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3693, allocations: 0.966 MB / 0.5667 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3696, allocations: 247.7 kB / 0.5669 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.3697, allocations: 31.42 kB / 0.5669 GB, free: 11.01 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3697, allocations: 0 / 0.5669 GB, free: 11.01 MB / 414.1 MB Notification: Performance of Templates: time 0.00999/0.3797, allocations: 6.885 MB / 0.5737 GB, free: 4.137 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.633698152843863] Failed to read output from testmodel.py, exit status != 0: 0.3886877722106874 0.40237549 0.054324952 Calling exit ...