Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.001263/0.001263, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.441/1.441, allocations: 225.6 MB / 246.2 MB, free: 13.59 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.001507/0.001507, allocations: 185.4 kB / 301.4 MB, free: 9.082 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.04107/0.04107, allocations: 8.924 MB / 365.5 MB, free: 9.207 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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 83.66 kB / 489.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1331, allocations: 54.42 MB / 0.5311 GB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.03115/0.1642, allocations: 25.6 MB / 0.5561 GB, free: 4.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02028/0.1845, allocations: 7.987 MB / 0.5639 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007545/0.192, allocations: 179.5 kB / 0.5641 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02046/0.2125, allocations: 7.719 MB / 0.5716 GB, free: 5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.2244, allocations: 3.112 MB / 0.5746 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007373/0.2317, allocations: 2.022 MB / 0.5766 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01576/0.2475, allocations: 9.254 MB / 0.5856 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0277/0.2752, allocations: 10.54 MB / 0.5959 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01116/0.2863, allocations: 4.777 MB / 0.6006 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.2973, allocations: 5.311 MB / 0.6058 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004871/0.3022, allocations: 1.355 MB / 0.6071 GB, free: 436 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006755/0.3089, allocations: 1.718 MB / 0.6088 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006695/0.3156, allocations: 2.689 MB / 0.6114 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01227/0.3279, allocations: 5.074 MB / 0.6164 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03133/0.3592, allocations: 18.2 MB / 0.6342 GB, free: 4.652 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3592, allocations: 0 / 0.6342 GB, free: 4.652 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3592, allocations: 7.938 kB / 0.6342 GB, free: 4.645 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005871/0.3598, allocations: 0 / 0.6342 GB, free: 4.645 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.557/0.9168, allocations: 10.94 MB / 0.6448 GB, free: 83.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.9169, allocations: 9.188 kB / 0.6448 GB, free: 83.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03228/0.9492, allocations: 5.722 MB / 0.6504 GB, free: 81.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/0.9621, allocations: 5.811 MB / 0.6561 GB, free: 78.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005588/0.9627, allocations: 0.5848 MB / 0.6567 GB, free: 77.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003821/0.9665, allocations: 0.7589 MB / 0.6574 GB, free: 77.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03299/0.9995, allocations: 12.76 MB / 0.6699 GB, free: 66.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003827/0.9999, allocations: 7.953 kB / 0.6699 GB, free: 66.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002904/1.003, allocations: 331.7 kB / 0.6702 GB, free: 66.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004396/1.003, allocations: 0.4977 MB / 0.6707 GB, free: 65.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02329/1.026, allocations: 12.25 MB / 0.6827 GB, free: 53.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06074/1.087, allocations: 43.35 MB / 0.725 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02453/1.112, allocations: 24.81 MB / 0.7492 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005329/1.117, allocations: 2.71 MB / 0.7519 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004789/1.118, allocations: 248.6 kB / 0.7521 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004649/1.122, allocations: 2.584 MB / 0.7546 GB, free: 7.969 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 5.59e-06/1.122, allocations: 0 / 0.7546 GB, free: 7.969 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.04179/1.164, allocations: 18.39 MB / 0.7726 GB, free: 5.551 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002237/1.164, allocations: 359.5 kB / 0.7729 GB, free: 5.125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005863/1.17, allocations: 3.531 MB / 0.7764 GB, free: 1.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009126/1.171, allocations: 93.7 kB / 0.7765 GB, free: 1.492 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003197/1.174, allocations: 3.485 MB / 0.7799 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002052/1.176, allocations: 1.422 MB / 0.7813 GB, free: 12.54 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002016/1.178, allocations: 1.085 MB / 0.7823 GB, free: 11.45 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.178, allocations: 301.1 kB / 0.7826 GB, free: 11.15 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004208/1.183, allocations: 2.556 MB / 0.7851 GB, free: 8.586 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006077/1.189, allocations: 4.508 MB / 0.7895 GB, free: 3.195 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.2, allocations: 7.447 MB / 0.7968 GB, free: 10.88 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.119e-05/1.2, allocations: 20 kB / 0.7968 GB, free: 10.86 MB / 0.5138 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01726/1.217, allocations: 8.266 MB / 0.8049 GB, free: 2.566 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.957e-05/1.217, allocations: 57.7 kB / 0.8049 GB, free: 2.504 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.218, allocations: 60 kB / 0.805 GB, free: 2.445 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/1.221, allocations: 1.006 MB / 0.806 GB, free: 1.434 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004994/1.226, allocations: 1.256 MB / 0.8072 GB, free: 180 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.24, allocations: 8.812 MB / 0.8158 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/1.244, allocations: 359.7 kB / 0.8161 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009024/1.245, allocations: 264 kB / 0.8164 GB, free: 6.605 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.005746/1.251, allocations: 2.914 MB / 0.8192 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/1.252, allocations: 413.3 kB / 0.8196 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/1.264, allocations: 6.148 MB / 0.8256 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-05/1.264, allocations: 40 kB / 0.8257 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/1.264, allocations: 12 kB / 0.8257 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.094e-05/1.264, allocations: 27.92 kB / 0.8257 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03039/1.294, allocations: 14.61 MB / 0.84 GB, free: 14.21 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/1.295, allocations: 4 kB / 0.84 GB, free: 14.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003181/1.298, allocations: 0.691 MB / 0.8406 GB, free: 13.51 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/1.3, allocations: 0.873 MB / 0.8415 GB, free: 12.64 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008893/1.301, allocations: 87.98 kB / 0.8416 GB, free: 12.55 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/1.314, allocations: 7.757 MB / 0.8492 GB, free: 4.641 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/1.314, allocations: 12.03 kB / 0.8492 GB, free: 4.629 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2783/1.593, allocations: 8.754 MB / 0.8577 GB, free: 191.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/1.595, allocations: 0.9339 MB / 0.8586 GB, free: 191.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009149/1.596, allocations: 73.59 kB / 0.8587 GB, free: 191.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/1.598, allocations: 198.8 kB / 0.8589 GB, free: 191 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005949/1.599, allocations: 270 kB / 0.8591 GB, free: 191 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/1.599, allocations: 117.6 kB / 0.8593 GB, free: 191 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003886/1.603, allocations: 2.36 MB / 0.8616 GB, free: 190.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.5e-07/1.603, allocations: 1.219 kB / 0.8616 GB, free: 190.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007888/1.611, allocations: 1.456 MB / 0.863 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.0009347/1.612, allocations: 248.6 kB / 0.8632 GB, free: 189.7 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.622, allocations: 6.216 MB / 0.8693 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/1.622, allocations: 3.969 kB / 0.8693 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006165/1.629, allocations: 2.873 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.005014/1.634, allocations: 0.817 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.02442/1.658, allocations: 14.05 MB / 0.8866 GB, free: 179.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005055/1.663, allocations: 5.006 MB / 0.8915 GB, free: 177.2 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004437/1.668, allocations: 1.594 MB / 0.8931 GB, free: 176.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/1.669, allocations: 331.4 kB / 0.8934 GB, free: 175.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.302e-06/1.669, allocations: 0 / 0.8934 GB, free: 175.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.09522/1.764, allocations: 61.57 MB / 0.9535 GB, free: 116.1 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.12891951110214]