Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.001294/0.001294, allocations: 80.61 kB / 19.18 MB, free: 2.516 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.376/1.376, allocations: 177.1 MB / 199.4 MB, free: 8.434 MB / 190.1 MB " [Timeout remaining time 178] 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.00172/0.00172, allocations: 161.3 kB / 256 MB, free: 4.328 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04029/0.04029, allocations: 6.657 MB / 319 MB, free: 5.387 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 445.9 MB, free: 25.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.878e-05, allocations: 8.891 kB / 445.9 MB, free: 25.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.01784/0.01787, allocations: 22 MB / 467.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01627/0.03413, allocations: 7.714 MB / 475.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005038/0.03917, allocations: 203 kB / 475.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01991/0.05908, allocations: 7.547 MB / 483.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.07006, allocations: 3.167 MB / 486.6 MB, free: 376 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1821/0.2521, allocations: 2.001 MB / 488.6 MB, free: 17.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01165/0.2638, allocations: 9.706 MB / 498.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01609/0.2799, allocations: 11.22 MB / 0.4975 GB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.2933, allocations: 7.148 MB / 0.5045 GB, free: 7.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008521/0.3019, allocations: 4.509 MB / 0.5089 GB, free: 5.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003268/0.3051, allocations: 1.354 MB / 0.5103 GB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006373/0.3115, allocations: 1.736 MB / 0.5119 GB, free: 3.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003732/0.3152, allocations: 2.735 MB / 0.5146 GB, free: 1.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009522/0.3248, allocations: 3.58 MB / 0.5181 GB, free: 15.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02459/0.3493, allocations: 18.49 MB / 0.5362 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3494, allocations: 0 / 0.5362 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3494, allocations: 0.8125 kB / 0.5362 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004006/0.3498, allocations: 0 / 0.5362 GB, free: 13.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03808/0.3878, allocations: 10.8 MB / 0.5467 GB, free: 2.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.3879, allocations: 11.98 kB / 0.5467 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03606/0.424, allocations: 5.677 MB / 0.5523 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.4385, allocations: 5.834 MB / 0.558 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006113/0.4391, allocations: 0.5828 MB / 0.5585 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002735/0.4418, allocations: 0.7696 MB / 0.5593 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03067/0.4725, allocations: 12.97 MB / 0.572 GB, free: 8.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002826/0.4728, allocations: 11.95 kB / 0.572 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002265/0.475, allocations: 323.4 kB / 0.5723 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006263/0.4757, allocations: 0.4928 MB / 0.5728 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03007/0.5057, allocations: 12.23 MB / 0.5847 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07393/0.5797, allocations: 36.69 MB / 0.6205 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02034/0.6, allocations: 8.909 MB / 0.6293 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005241/0.6052, allocations: 2.717 MB / 0.6319 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/0.6056, allocations: 98.98 kB / 0.632 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0051/0.6107, allocations: 2.791 MB / 0.6347 GB, free: 9.219 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 7.243e-06/0.6107, allocations: 0 / 0.6347 GB, free: 9.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.04421/0.6549, allocations: 18.31 MB / 0.6526 GB, free: 6.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002162/0.6551, allocations: 355.5 kB / 0.6529 GB, free: 6.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00543/0.6606, allocations: 3.369 MB / 0.6562 GB, free: 3.062 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007229/0.6613, allocations: 89.7 kB / 0.6563 GB, free: 2.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3241/0.9854, allocations: 3.483 MB / 0.6597 GB, free: 161.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002253/0.9877, allocations: 1.402 MB / 0.6611 GB, free: 160.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002131/0.9898, allocations: 1.092 MB / 0.6622 GB, free: 160.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.9898, allocations: 302.7 kB / 0.6624 GB, free: 160.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003871/0.9937, allocations: 2.583 MB / 0.665 GB, free: 159.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005324/0.999, allocations: 4.721 MB / 0.6696 GB, free: 156.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.009, allocations: 7.466 MB / 0.6769 GB, free: 151.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001433/1.009, allocations: 17.94 kB / 0.6769 GB, free: 151.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01495/1.024, allocations: 8.291 MB / 0.685 GB, free: 148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.024, allocations: 64.97 kB / 0.685 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/1.024, allocations: 62.69 kB / 0.6851 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002702/1.027, allocations: 0.9944 MB / 0.6861 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004601/1.032, allocations: 1.274 MB / 0.6873 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/1.043, allocations: 8.509 MB / 0.6956 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/1.048, allocations: 351.3 kB / 0.696 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.049, allocations: 270 kB / 0.6962 GB, free: 142.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005859/1.055, allocations: 2.897 MB / 0.6991 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/1.056, allocations: 381.6 kB / 0.6994 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/1.067, allocations: 6.172 MB / 0.7054 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/1.067, allocations: 44 kB / 0.7055 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/1.067, allocations: 11.94 kB / 0.7055 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.536e-05/1.067, allocations: 30.25 kB / 0.7055 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02422/1.091, allocations: 12.75 MB / 0.718 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/1.091, allocations: 8.719 kB / 0.718 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002805/1.094, allocations: 0.6826 MB / 0.7187 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/1.097, allocations: 0.8755 MB / 0.7195 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004351/1.097, allocations: 91.97 kB / 0.7196 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009436/1.107, allocations: 7.469 MB / 0.7269 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.107, allocations: 8 kB / 0.7269 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/1.12, allocations: 8.807 MB / 0.7355 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/1.123, allocations: 0.8273 MB / 0.7363 GB, free: 104.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.124, allocations: 79.98 kB / 0.7364 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/1.126, allocations: 187.8 kB / 0.7366 GB, free: 104.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005875/1.127, allocations: 295 kB / 0.7368 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/1.127, allocations: 121 kB / 0.737 GB, free: 103.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002707/1.13, allocations: 2.162 MB / 0.7391 GB, free: 101.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.13, allocations: 0 / 0.7391 GB, free: 101.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004573/1.134, allocations: 1.453 MB / 0.7405 GB, free: 100.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005506/1.135, allocations: 256 kB / 0.7407 GB, free: 99.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009219/1.144, allocations: 6.286 MB / 0.7469 GB, free: 93.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.144, allocations: 0 / 0.7469 GB, free: 93.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004311/1.148, allocations: 2.908 MB / 0.7497 GB, free: 90.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/1.152, allocations: 0.7152 MB / 0.7504 GB, free: 89.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.172, allocations: 13.89 MB / 0.764 GB, free: 75.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004262/1.176, allocations: 4.538 MB / 0.7684 GB, free: 71.33 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003927/1.18, allocations: 1.553 MB / 0.7699 GB, free: 69.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.181, allocations: 344.4 kB / 0.7702 GB, free: 69.44 MB / 494.1 MB Notification: Performance of SimCode: time 1.332e-06/1.181, allocations: 4 kB / 0.7703 GB, free: 69.43 MB / 494.1 MB Notification: Performance of Templates: time 0.085/1.266, allocations: 53.85 MB / 0.8228 GB, free: 16.2 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.479584440588951] Failed to read output from testmodel.py, exit status != 0: 1.2735416628420353 1.283855775 0.932005128 Calling exit ...