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.001265/0.001265, allocations: 112.2 kB / 21.19 MB, free: 0.7695 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.001429/0.001429, allocations: 210 kB / 24.5 MB, free: 4.156 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.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.177/0.177, allocations: 38.51 MB / 353.2 MB, free: 12.55 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_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.001994/0.001994, allocations: 71.89 kB / 493.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2987, allocations: 62.46 MB / 0.5432 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007713/0.3064, allocations: 5.906 MB / 0.549 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00403/0.3105, allocations: 2.311 MB / 0.5512 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005353/0.311, allocations: 23.94 kB / 0.5513 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006907/0.3117, allocations: 176.9 kB / 0.5514 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.3131, allocations: 458.7 kB / 0.5519 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.3138, allocations: 257.5 kB / 0.5521 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.3151, allocations: 0.8633 MB / 0.553 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005371/0.3156, allocations: 396.3 kB / 0.5533 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005869/0.3162, allocations: 367.1 kB / 0.5537 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005572/0.3168, allocations: 361.4 kB / 0.554 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.686e-05/0.3168, allocations: 54.66 kB / 0.5541 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.3171, allocations: 147.3 kB / 0.5542 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.3174, allocations: 188.5 kB / 0.5544 GB, free: 8.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.3177, allocations: 317 kB / 0.5547 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009963/0.3187, allocations: 0.7853 MB / 0.5555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.3187, allocations: 1.188 kB / 0.5555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3187, allocations: 0 / 0.5555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.3187, allocations: 3.938 kB / 0.5555 GB, free: 7.316 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.001747/0.3204, allocations: 0.8665 MB / 0.5563 GB, free: 6.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3205, allocations: 14.17 kB / 0.5563 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.3206, allocations: 66.86 kB / 0.5564 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009427/0.3216, allocations: 475 kB / 0.5569 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.3216, allocations: 35.09 kB / 0.5569 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.3217, allocations: 44.36 kB / 0.5569 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000811/0.3225, allocations: 0.519 MB / 0.5574 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3225, allocations: 4 kB / 0.5574 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.3226, allocations: 19.98 kB / 0.5575 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.236e-05/0.3227, allocations: 17 kB / 0.5575 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005665/0.3232, allocations: 335.7 kB / 0.5578 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.3262, allocations: 1.997 MB / 0.5598 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.3266, allocations: 223.6 kB / 0.56 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.3267, allocations: 78.67 kB / 0.56 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.3268, allocations: 7.938 kB / 0.56 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.327, allocations: 162.1 kB / 0.5602 GB, free: 2.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.834e-06/0.327, allocations: 0 / 0.5602 GB, free: 2.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001746/0.3288, allocations: 0.8712 MB / 0.5611 GB, free: 1.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.3289, allocations: 136.8 kB / 0.5612 GB, free: 1.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005504/0.3294, allocations: 445.8 kB / 0.5616 GB, free: 1.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3295, allocations: 33.7 kB / 0.5616 GB, free: 1.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.3297, allocations: 304.2 kB / 0.5619 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.024e-05/0.3298, allocations: 91.27 kB / 0.562 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3299, allocations: 74.09 kB / 0.5621 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3301, allocations: 358.7 kB / 0.5624 GB, free: 424 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3302, allocations: 88.77 kB / 0.5625 GB, free: 336 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.3305, allocations: 229.4 kB / 0.5627 GB, free: 44 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.331, allocations: 320 kB / 0.563 GB, free: 15.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.331, allocations: 0 / 0.563 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008905/0.3319, allocations: 445.8 kB / 0.5635 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3319, allocations: 4 kB / 0.5635 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3319, allocations: 4 kB / 0.5635 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/0.3323, allocations: 105.1 kB / 0.5636 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.3326, allocations: 75.84 kB / 0.5636 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.3349, allocations: 1.721 MB / 0.5653 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.3352, allocations: 23.98 kB / 0.5653 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.3352, allocations: 20 kB / 0.5654 GB, free: 13.16 MB / 414.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.0002988/0.3355, allocations: 213.6 kB / 0.5656 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.3356, allocations: 51.61 kB / 0.5656 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006139/0.3362, allocations: 274.2 kB / 0.5659 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3362, allocations: 4 kB / 0.5659 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3362, allocations: 4 kB / 0.5659 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3362, allocations: 4 kB / 0.5659 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.3375, allocations: 0.755 MB / 0.5666 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3375, allocations: 4 kB / 0.5666 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.3378, allocations: 43.92 kB / 0.5667 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/0.338, allocations: 52.8 kB / 0.5667 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.338, allocations: 8 kB / 0.5667 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.3394, allocations: 1.436 MB / 0.5681 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3394, allocations: 3.938 kB / 0.5681 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007892/0.3402, allocations: 481.6 kB / 0.5686 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.3404, allocations: 55.75 kB / 0.5687 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.3404, allocations: 16.02 kB / 0.5687 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.3407, allocations: 15.98 kB / 0.5687 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.3407, allocations: 23.95 kB / 0.5687 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.3408, allocations: 7.984 kB / 0.5687 GB, free: 9.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003869/0.3411, allocations: 303.1 kB / 0.569 GB, free: 9.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3411, allocations: 3.938 kB / 0.569 GB, free: 9.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005985/0.3417, allocations: 139.9 kB / 0.5691 GB, free: 9.074 MB / 414.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.001565/0.3433, allocations: 453.5 kB / 0.5696 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00098/0.3443, allocations: 386.5 kB / 0.5699 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3443, allocations: 4 kB / 0.5699 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.3447, allocations: 239.5 kB / 0.5702 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007936/0.3455, allocations: 134.7 kB / 0.5703 GB, free: 8.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.3478, allocations: 1.248 MB / 0.5715 GB, free: 6.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.3484, allocations: 0.8815 MB / 0.5724 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3485, allocations: 39.42 kB / 0.5724 GB, free: 5.789 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3485, allocations: 4 kB / 0.5724 GB, free: 5.785 MB / 414.1 MB Notification: Performance of Templates: time 0.01446/0.363, allocations: 9.322 MB / 0.5815 GB, free: 12.5 MB / 430.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: 8.656965979142115] Failed to read output from testmodel.py, exit status != 0: 0.37169980606995523 0.38636215700000004 0.064313168 Calling exit ...