Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.0009511/0.0009511, allocations: 88.22 kB / 19.4 MB, free: 0.5273 MB / 13.93 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 0.9474/0.9474, allocations: 177.2 MB / 199.7 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.001264/0.001264, allocations: 162.4 kB / 256.2 MB, free: 320 kB / 234.7 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.03092/0.03092, allocations: 6.652 MB / 319.4 MB, free: 1.355 MB / 298.7 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_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 390.9 MB, free: 58.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.12e-05, allocations: 2.312 kB / 390.9 MB, free: 58.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.02099/0.02102, allocations: 24.63 MB / 415.5 MB, free: 33.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.03689, allocations: 7.922 MB / 423.4 MB, free: 25.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008256/0.04514, allocations: 207 kB / 423.6 MB, free: 25.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01525/0.0604, allocations: 8.086 MB / 431.7 MB, free: 17.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009658/0.07006, allocations: 3.173 MB / 434.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004849/0.0749, allocations: 2.056 MB / 436.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.08524, allocations: 9.701 MB / 446.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01856/0.1038, allocations: 11.23 MB / 457.9 MB, free: 7.293 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01353/0.1173, allocations: 7.203 MB / 465.1 MB, free: 80 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1727/0.29, allocations: 4.953 MB / 470 MB, free: 33.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004052/0.2941, allocations: 1.353 MB / 471.4 MB, free: 33.1 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005548/0.2996, allocations: 1.742 MB / 473.1 MB, free: 33.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004505/0.3041, allocations: 2.77 MB / 475.9 MB, free: 33.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008777/0.3129, allocations: 3.456 MB / 479.4 MB, free: 33.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.3296, allocations: 8.632 MB / 488 MB, free: 31.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3296, allocations: 0 / 488 MB, free: 31.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3296, allocations: 0 / 488 MB, free: 31.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004876/0.3301, allocations: 0.75 kB / 488 MB, free: 31.34 MB / 330.7 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.02133/0.3514, allocations: 11.48 MB / 499.5 MB, free: 25.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3514, allocations: 12.39 kB / 499.5 MB, free: 25.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01927/0.3707, allocations: 7.049 MB / 0.4947 GB, free: 23.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0093/0.38, allocations: 5.608 MB / 0.5001 GB, free: 17.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003547/0.3804, allocations: 0.5815 MB / 0.5007 GB, free: 17.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002016/0.3824, allocations: 0.7698 MB / 0.5014 GB, free: 16.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/0.3973, allocations: 6.906 MB / 0.5082 GB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001836/0.3975, allocations: 12.48 kB / 0.5082 GB, free: 9.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007507/0.3982, allocations: 328.4 kB / 0.5085 GB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003118/0.3985, allocations: 0.4928 MB / 0.509 GB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.4099, allocations: 4.044 MB / 0.5129 GB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06097/0.4709, allocations: 33.64 MB / 0.5458 GB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/0.4817, allocations: 7.889 MB / 0.5535 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002725/0.4844, allocations: 1.307 MB / 0.5548 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.4847, allocations: 119 kB / 0.5549 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002112/0.4868, allocations: 1.688 MB / 0.5565 GB, free: 8.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=391): time 8.305e-06/0.4868, allocations: 0 / 0.5565 GB, free: 8.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=397): time 0.02418/0.511, allocations: 12.43 MB / 0.5687 GB, free: 12.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.5112, allocations: 355.5 kB / 0.569 GB, free: 11.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003936/0.5151, allocations: 2.977 MB / 0.5719 GB, free: 8.883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008227/0.5159, allocations: 88.66 kB / 0.572 GB, free: 8.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/0.5179, allocations: 3.677 MB / 0.5756 GB, free: 5.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001297/0.5192, allocations: 1.439 MB / 0.577 GB, free: 3.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.5204, allocations: 1.189 MB / 0.5782 GB, free: 2.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5205, allocations: 476.8 kB / 0.5786 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.5221, allocations: 0.8828 MB / 0.5795 GB, free: 1.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002956/0.525, allocations: 3.897 MB / 0.5833 GB, free: 12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005239/0.5303, allocations: 5.001 MB / 0.5882 GB, free: 6.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.541e-05/0.5303, allocations: 20 kB / 0.5882 GB, free: 6.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.007562/0.5379, allocations: 5.006 MB / 0.5931 GB, free: 1.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.538, allocations: 61.64 kB / 0.5931 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.614e-05/0.538, allocations: 60 kB / 0.5932 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/0.5401, allocations: 0.9331 MB / 0.5941 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/0.5426, allocations: 1.255 MB / 0.5953 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006465/0.549, allocations: 5.764 MB / 0.601 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/0.552, allocations: 343.5 kB / 0.6013 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004283/0.5524, allocations: 279.9 kB / 0.6016 GB, free: 8.75 MB / 426.7 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.002126/0.5545, allocations: 0.5337 MB / 0.6021 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008052/0.5553, allocations: 0.5053 MB / 0.6026 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00528/0.5606, allocations: 3.637 MB / 0.6061 GB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.5606, allocations: 43.38 kB / 0.6062 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.5606, allocations: 8 kB / 0.6062 GB, free: 4.059 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.5607, allocations: 23.92 kB / 0.6062 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1763/0.7369, allocations: 10.22 MB / 0.6162 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.737, allocations: 5.781 kB / 0.6162 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/0.7388, allocations: 0.6855 MB / 0.6169 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/0.7408, allocations: 0.8185 MB / 0.6177 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003091/0.7411, allocations: 93.47 kB / 0.6177 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005495/0.7466, allocations: 5.216 MB / 0.6228 GB, free: 139.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7466, allocations: 15.34 kB / 0.6229 GB, free: 139.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006785/0.7534, allocations: 4.422 MB / 0.6272 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/0.7551, allocations: 0.7709 MB / 0.6279 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004845/0.7556, allocations: 77.19 kB / 0.628 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.7567, allocations: 187.4 kB / 0.6282 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004594/0.7571, allocations: 292.6 kB / 0.6285 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.7573, allocations: 118.3 kB / 0.6286 GB, free: 138.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001995/0.7593, allocations: 1.439 MB / 0.63 GB, free: 138.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7593, allocations: 0 / 0.63 GB, free: 138.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004171/0.7635, allocations: 1.452 MB / 0.6314 GB, free: 138.6 MB / 426.7 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.0005679/0.764, allocations: 259.3 kB / 0.6316 GB, free: 138.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005605/0.7696, allocations: 3.87 MB / 0.6354 GB, free: 137.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.7696, allocations: 3.938 kB / 0.6354 GB, free: 137.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002542/0.7722, allocations: 2.025 MB / 0.6374 GB, free: 137.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.7747, allocations: 0.7493 MB / 0.6381 GB, free: 137.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.7899, allocations: 11.68 MB / 0.6495 GB, free: 128.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.7913, allocations: 2.047 MB / 0.6515 GB, free: 126.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002564/0.7939, allocations: 1.32 MB / 0.6528 GB, free: 126.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006862/0.7946, allocations: 346.2 kB / 0.6532 GB, free: 125.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.154e-06/0.7946, allocations: 4 kB / 0.6532 GB, free: 125.8 MB / 426.7 MB Notification: Performance of Templates: time 0.06376/0.8584, allocations: 54.09 MB / 0.706 GB, free: 74.47 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.101906176889315]