Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.001302/0.001302, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 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.9938/0.9938, allocations: 177.2 MB / 200 MB, free: 5.824 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.001222/0.001222, allocations: 164.6 kB / 256.6 MB, free: 13.12 MB / 250.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.02969/0.02969, allocations: 6.67 MB / 319.8 MB, free: 26.48 MB / 266.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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 391.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.489e-05/3.707e-05, allocations: 2.312 kB / 391.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.1704/0.1704, allocations: 24.78 MB / 416.5 MB, free: 69.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.1854, allocations: 7.934 MB / 424.4 MB, free: 67.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/0.1885, allocations: 204.3 kB / 424.6 MB, free: 67.4 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009941/0.1985, allocations: 8.102 MB / 432.7 MB, free: 62.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009721/0.2082, allocations: 3.191 MB / 435.9 MB, free: 60.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005465/0.2137, allocations: 2.052 MB / 438 MB, free: 58.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.2238, allocations: 9.704 MB / 447.7 MB, free: 51.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01223/0.236, allocations: 11.24 MB / 458.9 MB, free: 39.81 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008702/0.2447, allocations: 7.258 MB / 466.2 MB, free: 32.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005732/0.2505, allocations: 5.068 MB / 471.2 MB, free: 27.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002599/0.2531, allocations: 1.348 MB / 472.6 MB, free: 26.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004357/0.2574, allocations: 1.73 MB / 474.3 MB, free: 24.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002221/0.2597, allocations: 2.766 MB / 477.1 MB, free: 21.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0053/0.265, allocations: 3.45 MB / 480.5 MB, free: 18.15 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.2752, allocations: 8.593 MB / 489.1 MB, free: 9.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2752, allocations: 0 / 489.1 MB, free: 9.535 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2752, allocations: 0 / 489.1 MB, free: 9.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003045/0.2755, allocations: 0 / 489.1 MB, free: 9.535 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.01783/0.2934, allocations: 11.45 MB / 0.4888 GB, free: 13.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.398e-05/0.2935, allocations: 8.031 kB / 0.4888 GB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02047/0.3139, allocations: 7.054 MB / 0.4957 GB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008833/0.3228, allocations: 5.613 MB / 0.5012 GB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006865/0.3235, allocations: 0.5858 MB / 0.5018 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002182/0.3256, allocations: 0.7617 MB / 0.5025 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/0.3455, allocations: 6.895 MB / 0.5093 GB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/0.3458, allocations: 15.89 kB / 0.5093 GB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001382/0.3472, allocations: 328 kB / 0.5096 GB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003787/0.3475, allocations: 0.4928 MB / 0.5101 GB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/0.3603, allocations: 4.033 MB / 0.514 GB, free: 4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05062/0.411, allocations: 33.58 MB / 0.5468 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2721/0.6831, allocations: 7.872 MB / 0.5545 GB, free: 90.99 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00233/0.6854, allocations: 1.302 MB / 0.5558 GB, free: 90.95 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.6857, allocations: 124.9 kB / 0.5559 GB, free: 90.95 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/0.6877, allocations: 1.688 MB / 0.5575 GB, free: 90.41 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 6.402e-06/0.6878, allocations: 0.7656 kB / 0.5575 GB, free: 90.41 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.0221/0.7099, allocations: 12.44 MB / 0.5697 GB, free: 86.82 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.7099, allocations: 362.2 kB / 0.57 GB, free: 86.44 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003502/0.7134, allocations: 2.966 MB / 0.5729 GB, free: 86.02 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005249/0.714, allocations: 86.95 kB / 0.573 GB, free: 85.99 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.7157, allocations: 3.675 MB / 0.5766 GB, free: 84.48 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.7167, allocations: 1.443 MB / 0.578 GB, free: 83.68 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.7178, allocations: 1.179 MB / 0.5791 GB, free: 83.57 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.7179, allocations: 480.6 kB / 0.5796 GB, free: 83.11 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.7191, allocations: 0.8723 MB / 0.5805 GB, free: 83.06 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.7214, allocations: 3.893 MB / 0.5843 GB, free: 79.41 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.7254, allocations: 5.003 MB / 0.5891 GB, free: 75.96 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-05/0.7255, allocations: 17 kB / 0.5892 GB, free: 75.96 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.006648/0.7321, allocations: 5.003 MB / 0.594 GB, free: 73.6 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.849e-05/0.7322, allocations: 62.52 kB / 0.5941 GB, free: 73.54 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.718e-05/0.7322, allocations: 60 kB / 0.5942 GB, free: 73.48 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/0.7341, allocations: 0.9289 MB / 0.5951 GB, free: 72.85 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/0.7368, allocations: 1.26 MB / 0.5963 GB, free: 71.9 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005701/0.7425, allocations: 5.757 MB / 0.6019 GB, free: 68.06 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/0.7456, allocations: 351.8 kB / 0.6023 GB, free: 67.87 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004243/0.746, allocations: 265.6 kB / 0.6025 GB, free: 67.66 MB / 394.8 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.001969/0.748, allocations: 0.5414 MB / 0.603 GB, free: 67.32 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007158/0.7487, allocations: 0.5012 MB / 0.6035 GB, free: 66.82 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004498/0.7532, allocations: 3.638 MB / 0.6071 GB, free: 63.81 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.7532, allocations: 43.94 kB / 0.6071 GB, free: 63.77 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.7532, allocations: 12 kB / 0.6071 GB, free: 63.76 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/0.7532, allocations: 23.41 kB / 0.6072 GB, free: 63.76 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.7654, allocations: 10.2 MB / 0.6171 GB, free: 54.14 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.7654, allocations: 4 kB / 0.6171 GB, free: 54.14 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.7667, allocations: 0.6844 MB / 0.6178 GB, free: 53.49 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/0.7685, allocations: 0.8189 MB / 0.6186 GB, free: 52.68 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.7686, allocations: 97.06 kB / 0.6187 GB, free: 52.58 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004622/0.7733, allocations: 5.216 MB / 0.6238 GB, free: 47.27 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7733, allocations: 11.98 kB / 0.6238 GB, free: 47.26 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00581/0.7791, allocations: 4.427 MB / 0.6281 GB, free: 42.71 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/0.7807, allocations: 0.7667 MB / 0.6289 GB, free: 41.94 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004827/0.7812, allocations: 83.98 kB / 0.6289 GB, free: 41.86 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.7822, allocations: 183.8 kB / 0.6291 GB, free: 41.68 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/0.7826, allocations: 290.8 kB / 0.6294 GB, free: 41.39 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.7827, allocations: 117 kB / 0.6295 GB, free: 41.28 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001564/0.7843, allocations: 1.435 MB / 0.6309 GB, free: 39.84 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7843, allocations: 0 / 0.6309 GB, free: 39.84 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003986/0.7883, allocations: 1.445 MB / 0.6323 GB, free: 38.4 MB / 394.8 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.0005442/0.7888, allocations: 252 kB / 0.6326 GB, free: 38.18 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.005556/0.7944, allocations: 3.87 MB / 0.6363 GB, free: 34.46 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.7944, allocations: 0 / 0.6363 GB, free: 34.46 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002677/0.7971, allocations: 2.025 MB / 0.6383 GB, free: 32.48 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/0.7997, allocations: 0.7569 MB / 0.6391 GB, free: 31.77 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/0.8171, allocations: 11.68 MB / 0.6505 GB, free: 19.93 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/0.8188, allocations: 2.052 MB / 0.6525 GB, free: 17.85 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002652/0.8214, allocations: 1.318 MB / 0.6538 GB, free: 16.53 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007402/0.8222, allocations: 340.4 kB / 0.6541 GB, free: 16.2 MB / 394.8 MB Notification: Performance of SimCode: time 3.607e-06/0.8222, allocations: 0 / 0.6541 GB, free: 16.2 MB / 394.8 MB Notification: Performance of Templates: time 0.2126/1.035, allocations: 56.48 MB / 0.7092 GB, free: 120.8 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.211935834027827]