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.001503/0.001503, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00184/0.00184, allocations: 212.7 kB / 23.73 MB, free: 4.387 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.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1862/0.1862, allocations: 38.55 MB / 352.5 MB, free: 12.31 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.002116/0.002116, allocations: 74.25 kB / 493 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3794, allocations: 62.46 MB / 0.5424 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.008583/0.388, allocations: 5.054 MB / 0.5474 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.3924, allocations: 1.99 MB / 0.5493 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.3929, allocations: 22.44 kB / 0.5493 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007267/0.3936, allocations: 142.4 kB / 0.5495 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.395, allocations: 405 kB / 0.5498 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.3957, allocations: 214.6 kB / 0.55 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.3968, allocations: 0.7098 MB / 0.5507 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.3973, allocations: 326.7 kB / 0.5511 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005817/0.3979, allocations: 321 kB / 0.5514 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.3984, allocations: 282.4 kB / 0.5516 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3985, allocations: 47.94 kB / 0.5517 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.3988, allocations: 134.9 kB / 0.5518 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.399, allocations: 157.1 kB / 0.552 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.3993, allocations: 214.2 kB / 0.5522 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.4004, allocations: 0.7129 MB / 0.5529 GB, free: 8.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4004, allocations: 1.125 kB / 0.5529 GB, free: 8.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4004, allocations: 0 / 0.5529 GB, free: 8.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.4004, allocations: 0 / 0.5529 GB, free: 8.684 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.001845/0.4022, allocations: 0.8096 MB / 0.5536 GB, free: 8.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4023, allocations: 14.45 kB / 0.5537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.4025, allocations: 59.08 kB / 0.5537 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/0.4034, allocations: 424.4 kB / 0.5541 GB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.4034, allocations: 28.28 kB / 0.5541 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.4035, allocations: 41.11 kB / 0.5542 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007608/0.4043, allocations: 486.5 kB / 0.5547 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.4043, allocations: 5.031 kB / 0.5547 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.4043, allocations: 20.42 kB / 0.5547 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.4043, allocations: 9.688 kB / 0.5547 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.4048, allocations: 270.2 kB / 0.5549 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.4072, allocations: 1.646 MB / 0.5565 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.4077, allocations: 237.9 kB / 0.5568 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.4079, allocations: 78.55 kB / 0.5569 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.4079, allocations: 8.312 kB / 0.5569 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/0.4082, allocations: 180.6 kB / 0.557 GB, free: 5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/0.4082, allocations: 0 / 0.557 GB, free: 5 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.00183/0.4101, allocations: 0.8559 MB / 0.5579 GB, free: 4.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/0.4102, allocations: 136.5 kB / 0.558 GB, free: 3.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/0.4107, allocations: 397.5 kB / 0.5584 GB, free: 3.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4107, allocations: 29.7 kB / 0.5584 GB, free: 3.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.4109, allocations: 276.3 kB / 0.5587 GB, free: 3.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/0.411, allocations: 95.42 kB / 0.5588 GB, free: 3.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.4111, allocations: 77.66 kB / 0.5588 GB, free: 3.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4113, allocations: 350.8 kB / 0.5592 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.4115, allocations: 79.97 kB / 0.5592 GB, free: 2.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.4118, allocations: 241.8 kB / 0.5595 GB, free: 2.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.4122, allocations: 315.8 kB / 0.5598 GB, free: 1.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4122, allocations: 7.938 kB / 0.5598 GB, free: 1.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008697/0.4131, allocations: 426 kB / 0.5602 GB, free: 1.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4131, allocations: 8 kB / 0.5602 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.4131, allocations: 8.031 kB / 0.5602 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/0.4136, allocations: 96.75 kB / 0.5603 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.4138, allocations: 67.84 kB / 0.5604 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.4164, allocations: 1.876 MB / 0.5622 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.4167, allocations: 24.06 kB / 0.5622 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.4167, allocations: 15.98 kB / 0.5622 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.0002941/0.417, allocations: 201.6 kB / 0.5624 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.4171, allocations: 43.7 kB / 0.5625 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006632/0.4178, allocations: 294 kB / 0.5627 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4178, allocations: 4 kB / 0.5628 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4178, allocations: 7.875 kB / 0.5628 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4178, allocations: 0 / 0.5628 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.4189, allocations: 0.6519 MB / 0.5634 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.4189, allocations: 4 kB / 0.5634 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.4192, allocations: 39.97 kB / 0.5634 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.4194, allocations: 52.75 kB / 0.5635 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.4194, allocations: 8 kB / 0.5635 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.4209, allocations: 1.413 MB / 0.5649 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4209, allocations: 3.938 kB / 0.5649 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.4218, allocations: 0.4989 MB / 0.5654 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.4219, allocations: 59.69 kB / 0.5654 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.422, allocations: 11.98 kB / 0.5654 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.4222, allocations: 8 kB / 0.5654 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.4222, allocations: 24.02 kB / 0.5655 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.4223, allocations: 12 kB / 0.5655 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003532/0.4226, allocations: 275.1 kB / 0.5657 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4226, allocations: 0 / 0.5657 GB, free: 11.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006185/0.4232, allocations: 123.8 kB / 0.5659 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.001716/0.425, allocations: 488 kB / 0.5663 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009563/0.4259, allocations: 395.2 kB / 0.5667 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4259, allocations: 0 / 0.5667 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.4263, allocations: 238.4 kB / 0.5669 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.0006734/0.427, allocations: 113.3 kB / 0.567 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.4291, allocations: 1.118 MB / 0.5681 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.4294, allocations: 251.9 kB / 0.5684 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002237/0.4296, allocations: 71.22 kB / 0.5684 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.4297, allocations: 35.42 kB / 0.5685 GB, free: 8.863 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4297, allocations: 0 / 0.5685 GB, free: 8.863 MB / 414.1 MB Notification: Performance of Templates: time 0.01446/0.4442, allocations: 6.938 MB / 0.5752 GB, free: 2.035 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] [Calling sys.exit(0), Time elapsed: 5.545620007440448] Failed to read output from testmodel.py, exit status != 0: 0.4529776368290186 0.468343896 0.06466129200000001 Calling exit ...