Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.001272/0.001272, 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.429/1.429, 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.001444/0.001444, allocations: 195.8 kB / 301.4 MB, free: 9.09 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.03996/0.03996, allocations: 8.927 MB / 365.5 MB, free: 9.223 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_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 91.34 kB / 489.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1321, allocations: 54.41 MB / 0.5311 GB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.03242/0.1645, allocations: 25.61 MB / 0.5561 GB, free: 4.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02006/0.1845, allocations: 7.987 MB / 0.5639 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006948/0.1915, allocations: 175.5 kB / 0.5641 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01971/0.2112, allocations: 7.717 MB / 0.5716 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01342/0.2246, allocations: 3.112 MB / 0.5746 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007339/0.2319, allocations: 2.02 MB / 0.5766 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01509/0.247, allocations: 9.254 MB / 0.5856 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02005/0.2671, allocations: 10.55 MB / 0.5959 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008811/0.2759, allocations: 4.784 MB / 0.6006 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/0.2865, allocations: 5.311 MB / 0.6058 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005281/0.2918, allocations: 1.352 MB / 0.6071 GB, free: 440 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007815/0.2996, allocations: 1.722 MB / 0.6088 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006839/0.3064, allocations: 2.681 MB / 0.6114 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0123/0.3187, allocations: 5.082 MB / 0.6164 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02843/0.3472, allocations: 18.2 MB / 0.6342 GB, free: 4.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3472, allocations: 0 / 0.6342 GB, free: 4.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3472, allocations: 0 / 0.6342 GB, free: 4.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005476/0.3477, allocations: 0 / 0.6342 GB, free: 4.66 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.5605/0.9082, allocations: 10.94 MB / 0.6448 GB, free: 83.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.9083, allocations: 9.656 kB / 0.6449 GB, free: 83.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03223/0.9405, allocations: 5.725 MB / 0.6504 GB, free: 81.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/0.9528, allocations: 5.803 MB / 0.6561 GB, free: 77.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005387/0.9534, allocations: 0.582 MB / 0.6567 GB, free: 77.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003543/0.9569, allocations: 0.7636 MB / 0.6574 GB, free: 77.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03205/0.989, allocations: 12.76 MB / 0.6699 GB, free: 66.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003823/0.9893, allocations: 15.94 kB / 0.6699 GB, free: 66.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003133/0.9925, allocations: 326.2 kB / 0.6702 GB, free: 65.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004627/0.9929, allocations: 0.4966 MB / 0.6707 GB, free: 65.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/1.017, allocations: 12.25 MB / 0.6827 GB, free: 53.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06307/1.08, allocations: 43.35 MB / 0.725 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02328/1.104, allocations: 24.81 MB / 0.7492 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005243/1.109, allocations: 2.714 MB / 0.7519 GB, free: 10.72 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/1.109, allocations: 252.2 kB / 0.7521 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004966/1.114, allocations: 2.575 MB / 0.7546 GB, free: 7.805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 5.29e-06/1.114, allocations: 0 / 0.7546 GB, free: 7.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.04382/1.158, allocations: 18.4 MB / 0.7726 GB, free: 5.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003202/1.159, allocations: 355.5 kB / 0.7729 GB, free: 4.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00625/1.165, allocations: 3.527 MB / 0.7764 GB, free: 1.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006935/1.165, allocations: 89.7 kB / 0.7765 GB, free: 1.336 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003026/1.169, allocations: 3.489 MB / 0.7799 GB, free: 13.82 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00204/1.171, allocations: 1.426 MB / 0.7813 GB, free: 12.39 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001946/1.172, allocations: 1.085 MB / 0.7823 GB, free: 11.29 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.173, allocations: 301.1 kB / 0.7826 GB, free: 11 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00438/1.177, allocations: 2.549 MB / 0.7851 GB, free: 8.441 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006561/1.184, allocations: 4.516 MB / 0.7895 GB, free: 3.043 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/1.195, allocations: 7.455 MB / 0.7968 GB, free: 10.71 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.326e-05/1.195, allocations: 20 kB / 0.7968 GB, free: 10.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01725/1.213, allocations: 8.267 MB / 0.8049 GB, free: 2.402 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.642e-05/1.213, allocations: 57.7 kB / 0.8049 GB, free: 2.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/1.213, allocations: 60 kB / 0.805 GB, free: 2.281 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/1.216, allocations: 0.9944 MB / 0.806 GB, free: 1.281 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005053/1.221, allocations: 1.263 MB / 0.8072 GB, free: 16 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/1.235, allocations: 8.812 MB / 0.8158 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004742/1.24, allocations: 359.5 kB / 0.8161 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/1.241, allocations: 264 kB / 0.8164 GB, free: 6.445 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.005771/1.247, allocations: 2.91 MB / 0.8192 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.248, allocations: 409.4 kB / 0.8196 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.259, allocations: 6.14 MB / 0.8256 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-05/1.259, allocations: 43.94 kB / 0.8257 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/1.259, allocations: 8 kB / 0.8257 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.668e-05/1.259, allocations: 27.92 kB / 0.8257 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/1.287, allocations: 14.62 MB / 0.84 GB, free: 14.05 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/1.287, allocations: 12.53 kB / 0.84 GB, free: 14.04 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/1.29, allocations: 0.6826 MB / 0.8407 GB, free: 13.35 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002797/1.293, allocations: 0.8731 MB / 0.8415 GB, free: 12.48 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005872/1.294, allocations: 83.98 kB / 0.8416 GB, free: 12.39 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/1.306, allocations: 7.761 MB / 0.8492 GB, free: 4.484 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.306, allocations: 12.03 kB / 0.8492 GB, free: 4.473 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2683/1.574, allocations: 8.756 MB / 0.8577 GB, free: 191 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/1.577, allocations: 0.9345 MB / 0.8586 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/1.578, allocations: 74.22 kB / 0.8587 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/1.581, allocations: 198.4 kB / 0.8589 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006307/1.581, allocations: 271.2 kB / 0.8592 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/1.582, allocations: 115.9 kB / 0.8593 GB, free: 190.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004015/1.586, allocations: 2.364 MB / 0.8616 GB, free: 190 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.2e-07/1.586, allocations: 0 / 0.8616 GB, free: 190 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006149/1.592, allocations: 1.452 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.0008031/1.593, allocations: 251.6 kB / 0.8632 GB, free: 189.7 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01046/1.603, allocations: 6.215 MB / 0.8693 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.603, allocations: 3.938 kB / 0.8693 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005824/1.609, allocations: 2.875 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.004536/1.613, allocations: 0.8177 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.02424/1.638, 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.005626/1.643, allocations: 5.006 MB / 0.8915 GB, free: 176.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004805/1.648, allocations: 1.596 MB / 0.8931 GB, free: 175.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/1.649, allocations: 332.5 kB / 0.8934 GB, free: 175.5 MB / 0.5607 GB Notification: Performance of SimCode: time 2.335e-06/1.649, allocations: 0 / 0.8934 GB, free: 175.5 MB / 0.5607 GB Notification: Performance of Templates: time 0.09412/1.744, allocations: 61.57 MB / 0.9535 GB, free: 115.7 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.238937095738947]