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.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.001459/0.001459, 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.001647/0.001647, allocations: 210 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.445/1.445, allocations: 230.6 MB / 258.2 MB, free: 7.762 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.1889/0.1889, 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_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [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.002086/0.002086, allocations: 68.17 kB / 493.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2928, allocations: 62.47 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.007185/0.3, allocations: 5.048 MB / 0.5481 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.3037, allocations: 1.987 MB / 0.55 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003847/0.3041, allocations: 21.84 kB / 0.55 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.3047, allocations: 149.2 kB / 0.5502 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.3057, allocations: 400.7 kB / 0.5506 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.3063, allocations: 218.7 kB / 0.5508 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009972/0.3073, allocations: 0.7132 MB / 0.5515 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.3078, allocations: 330.4 kB / 0.5518 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.3083, allocations: 312.8 kB / 0.5521 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004448/0.3088, allocations: 286.5 kB / 0.5524 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.3088, allocations: 47.66 kB / 0.5524 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.3091, allocations: 131.5 kB / 0.5525 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.3093, allocations: 161 kB / 0.5527 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.3095, allocations: 218.8 kB / 0.5529 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.3104, allocations: 0.7083 MB / 0.5536 GB, free: 8.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3104, allocations: 0.9688 kB / 0.5536 GB, free: 8.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3104, allocations: 0 / 0.5536 GB, free: 8.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.3105, allocations: 0 / 0.5536 GB, free: 8.676 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.001636/0.3121, allocations: 0.8101 MB / 0.5544 GB, free: 8.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3121, allocations: 14.23 kB / 0.5544 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.3123, allocations: 59.55 kB / 0.5544 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/0.3131, allocations: 427.8 kB / 0.5549 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.3131, allocations: 28.34 kB / 0.5549 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.3132, allocations: 40.86 kB / 0.5549 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007505/0.314, allocations: 486.4 kB / 0.5554 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.314, allocations: 1.188 kB / 0.5554 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.314, allocations: 16 kB / 0.5554 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.314, allocations: 9.906 kB / 0.5554 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.3145, allocations: 274.8 kB / 0.5557 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.3167, allocations: 1.647 MB / 0.5573 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.3172, allocations: 245.6 kB / 0.5575 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.3174, allocations: 82.67 kB / 0.5576 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.3174, allocations: 4.375 kB / 0.5576 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.3177, allocations: 184.6 kB / 0.5578 GB, free: 4.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/0.3177, allocations: 0 / 0.5578 GB, free: 4.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.001765/0.3195, allocations: 0.851 MB / 0.5586 GB, free: 4.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.943e-05/0.3196, allocations: 140.5 kB / 0.5587 GB, free: 3.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.3201, allocations: 389.6 kB / 0.5591 GB, free: 3.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.3201, allocations: 29.7 kB / 0.5591 GB, free: 3.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.3203, allocations: 272.1 kB / 0.5594 GB, free: 3.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.262e-05/0.3204, allocations: 103.6 kB / 0.5595 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.3205, allocations: 77.64 kB / 0.5596 GB, free: 3.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3207, allocations: 346.8 kB / 0.5599 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.3208, allocations: 83.95 kB / 0.56 GB, free: 2.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.3211, allocations: 237.9 kB / 0.5602 GB, free: 2.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.3216, allocations: 315.1 kB / 0.5605 GB, free: 1.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3216, allocations: 4 kB / 0.5605 GB, free: 1.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008878/0.3225, allocations: 430 kB / 0.5609 GB, free: 1.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3225, allocations: 12.06 kB / 0.5609 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3225, allocations: 4 kB / 0.5609 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004289/0.3229, allocations: 88.78 kB / 0.561 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.3232, allocations: 67.84 kB / 0.5611 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/0.3257, allocations: 1.878 MB / 0.5629 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.326, allocations: 28.05 kB / 0.563 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.326, allocations: 12 kB / 0.563 GB, free: 15.34 MB / 414.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.0002695/0.3263, allocations: 205.6 kB / 0.5632 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.3264, allocations: 39.72 kB / 0.5632 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006423/0.327, allocations: 294 kB / 0.5635 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.327, allocations: 4 kB / 0.5635 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.327, allocations: 3.938 kB / 0.5635 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.327, allocations: 4 kB / 0.5635 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.3282, allocations: 0.6635 MB / 0.5641 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.3282, allocations: 4 kB / 0.5641 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.3284, allocations: 35.98 kB / 0.5642 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.3286, allocations: 56.69 kB / 0.5642 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.3287, allocations: 11.98 kB / 0.5642 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.3301, allocations: 1.405 MB / 0.5656 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3301, allocations: 3.938 kB / 0.5656 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008437/0.3309, allocations: 0.4948 MB / 0.5661 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.3311, allocations: 59.72 kB / 0.5662 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.192e-05/0.3312, allocations: 12 kB / 0.5662 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.3314, allocations: 15.98 kB / 0.5662 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.3315, allocations: 24.02 kB / 0.5662 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.3315, allocations: 8 kB / 0.5662 GB, free: 11.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000343/0.3318, allocations: 271.2 kB / 0.5665 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3318, allocations: 0 / 0.5665 GB, free: 11.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006015/0.3324, allocations: 123.9 kB / 0.5666 GB, free: 11.43 MB / 414.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.00168/0.3341, allocations: 484 kB / 0.5671 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3351, allocations: 395.2 kB / 0.5674 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3351, allocations: 0 / 0.5674 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.3356, allocations: 238.4 kB / 0.5677 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/0.3363, allocations: 121.4 kB / 0.5678 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.3383, allocations: 1.145 MB / 0.5689 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3386, allocations: 251.9 kB / 0.5691 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3387, allocations: 35.42 kB / 0.5692 GB, free: 8.891 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3387, allocations: 0 / 0.5692 GB, free: 8.891 MB / 414.1 MB Notification: Performance of Templates: time 0.01314/0.3519, allocations: 8.623 MB / 0.5776 GB, free: 296 kB / 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] [Calling sys.exit(0), Time elapsed: 9.046765150036663] Failed to read output from testmodel.py, exit status != 0: 0.36118377884849906 0.376269636 0.062501625 Calling exit ...