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.0007017/0.0007017, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008995/0.001601, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9332/0.9332, allocations: 177.2 MB / 188.2 MB, free: 4.5 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2101/1.143, allocations: 53.65 MB / 241.9 MB, free: 2.746 MB / 234.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.001412/0.001412, allocations: 145.6 kB / 242.8 MB, free: 1.887 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002902, allocations: 480.6 kB / 243.2 MB, free: 1.434 MB / 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.02467/0.02467, allocations: 6.651 MB / 250.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005039/0.02971, allocations: 2.662 MB / 253.3 MB, free: 7.578 MB / 250.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 1.322e-06/1.322e-06, allocations: 0 / 254.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.886e-05, allocations: 5.125 kB / 254.6 MB, free: 6.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.01866/0.01868, allocations: 24.24 MB / 278.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01687/0.03555, allocations: 8.334 MB / 287.2 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004766/0.04032, allocations: 203 kB / 287.4 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0107/0.05102, allocations: 8.109 MB / 295.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008887/0.0599, allocations: 3.161 MB / 298.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004355/0.06426, allocations: 2.031 MB / 300.7 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01144/0.07569, allocations: 9.752 MB / 310.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01604/0.09174, allocations: 11.26 MB / 321.7 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1701/0.2618, allocations: 7.552 MB / 329.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0111/0.2729, allocations: 5.12 MB / 334.4 MB, free: 16.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003976/0.2769, allocations: 1.35 MB / 335.7 MB, free: 16.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005982/0.2829, allocations: 1.752 MB / 337.5 MB, free: 16.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00485/0.2878, allocations: 2.215 MB / 339.7 MB, free: 16.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009171/0.2969, allocations: 2.886 MB / 342.6 MB, free: 16.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.3105, allocations: 8.122 MB / 350.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-05/0.3105, allocations: 2.281 kB / 350.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3105, allocations: 0 / 350.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004508/0.311, allocations: 0 / 350.7 MB, free: 15.83 MB / 314.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.02048/0.3315, allocations: 11.85 MB / 362.5 MB, free: 8.102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3315, allocations: 8.031 kB / 362.6 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01723/0.3487, allocations: 5.806 MB / 368.4 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007491/0.3562, allocations: 3.135 MB / 371.5 MB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/0.3566, allocations: 0.5782 MB / 372.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002387/0.359, allocations: 0.7671 MB / 372.8 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/0.376, allocations: 6.451 MB / 379.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000233/0.3763, allocations: 11.95 kB / 379.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/0.3779, allocations: 320.2 kB / 379.6 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003915/0.3783, allocations: 0.4967 MB / 380.1 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.3885, allocations: 3.323 MB / 383.4 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04508/0.4336, allocations: 25.77 MB / 409.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006952/0.4405, allocations: 5.318 MB / 414.5 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.4423, allocations: 0.9996 MB / 415.5 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.4426, allocations: 127 kB / 415.6 MB, free: 6.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/0.4442, allocations: 1.512 MB / 417.2 MB, free: 5.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=391): time 6.762e-06/0.4443, allocations: 0 / 417.2 MB, free: 5.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=397): time 0.01426/0.4585, allocations: 7.196 MB / 424.4 MB, free: 14.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.4586, allocations: 196.9 kB / 424.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.4608, allocations: 2.257 MB / 426.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002512/0.461, allocations: 89.7 kB / 426.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.4622, allocations: 3.19 MB / 430.1 MB, free: 8.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008124/0.463, allocations: 1.404 MB / 431.5 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.4642, allocations: 1.008 MB / 432.5 MB, free: 6.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.4642, allocations: 301.1 kB / 432.8 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009707/0.4652, allocations: 0.735 MB / 433.5 MB, free: 5.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.4669, allocations: 2.713 MB / 436.2 MB, free: 2.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.4702, allocations: 3.776 MB / 440 MB, free: 13.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-05/0.4702, allocations: 18.84 kB / 440 MB, free: 13.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.004779/0.475, allocations: 3.662 MB / 443.7 MB, free: 10.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.475, allocations: 64.36 kB / 443.8 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.069e-05/0.4751, allocations: 63.94 kB / 443.8 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.4768, allocations: 0.8578 MB / 444.7 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/0.4796, allocations: 1.333 MB / 446 MB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004611/0.4842, allocations: 4.288 MB / 450.3 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.4866, allocations: 235.7 kB / 450.5 MB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003874/0.487, allocations: 208 kB / 450.7 MB, free: 3.59 MB / 394.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.001617/0.4886, allocations: 0.4981 MB / 451.2 MB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/0.4892, allocations: 351.7 kB / 451.6 MB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003829/0.493, allocations: 2.775 MB / 454.3 MB, free: 92 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.493, allocations: 40 kB / 454.4 MB, free: 52 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.4931, allocations: 15.94 kB / 454.4 MB, free: 36 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.4931, allocations: 19.92 kB / 454.4 MB, free: 16 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.5043, allocations: 7.572 MB / 462 MB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.5043, allocations: 4 kB / 462 MB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.5059, allocations: 0.7047 MB / 462.7 MB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.5073, allocations: 491.4 kB / 463.2 MB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/0.5088, allocations: 0.744 MB / 463.9 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/0.509, allocations: 83.95 kB / 464 MB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004038/0.513, allocations: 3.88 MB / 467.9 MB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.513, allocations: 4 kB / 467.9 MB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004843/0.5179, allocations: 3.251 MB / 471.1 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006398/0.5185, allocations: 76 kB / 471.2 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.5195, allocations: 104 kB / 471.3 MB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003906/0.5199, allocations: 286.1 kB / 471.6 MB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.5201, allocations: 83.97 kB / 471.7 MB, free: 15.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001275/0.5214, allocations: 1.038 MB / 472.7 MB, free: 14.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5214, allocations: 4 kB / 472.7 MB, free: 14.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003806/0.5252, allocations: 1.449 MB / 474.2 MB, free: 13.27 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.0004845/0.5256, allocations: 243.8 kB / 474.4 MB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004461/0.5301, allocations: 3.081 MB / 477.5 MB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001763/0.5303, allocations: 87.81 kB / 477.6 MB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.5322, allocations: 1.645 MB / 479.2 MB, free: 8.562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.5348, allocations: 1.064 MB / 480.3 MB, free: 7.527 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1763/0.711, allocations: 11.76 MB / 492.1 MB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003322/0.7144, allocations: 1.524 MB / 493.6 MB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002475/0.7168, allocations: 0.646 MB / 494.2 MB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/0.7186, allocations: 0.8112 MB / 495 MB, free: 114.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.552e-06/0.7186, allocations: 0 / 495 MB, free: 114.8 MB / 426.7 MB Notification: Performance of Templates: time 0.07571/0.7943, allocations: 61.22 MB / 0.5432 GB, free: 78.92 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.596340504474938]