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.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.0008703/0.0008703, 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.921/0.921, allocations: 177.1 MB / 199.7 MB, free: 4.484 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.001435/0.001435, allocations: 166.2 kB / 256.2 MB, free: 308 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.02498/0.02498, allocations: 6.659 MB / 319.4 MB, free: 1.344 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_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 2.174e-06/2.174e-06, allocations: 0 / 390.9 MB, free: 58.63 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.758e-05, allocations: 2.312 kB / 390.9 MB, free: 58.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.01857/0.0186, allocations: 24.63 MB / 415.5 MB, free: 33.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.03145, allocations: 7.918 MB / 423.4 MB, free: 25.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004093/0.03555, allocations: 203 kB / 423.6 MB, free: 25.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008142/0.04369, allocations: 8.089 MB / 431.7 MB, free: 17.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007075/0.05076, allocations: 3.173 MB / 434.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.05445, allocations: 2.064 MB / 437 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008157/0.0626, allocations: 9.696 MB / 446.6 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.07479, allocations: 11.23 MB / 457.9 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006958/0.08174, allocations: 7.203 MB / 465.1 MB, free: 60 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1553/0.237, allocations: 4.954 MB / 470 MB, free: 33.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003424/0.2405, allocations: 1.353 MB / 471.4 MB, free: 33.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.2438, allocations: 1.742 MB / 473.1 MB, free: 33.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.2452, allocations: 2.77 MB / 475.9 MB, free: 33.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00317/0.2484, allocations: 3.459 MB / 479.4 MB, free: 33.06 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.255, allocations: 8.631 MB / 488 MB, free: 31.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.255, allocations: 0 / 488 MB, free: 31.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.255, allocations: 0 / 488 MB, free: 31.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.171e-05/0.2551, allocations: 0 / 488 MB, free: 31.3 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.01423/0.2694, allocations: 11.47 MB / 499.5 MB, free: 25.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2694, allocations: 12.61 kB / 499.5 MB, free: 25.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/0.2865, allocations: 7.053 MB / 0.4947 GB, free: 23.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/0.2979, allocations: 5.605 MB / 0.5001 GB, free: 17.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002872/0.2982, allocations: 0.5816 MB / 0.5007 GB, free: 17.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/0.2998, allocations: 0.7707 MB / 0.5014 GB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.3106, allocations: 6.912 MB / 0.5082 GB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.3107, allocations: 11.95 kB / 0.5082 GB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000537/0.3112, allocations: 326.2 kB / 0.5085 GB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002814/0.3115, allocations: 0.4967 MB / 0.509 GB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007238/0.3188, allocations: 4.036 MB / 0.5129 GB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03504/0.3538, allocations: 33.64 MB / 0.5458 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008905/0.3627, allocations: 7.89 MB / 0.5535 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.3644, allocations: 1.302 MB / 0.5548 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.3646, allocations: 119 kB / 0.5549 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001796/0.3664, allocations: 1.689 MB / 0.5565 GB, free: 8.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=391): time 4.729e-06/0.3664, allocations: 0 / 0.5565 GB, free: 8.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=397): time 0.0199/0.3863, allocations: 12.43 MB / 0.5687 GB, free: 12.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.3864, allocations: 358.9 kB / 0.569 GB, free: 11.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/0.3897, allocations: 2.977 MB / 0.5719 GB, free: 8.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.3899, allocations: 93.7 kB / 0.572 GB, free: 8.773 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.3915, allocations: 3.674 MB / 0.5756 GB, free: 5.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007521/0.3923, allocations: 1.437 MB / 0.577 GB, free: 3.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/0.3934, allocations: 1.193 MB / 0.5782 GB, free: 2.469 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.3935, allocations: 476.8 kB / 0.5786 GB, free: 2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.3949, allocations: 0.8793 MB / 0.5795 GB, free: 1.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/0.3977, allocations: 3.894 MB / 0.5833 GB, free: 11.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004277/0.4019, allocations: 5.003 MB / 0.5882 GB, free: 6.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.025e-05/0.402, allocations: 19.38 kB / 0.5882 GB, free: 6.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.006327/0.4083, allocations: 5.006 MB / 0.5931 GB, free: 1.414 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.4083, allocations: 61.64 kB / 0.5931 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.929e-05/0.4084, allocations: 60.31 kB / 0.5932 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.4102, allocations: 0.9434 MB / 0.5941 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.4125, allocations: 1.261 MB / 0.5953 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006132/0.4186, allocations: 5.753 MB / 0.601 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.4206, allocations: 346.4 kB / 0.6013 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/0.4209, allocations: 272 kB / 0.6016 GB, free: 8.738 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.001647/0.4225, allocations: 0.5418 MB / 0.6021 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005463/0.4231, allocations: 0.5053 MB / 0.6026 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/0.4278, allocations: 3.634 MB / 0.6061 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.4278, allocations: 44 kB / 0.6062 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4279, allocations: 8 kB / 0.6062 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.4279, allocations: 19.92 kB / 0.6062 GB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1808/0.6087, allocations: 10.23 MB / 0.6162 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.6087, allocations: 4.469 kB / 0.6162 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.6102, allocations: 0.6878 MB / 0.6169 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.6119, allocations: 0.8219 MB / 0.6177 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.6121, allocations: 93.81 kB / 0.6178 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005042/0.6171, allocations: 5.202 MB / 0.6228 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6171, allocations: 14.61 kB / 0.6229 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005988/0.6231, allocations: 4.422 MB / 0.6272 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.6244, allocations: 0.7695 MB / 0.6279 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003254/0.6247, allocations: 75.72 kB / 0.628 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009674/0.6257, allocations: 189.2 kB / 0.6282 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.626, allocations: 292.6 kB / 0.6285 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/0.6262, allocations: 121.8 kB / 0.6286 GB, free: 103.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001807/0.628, allocations: 1.438 MB / 0.63 GB, free: 103.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.628, allocations: 1.125 kB / 0.63 GB, free: 103.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003431/0.6314, allocations: 1.452 MB / 0.6314 GB, free: 103.2 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.000437/0.6319, allocations: 262.7 kB / 0.6316 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004851/0.6367, allocations: 3.868 MB / 0.6354 GB, free: 102.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6367, allocations: 3.062 kB / 0.6354 GB, free: 102.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.6388, allocations: 2.027 MB / 0.6374 GB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.6406, allocations: 0.7382 MB / 0.6381 GB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.6536, allocations: 11.69 MB / 0.6495 GB, free: 97.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.6549, allocations: 2.046 MB / 0.6515 GB, free: 97.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00201/0.6569, allocations: 1.318 MB / 0.6528 GB, free: 97.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/0.6575, allocations: 344.7 kB / 0.6532 GB, free: 97.36 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6575, allocations: 6.734 kB / 0.6532 GB, free: 97.36 MB / 426.7 MB Notification: Performance of Templates: time 0.05806/0.7156, allocations: 54.09 MB / 0.706 GB, free: 48.01 MB / 426.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.942126162117347]