Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.001256/0.001256, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001406/0.001406, allocations: 209.8 kB / 24.49 MB, free: 4.133 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: 8.004 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.1815/0.1815, allocations: 38.52 MB / 353.2 MB, free: 12.54 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.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [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.001954/0.001954, allocations: 67.91 kB / 493.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3163, allocations: 62.46 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006737/0.3231, allocations: 4.978 MB / 0.5481 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.3255, allocations: 1.522 MB / 0.5496 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.3258, allocations: 22 kB / 0.5496 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.3262, allocations: 102.7 kB / 0.5497 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007246/0.3269, allocations: 275.4 kB / 0.55 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.3273, allocations: 143.4 kB / 0.5501 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007924/0.3281, allocations: 0.5891 MB / 0.5507 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.3285, allocations: 302.4 kB / 0.551 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.3289, allocations: 247.5 kB / 0.5512 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.3292, allocations: 246.7 kB / 0.5514 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.3293, allocations: 39.72 kB / 0.5515 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.345e-05/0.3294, allocations: 43.09 kB / 0.5515 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.3295, allocations: 122.8 kB / 0.5516 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.3297, allocations: 220.3 kB / 0.5518 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.3304, allocations: 0.5073 MB / 0.5523 GB, free: 9.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3304, allocations: 1.156 kB / 0.5523 GB, free: 9.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3304, allocations: 0 / 0.5523 GB, free: 9.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3304, allocations: 3.938 kB / 0.5523 GB, free: 9.602 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001255/0.3316, allocations: 0.644 MB / 0.553 GB, free: 9.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3317, allocations: 13.3 kB / 0.553 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.627e-05/0.3318, allocations: 51.66 kB / 0.553 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/0.3324, allocations: 350.9 kB / 0.5534 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.3325, allocations: 93.2 kB / 0.5534 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/0.3326, allocations: 35.5 kB / 0.5535 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006999/0.3333, allocations: 432.8 kB / 0.5539 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.3333, allocations: 1.094 kB / 0.5539 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.3333, allocations: 15.72 kB / 0.5539 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3333, allocations: 9.062 kB / 0.5539 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.3339, allocations: 278.2 kB / 0.5542 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.3361, allocations: 1.765 MB / 0.5559 GB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.3365, allocations: 180.2 kB / 0.5561 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.3366, allocations: 67.47 kB / 0.5561 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3366, allocations: 6.297 kB / 0.5561 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3367, allocations: 43.64 kB / 0.5562 GB, free: 6.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.3367, allocations: 1.125 kB / 0.5562 GB, free: 6.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001366/0.338, allocations: 0.6441 MB / 0.5568 GB, free: 5.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.3381, allocations: 109.4 kB / 0.5569 GB, free: 5.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.3385, allocations: 313.2 kB / 0.5572 GB, free: 5.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3385, allocations: 30.95 kB / 0.5573 GB, free: 5.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.3387, allocations: 243.5 kB / 0.5575 GB, free: 5.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.738e-05/0.3387, allocations: 72.27 kB / 0.5576 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.3388, allocations: 65.61 kB / 0.5576 GB, free: 5.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.339, allocations: 342.4 kB / 0.5579 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.3391, allocations: 70.94 kB / 0.558 GB, free: 4.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.3394, allocations: 204.5 kB / 0.5582 GB, free: 4.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004244/0.3398, allocations: 298.7 kB / 0.5585 GB, free: 4.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3398, allocations: 4 kB / 0.5585 GB, free: 4.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005375/0.3404, allocations: 328 kB / 0.5588 GB, free: 3.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3404, allocations: 7.938 kB / 0.5588 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3404, allocations: 4 kB / 0.5588 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.3404, allocations: 8 kB / 0.5588 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.3407, allocations: 79.84 kB / 0.5589 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.3407, allocations: 8.484 kB / 0.5589 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3409, allocations: 16 kB / 0.5589 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.3409, allocations: 16 kB / 0.5589 GB, free: 3.855 MB / 398.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002089/0.3411, allocations: 185.6 kB / 0.5591 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.3412, allocations: 35.75 kB / 0.5592 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.3416, allocations: 188.6 kB / 0.5593 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3416, allocations: 4 kB / 0.5593 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3416, allocations: 0 / 0.5593 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3416, allocations: 8 kB / 0.5593 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.3426, allocations: 0.5947 MB / 0.5599 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3426, allocations: 0 / 0.5599 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.3429, allocations: 51.84 kB / 0.56 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3429, allocations: 0 / 0.56 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.3429, allocations: 4 kB / 0.56 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3429, allocations: 0 / 0.56 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.3429, allocations: 8.031 kB / 0.56 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.3435, allocations: 456.1 kB / 0.5604 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.3436, allocations: 23.81 kB / 0.5604 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.3436, allocations: 8 kB / 0.5604 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.3438, allocations: 16.03 kB / 0.5605 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.3439, allocations: 7.984 kB / 0.5605 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3439, allocations: 7.984 kB / 0.5605 GB, free: 2.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.3441, allocations: 215.1 kB / 0.5607 GB, free: 1.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3441, allocations: 4 kB / 0.5607 GB, free: 1.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000428/0.3445, allocations: 71.94 kB / 0.5608 GB, free: 1.898 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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 (20): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.3447, allocations: 103.2 kB / 0.5609 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004191/0.3451, allocations: 187.6 kB / 0.561 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3451, allocations: 0 / 0.561 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.3452, allocations: 80.97 kB / 0.5611 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/0.3459, allocations: 96.44 kB / 0.5612 GB, free: 1.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.3476, allocations: 0.9305 MB / 0.5621 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.348, allocations: 0.8145 MB / 0.5629 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.3481, allocations: 31.44 kB / 0.5629 GB, free: 15.59 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3481, allocations: 0 / 0.5629 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Templates: time 0.007342/0.3554, allocations: 4.583 MB / 0.5674 GB, free: 11.03 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.652654425939545] Failed to read output from testmodel.py, exit status != 0: 0.36432527704164386 0.378760099 0.045221089000000006 Calling exit ...