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.0009622/0.0009622, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.002142, 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.8751/0.8751, allocations: 177.2 MB / 188.2 MB, free: 4.504 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1719/1.047, allocations: 53.65 MB / 241.9 MB, free: 2.734 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.0009994/0.0009994, allocations: 145.7 kB / 242.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00506/0.006059, allocations: 484.9 kB / 243.2 MB, free: 1.418 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.03126/0.03126, allocations: 6.653 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01033/0.0416, allocations: 2.655 MB / 253.3 MB, free: 7.57 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_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 9.62e-07/9.62e-07, allocations: 0 / 254.6 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.514e-06/8.476e-06, allocations: 4.703 kB / 254.6 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.02233/0.02234, allocations: 24.24 MB / 278.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.03561, allocations: 8.338 MB / 287.2 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.03728, allocations: 203 kB / 287.4 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008226/0.04551, allocations: 8.105 MB / 295.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.04965, allocations: 3.161 MB / 298.7 MB, free: 10 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.05235, allocations: 2.037 MB / 300.7 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006924/0.05927, allocations: 9.745 MB / 310.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/0.06971, allocations: 11.26 MB / 321.7 MB, free: 2.742 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.14/0.2097, allocations: 7.552 MB / 329.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007115/0.2168, allocations: 5.125 MB / 334.4 MB, free: 16.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00249/0.2193, allocations: 1.348 MB / 335.7 MB, free: 16.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.2224, allocations: 1.751 MB / 337.5 MB, free: 16.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.2237, allocations: 2.213 MB / 339.7 MB, free: 16.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002758/0.2265, allocations: 2.885 MB / 342.6 MB, free: 16.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006447/0.2329, allocations: 8.12 MB / 350.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.233, allocations: 0 / 350.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.233, allocations: 2.844 kB / 350.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001251/0.2331, allocations: 0 / 350.7 MB, free: 15.78 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.01257/0.2457, allocations: 11.85 MB / 362.5 MB, free: 8.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.2457, allocations: 8.031 kB / 362.6 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.2596, allocations: 5.806 MB / 368.4 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004808/0.2644, allocations: 3.133 MB / 371.5 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.2645, allocations: 0.579 MB / 372.1 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000743/0.2653, allocations: 0.7734 MB / 372.8 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007945/0.2732, allocations: 6.443 MB / 379.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001266/0.2734, allocations: 14.22 kB / 379.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005388/0.2739, allocations: 321.8 kB / 379.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003492/0.2743, allocations: 0.4967 MB / 380.1 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005266/0.2795, allocations: 3.326 MB / 383.4 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02788/0.3074, allocations: 25.77 MB / 409.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006194/0.3136, allocations: 5.321 MB / 414.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.3149, allocations: 0.9961 MB / 415.5 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.3151, allocations: 126.2 kB / 415.6 MB, free: 6.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.3164, allocations: 1.516 MB / 417.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=391): time 4.638e-06/0.3164, allocations: 0 / 417.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=397): time 0.01336/0.3298, allocations: 7.197 MB / 424.4 MB, free: 13.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.3299, allocations: 200.7 kB / 424.6 MB, free: 13.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.3318, allocations: 2.252 MB / 426.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.3319, allocations: 89.7 kB / 426.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.3333, allocations: 3.185 MB / 430.1 MB, free: 8.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.3344, allocations: 1.405 MB / 431.5 MB, free: 7.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009443/0.3353, allocations: 1.008 MB / 432.5 MB, free: 6.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.149e-05/0.3354, allocations: 305.1 kB / 432.8 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008879/0.3363, allocations: 0.735 MB / 433.5 MB, free: 5.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.3379, allocations: 2.713 MB / 436.2 MB, free: 2.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/0.3409, allocations: 3.778 MB / 440 MB, free: 13.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/0.341, allocations: 16 kB / 440 MB, free: 13.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.00414/0.3451, allocations: 3.668 MB / 443.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.3452, allocations: 60.36 kB / 443.8 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-05/0.3452, allocations: 63.94 kB / 443.8 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.347, allocations: 0.8689 MB / 444.7 MB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/0.3494, allocations: 1.328 MB / 446 MB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004341/0.3537, allocations: 4.289 MB / 450.3 MB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.3553, allocations: 231.8 kB / 450.5 MB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/0.3555, allocations: 208 kB / 450.7 MB, free: 3.543 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.001327/0.3569, allocations: 0.5009 MB / 451.2 MB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/0.3573, allocations: 347.7 kB / 451.6 MB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/0.3608, allocations: 2.779 MB / 454.4 MB, free: 44 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.3608, allocations: 40 kB / 454.4 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.3608, allocations: 15.98 kB / 454.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.3608, allocations: 19.88 kB / 454.4 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008468/0.3693, allocations: 7.563 MB / 462 MB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.3693, allocations: 7.438 kB / 462 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.3707, allocations: 0.7099 MB / 462.7 MB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007284/0.3715, allocations: 485.2 kB / 463.2 MB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.3728, allocations: 0.7464 MB / 463.9 MB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.3729, allocations: 83.97 kB / 464 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/0.3769, allocations: 3.87 MB / 467.9 MB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3769, allocations: 7.469 kB / 467.9 MB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003508/0.3804, allocations: 3.262 MB / 471.1 MB, free: 124 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.3807, allocations: 79.98 kB / 471.2 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007831/0.3815, allocations: 104.2 kB / 471.3 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.3818, allocations: 282.5 kB / 471.6 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.3819, allocations: 83.97 kB / 471.7 MB, free: 15.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008686/0.3828, allocations: 1.04 MB / 472.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3828, allocations: 0 / 472.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0031/0.3859, allocations: 1.449 MB / 474.2 MB, free: 13.23 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.000375/0.3863, allocations: 248.5 kB / 474.4 MB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003347/0.3896, allocations: 3.07 MB / 477.5 MB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000133/0.3897, allocations: 92.88 kB / 477.6 MB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.3913, allocations: 1.644 MB / 479.2 MB, free: 8.527 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.3931, allocations: 1.064 MB / 480.3 MB, free: 7.496 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1778/0.5708, allocations: 11.77 MB / 492.1 MB, free: 115 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001986/0.5728, allocations: 1.528 MB / 493.6 MB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00226/0.5751, allocations: 0.6452 MB / 494.2 MB, free: 114.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/0.5766, allocations: 0.813 MB / 495 MB, free: 114.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.164e-06/0.5766, allocations: 1.219 kB / 495 MB, free: 114.7 MB / 426.7 MB Notification: Performance of Templates: time 0.06482/0.6414, allocations: 61.21 MB / 0.5432 GB, free: 78.91 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: 4.234686395153403]