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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 246.2 MB, free: 13.57 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 197.6 kB / 301.4 MB, free: 9.098 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04136/0.04136, allocations: 8.921 MB / 365.5 MB, free: 9.234 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002434/0.002434, allocations: 86.09 kB / 489.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.105, allocations: 54.41 MB / 0.5311 GB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.0308/0.1358, allocations: 25.59 MB / 0.5561 GB, free: 4.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01887/0.1547, allocations: 7.991 MB / 0.5639 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005697/0.1604, allocations: 171.6 kB / 0.564 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0199/0.1803, allocations: 7.717 MB / 0.5716 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.1913, allocations: 3.116 MB / 0.5746 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006493/0.1978, allocations: 2.01 MB / 0.5766 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.015/0.2128, allocations: 9.26 MB / 0.5856 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03031/0.2431, allocations: 10.54 MB / 0.5959 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01261/0.2557, allocations: 4.777 MB / 0.6006 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01536/0.271, allocations: 5.318 MB / 0.6058 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005475/0.2765, allocations: 1.355 MB / 0.6071 GB, free: 464 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007749/0.2843, allocations: 1.722 MB / 0.6088 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00653/0.2908, allocations: 2.673 MB / 0.6114 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01378/0.3046, allocations: 5.09 MB / 0.6163 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03929/0.3439, allocations: 18.19 MB / 0.6341 GB, free: 4.695 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3439, allocations: 3.938 kB / 0.6341 GB, free: 4.691 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3439, allocations: 0 / 0.6341 GB, free: 4.691 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004933/0.3444, allocations: 8 kB / 0.6341 GB, free: 4.684 MB / 446.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.3759/0.7203, allocations: 10.94 MB / 0.6448 GB, free: 83.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.571e-05/0.7204, allocations: 8.25 kB / 0.6448 GB, free: 83.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03439/0.7548, allocations: 5.722 MB / 0.6504 GB, free: 81.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/0.7679, allocations: 5.814 MB / 0.6561 GB, free: 77.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006531/0.7686, allocations: 0.5819 MB / 0.6566 GB, free: 77.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003675/0.7722, allocations: 0.7596 MB / 0.6574 GB, free: 77.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04034/0.8126, allocations: 12.76 MB / 0.6698 GB, free: 66.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007289/0.8133, allocations: 11.95 kB / 0.6698 GB, free: 66.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004415/0.8177, allocations: 330.5 kB / 0.6702 GB, free: 65.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005556/0.8183, allocations: 0.5006 MB / 0.6707 GB, free: 65.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02806/0.8463, allocations: 12.25 MB / 0.6826 GB, free: 53.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07471/0.921, allocations: 43.35 MB / 0.7249 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02458/0.9456, allocations: 24.82 MB / 0.7492 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006429/0.9521, allocations: 2.703 MB / 0.7518 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007333/0.9528, allocations: 251.8 kB / 0.7521 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00728/0.9601, allocations: 2.583 MB / 0.7546 GB, free: 7.762 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 1.881e-05/0.9601, allocations: 0 / 0.7546 GB, free: 7.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.05199/1.012, allocations: 18.38 MB / 0.7725 GB, free: 5.344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000276/1.012, allocations: 355.5 kB / 0.7729 GB, free: 4.922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008996/1.021, allocations: 3.527 MB / 0.7763 GB, free: 1.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009716/1.022, allocations: 89.7 kB / 0.7764 GB, free: 1.297 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003451/1.026, allocations: 3.486 MB / 0.7798 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002868/1.029, allocations: 1.426 MB / 0.7812 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004109/1.033, allocations: 1.085 MB / 0.7823 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.033, allocations: 309.1 kB / 0.7826 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00534/1.038, allocations: 2.549 MB / 0.785 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007412/1.046, allocations: 4.508 MB / 0.7895 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/1.059, allocations: 7.451 MB / 0.7967 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/1.059, allocations: 20 kB / 0.7967 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.02466/1.084, allocations: 8.263 MB / 0.8048 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/1.084, allocations: 57.7 kB / 0.8049 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/1.084, allocations: 60 kB / 0.8049 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003378/1.088, allocations: 1.006 MB / 0.8059 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006006/1.094, allocations: 1.256 MB / 0.8071 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/1.11, allocations: 8.811 MB / 0.8157 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005846/1.116, allocations: 363.5 kB / 0.8161 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001423/1.117, allocations: 264 kB / 0.8163 GB, free: 6.414 MB / 0.5294 GB 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.009062/1.126, allocations: 2.91 MB / 0.8192 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/1.128, allocations: 405.4 kB / 0.8196 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.145, allocations: 6.148 MB / 0.8256 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.092e-05/1.145, allocations: 47.94 kB / 0.8256 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.479e-05/1.145, allocations: 8 kB / 0.8256 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001535/1.145, allocations: 19.92 kB / 0.8256 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/1.184, allocations: 14.62 MB / 0.8399 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.184, allocations: 4 kB / 0.8399 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003231/1.187, allocations: 0.6865 MB / 0.8406 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/1.19, allocations: 0.8775 MB / 0.8415 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006652/1.191, allocations: 91.97 kB / 0.8415 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/1.204, allocations: 7.753 MB / 0.8491 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.204, allocations: 4.375 kB / 0.8491 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5596/1.764, allocations: 8.761 MB / 0.8577 GB, free: 191 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003097/1.767, allocations: 0.927 MB / 0.8586 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001858/1.769, allocations: 79.97 kB / 0.8587 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00348/1.772, allocations: 201 kB / 0.8588 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007836/1.773, allocations: 274.4 kB / 0.8591 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002647/1.773, allocations: 112.1 kB / 0.8592 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004077/1.777, allocations: 2.362 MB / 0.8615 GB, free: 190.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.11e-07/1.777, allocations: 0.5 kB / 0.8615 GB, free: 190.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00664/1.784, allocations: 1.458 MB / 0.8629 GB, free: 189.9 MB / 0.5607 GB 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.0007804/1.785, allocations: 247.8 kB / 0.8632 GB, free: 189.7 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01059/1.795, allocations: 6.212 MB / 0.8692 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.795, allocations: 0 / 0.8692 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.004669/1.8, allocations: 2.884 MB / 0.8721 GB, free: 186.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/1.804, allocations: 0.8067 MB / 0.8729 GB, free: 185.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/1.829, allocations: 14.06 MB / 0.8866 GB, free: 179.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005504/1.835, allocations: 5.01 MB / 0.8915 GB, free: 176.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004314/1.839, allocations: 1.587 MB / 0.893 GB, free: 175.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.84, allocations: 334.6 kB / 0.8933 GB, free: 175.5 MB / 0.5607 GB Notification: Performance of SimCode: time 1.432e-06/1.84, allocations: 0 / 0.8933 GB, free: 175.5 MB / 0.5607 GB Notification: Performance of Templates: time 0.09844/1.939, allocations: 61.55 MB / 0.9535 GB, free: 115.7 MB / 0.5607 GB " [Timeout remaining time 658] 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: 8.551992407999933]