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.001025/0.001025, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.9971/0.9971, allocations: 177.1 MB / 200.3 MB, free: 5.344 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.001186/0.001186, allocations: 159.3 kB / 256.9 MB, free: 12.79 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.02411/0.02411, allocations: 6.658 MB / 320.1 MB, free: 26.33 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_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.232e-06/1.232e-06, allocations: 0 / 392.1 MB, free: 2.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.063e-05, allocations: 2.312 kB / 392.1 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.1536/0.1536, allocations: 24.02 MB / 416.2 MB, free: 69.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.1692, allocations: 7.886 MB / 424 MB, free: 67.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004994/0.1742, allocations: 206 kB / 424.2 MB, free: 67.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009856/0.184, allocations: 7.91 MB / 432.2 MB, free: 63.22 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008466/0.1925, allocations: 3.167 MB / 435.3 MB, free: 60.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00392/0.1964, allocations: 2.017 MB / 437.3 MB, free: 59.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009214/0.2056, allocations: 9.711 MB / 447.1 MB, free: 51.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.2179, allocations: 11.24 MB / 458.3 MB, free: 40.4 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008226/0.2261, allocations: 7.254 MB / 465.5 MB, free: 33.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006273/0.2324, allocations: 5.095 MB / 470.6 MB, free: 28.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002463/0.2348, allocations: 1.344 MB / 472 MB, free: 26.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004163/0.239, allocations: 1.733 MB / 473.7 MB, free: 24.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.2408, allocations: 2.766 MB / 476.5 MB, free: 22.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004826/0.2457, allocations: 3.446 MB / 479.9 MB, free: 18.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.2561, allocations: 8.605 MB / 488.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2561, allocations: 0 / 488.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2561, allocations: 0 / 488.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002758/0.2563, allocations: 0 / 488.5 MB, free: 10.1 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.01892/0.2753, allocations: 10.73 MB / 499.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.2753, allocations: 16.03 kB / 499.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01916/0.2945, allocations: 5.479 MB / 0.4929 GB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008445/0.3029, allocations: 5.281 MB / 0.4981 GB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003973/0.3033, allocations: 0.578 MB / 0.4987 GB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00202/0.3053, allocations: 0.7655 MB / 0.4994 GB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.3182, allocations: 6.316 MB / 0.5056 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.3183, allocations: 15.89 kB / 0.5056 GB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005745/0.3189, allocations: 324 kB / 0.5059 GB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003676/0.3193, allocations: 0.4967 MB / 0.5064 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006644/0.3259, allocations: 3.15 MB / 0.5095 GB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04724/0.3732, allocations: 33.11 MB / 0.5418 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009636/0.3828, allocations: 6.445 MB / 0.5481 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2638/0.6467, allocations: 1.132 MB / 0.5492 GB, free: 93.6 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/0.6473, allocations: 152 kB / 0.5493 GB, free: 93.6 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002296/0.6496, allocations: 1.568 MB / 0.5509 GB, free: 93.06 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 7.324e-06/0.6496, allocations: 0 / 0.5509 GB, free: 93.06 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.01729/0.6669, allocations: 7.948 MB / 0.5586 GB, free: 92.35 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.667, allocations: 353.8 kB / 0.559 GB, free: 91.97 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003681/0.6707, allocations: 2.919 MB / 0.5618 GB, free: 91.54 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000436/0.6711, allocations: 88.3 kB / 0.5619 GB, free: 91.51 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001707/0.6728, allocations: 3.698 MB / 0.5655 GB, free: 90 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009129/0.6737, allocations: 1.456 MB / 0.5669 GB, free: 89.2 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.6748, allocations: 1.193 MB / 0.5681 GB, free: 89.1 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.66e-05/0.6749, allocations: 480.2 kB / 0.5686 GB, free: 88.63 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007868/0.6757, allocations: 0.6729 MB / 0.5692 GB, free: 88.59 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.6773, allocations: 3.729 MB / 0.5729 GB, free: 84.94 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.6804, allocations: 4.667 MB / 0.5774 GB, free: 81.48 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.061e-05/0.6804, allocations: 15.81 kB / 0.5774 GB, free: 81.48 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.005637/0.686, allocations: 4.535 MB / 0.5819 GB, free: 81 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/0.6861, allocations: 66.06 kB / 0.5819 GB, free: 80.97 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.716e-05/0.6861, allocations: 58.06 kB / 0.582 GB, free: 80.97 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.6879, allocations: 0.9077 MB / 0.5829 GB, free: 80.92 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.6901, allocations: 1.17 MB / 0.584 GB, free: 80.92 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/0.6954, allocations: 5.463 MB / 0.5893 GB, free: 78.76 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/0.6987, allocations: 229.6 kB / 0.5896 GB, free: 78.73 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004334/0.6991, allocations: 225.5 kB / 0.5898 GB, free: 78.73 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.001787/0.7009, allocations: 0.5359 MB / 0.5903 GB, free: 78.43 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000747/0.7016, allocations: 0.5034 MB / 0.5908 GB, free: 77.98 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/0.7052, allocations: 3.322 MB / 0.594 GB, free: 76.01 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.7052, allocations: 43.94 kB / 0.5941 GB, free: 75.97 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.7053, allocations: 12 kB / 0.5941 GB, free: 75.96 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/0.7053, allocations: 22.72 kB / 0.5941 GB, free: 75.96 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.7187, allocations: 9.829 MB / 0.6037 GB, free: 69.99 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.7187, allocations: 8.594 kB / 0.6037 GB, free: 69.98 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.72, allocations: 0.6167 MB / 0.6043 GB, free: 69.47 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.7215, allocations: 0.7924 MB / 0.6051 GB, free: 68.7 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.7217, allocations: 87.97 kB / 0.6052 GB, free: 68.61 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004172/0.7259, allocations: 4.974 MB / 0.61 GB, free: 63.64 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.7259, allocations: 4 kB / 0.61 GB, free: 63.63 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00456/0.7304, allocations: 3.932 MB / 0.6139 GB, free: 59.65 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.7318, allocations: 0.7099 MB / 0.6146 GB, free: 58.94 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/0.7321, allocations: 76 kB / 0.6146 GB, free: 58.87 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/0.733, allocations: 108 kB / 0.6147 GB, free: 58.76 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/0.7333, allocations: 291.5 kB / 0.615 GB, free: 58.48 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.7335, allocations: 94.38 kB / 0.6151 GB, free: 58.39 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001258/0.7347, allocations: 1.318 MB / 0.6164 GB, free: 57.2 MB / 394.8 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7347, allocations: 0 / 0.6164 GB, free: 57.2 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003805/0.7385, allocations: 1.445 MB / 0.6178 GB, free: 55.75 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.0004377/0.739, allocations: 253 kB / 0.618 GB, free: 55.54 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.00451/0.7435, allocations: 3.511 MB / 0.6215 GB, free: 52.25 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.7435, allocations: 2.266 kB / 0.6215 GB, free: 52.25 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.7455, allocations: 1.872 MB / 0.6233 GB, free: 50.46 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/0.7479, allocations: 0.746 MB / 0.624 GB, free: 49.76 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.7625, allocations: 11.56 MB / 0.6353 GB, free: 38.12 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.7639, allocations: 2.045 MB / 0.6373 GB, free: 36.05 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.001871/0.7658, allocations: 0.6484 MB / 0.638 GB, free: 35.39 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.7671, allocations: 0.9002 MB / 0.6388 GB, free: 34.49 MB / 394.8 MB Notification: Performance of SimCode: time 1.664e-06/0.7671, allocations: 0 / 0.6388 GB, free: 34.49 MB / 394.8 MB Notification: Performance of Templates: time 0.07707/0.8442, allocations: 58.92 MB / 0.6964 GB, free: 8.48 MB / 426.8 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.938722298014909]