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.001794/0.001794, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002254/0.002254, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.575/1.575, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.1787/0.1787, allocations: 29.43 MB / 290.7 MB, free: 3.242 MB / 270.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_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: 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.002257/0.002257, allocations: 63.91 kB / 431.2 MB, free: 3.195 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.338, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005758/0.3438, allocations: 5.519 MB / 499.2 MB, free: 34.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.3466, allocations: 2.139 MB / 0.4895 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.3469, allocations: 28.56 kB / 0.4896 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005627/0.3475, allocations: 159.4 kB / 0.4897 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009728/0.3485, allocations: 461.8 kB / 0.4902 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.349, allocations: 251.1 kB / 0.4904 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008594/0.3499, allocations: 0.8651 MB / 0.4912 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.3503, allocations: 380.2 kB / 0.4916 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.3506, allocations: 368.8 kB / 0.492 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.351, allocations: 330.1 kB / 0.4923 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.363e-05/0.3511, allocations: 54.59 kB / 0.4923 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.3514, allocations: 149.8 kB / 0.4925 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.3515, allocations: 188.9 kB / 0.4927 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.3517, allocations: 256.3 kB / 0.4929 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007527/0.3525, allocations: 0.7954 MB / 0.4937 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3525, allocations: 3.516 kB / 0.4937 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3525, allocations: 0 / 0.4937 GB, free: 30.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.3525, allocations: 3.062 kB / 0.4937 GB, free: 30.71 MB / 446.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.00143/0.3539, allocations: 0.8574 MB / 0.4945 GB, free: 30.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.354, allocations: 13.08 kB / 0.4945 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.3541, allocations: 70.83 kB / 0.4946 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007476/0.3548, allocations: 466.2 kB / 0.495 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.3549, allocations: 29.28 kB / 0.4951 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.96e-05/0.355, allocations: 56.58 kB / 0.4951 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.3556, allocations: 0.5458 MB / 0.4957 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.3556, allocations: 3.25 kB / 0.4957 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.3557, allocations: 19.19 kB / 0.4957 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.3557, allocations: 17.12 kB / 0.4957 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.3562, allocations: 336.8 kB / 0.496 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.3582, allocations: 1.826 MB / 0.4978 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.3585, allocations: 223.8 kB / 0.498 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3586, allocations: 77.38 kB / 0.4981 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.3587, allocations: 3.688 kB / 0.4981 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.3589, allocations: 169.7 kB / 0.4983 GB, free: 27.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.3589, allocations: 0 / 0.4983 GB, free: 27.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.00139/0.3603, allocations: 0.8626 MB / 0.4991 GB, free: 27.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.3603, allocations: 139.5 kB / 0.4992 GB, free: 26.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.3607, allocations: 418.8 kB / 0.4996 GB, free: 26.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3607, allocations: 32.92 kB / 0.4997 GB, free: 26.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.3608, allocations: 306.6 kB / 0.4999 GB, free: 26.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.3609, allocations: 88.17 kB / 0.5 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.609e-05/0.361, allocations: 80.38 kB / 0.5001 GB, free: 26.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.361, allocations: 353.5 kB / 0.5004 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3612, allocations: 90.02 kB / 0.5005 GB, free: 25.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.3613, allocations: 251.7 kB / 0.5008 GB, free: 25.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.3616, allocations: 317.8 kB / 0.5011 GB, free: 25.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3616, allocations: 2.969 kB / 0.5011 GB, free: 25.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007067/0.3623, allocations: 439.8 kB / 0.5015 GB, free: 25.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3624, allocations: 9.719 kB / 0.5015 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3624, allocations: 3.219 kB / 0.5015 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/0.3628, allocations: 92.2 kB / 0.5016 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.363, allocations: 78.47 kB / 0.5017 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.3646, allocations: 1.692 MB / 0.5033 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.3649, allocations: 21.3 kB / 0.5033 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.3649, allocations: 17.47 kB / 0.5034 GB, free: 23.71 MB / 446.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.0001792/0.3651, allocations: 212.2 kB / 0.5036 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.3651, allocations: 43.44 kB / 0.5036 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.3656, allocations: 288.4 kB / 0.5039 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3656, allocations: 3.25 kB / 0.5039 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3656, allocations: 0 / 0.5039 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3656, allocations: 0 / 0.5039 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/0.3665, allocations: 0.6546 MB / 0.5045 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3665, allocations: 4 kB / 0.5045 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.3667, allocations: 50.27 kB / 0.5046 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.3669, allocations: 53.2 kB / 0.5046 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.3669, allocations: 10.69 kB / 0.5046 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008482/0.3678, allocations: 1.411 MB / 0.506 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3678, allocations: 3.469 kB / 0.506 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.3683, allocations: 477.9 kB / 0.5065 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3685, allocations: 58 kB / 0.5065 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.3685, allocations: 6.562 kB / 0.5065 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.3687, allocations: 16.64 kB / 0.5066 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.3688, allocations: 26.61 kB / 0.5066 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3688, allocations: 6.094 kB / 0.5066 GB, free: 21.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.369, allocations: 286.1 kB / 0.5069 GB, free: 21.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.369, allocations: 0 / 0.5069 GB, free: 21.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004902/0.3695, allocations: 127.4 kB / 0.507 GB, free: 21.12 MB / 446.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.001568/0.3711, allocations: 492.1 kB / 0.5074 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006753/0.3717, allocations: 392.4 kB / 0.5078 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3717, allocations: 3.094 kB / 0.5078 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.372, allocations: 228.5 kB / 0.508 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.3727, allocations: 121.3 kB / 0.5082 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3743, allocations: 1.187 MB / 0.5093 GB, free: 19.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.3745, allocations: 284.1 kB / 0.5096 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.3747, allocations: 62.45 kB / 0.5096 GB, free: 19.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.3748, allocations: 41.48 kB / 0.5097 GB, free: 19.61 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3748, allocations: 0 / 0.5097 GB, free: 19.61 MB / 446.1 MB Notification: Performance of Templates: time 0.01229/0.3871, allocations: 6.523 MB / 0.5161 GB, free: 18.81 MB / 446.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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.912027745041996] Failed to read output from testmodel.py, exit status != 0: 0.3966468689031899 0.417352796 0.060989640000000005 Calling exit ...