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.001107/0.001107, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.9703/0.9703, allocations: 177.1 MB / 200.3 MB, free: 5.719 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.001339/0.001339, allocations: 164.5 kB / 256.9 MB, free: 12.99 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.02292/0.02292, allocations: 6.661 MB / 320.1 MB, free: 26.37 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_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 2.114e-06/2.114e-06, allocations: 0 / 392.1 MB, free: 2.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.328e-05, allocations: 5.828 kB / 392.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.1599/0.16, allocations: 24.02 MB / 416.2 MB, free: 69.06 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.1741, allocations: 7.887 MB / 424 MB, free: 67.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00357/0.1776, allocations: 200.2 kB / 424.2 MB, free: 67.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.1878, allocations: 7.908 MB / 432.1 MB, free: 63.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007583/0.1954, allocations: 3.176 MB / 435.3 MB, free: 60.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.1988, allocations: 2.029 MB / 437.4 MB, free: 59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008692/0.2075, allocations: 9.705 MB / 447.1 MB, free: 51.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.2199, allocations: 11.24 MB / 458.3 MB, free: 40.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006841/0.2267, allocations: 7.258 MB / 465.6 MB, free: 33.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004214/0.2309, allocations: 5.092 MB / 470.6 MB, free: 27.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00149/0.2324, allocations: 1.344 MB / 472 MB, free: 26.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.2344, allocations: 1.73 MB / 473.7 MB, free: 24.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.2355, allocations: 2.766 MB / 476.5 MB, free: 22.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003498/0.239, allocations: 3.446 MB / 479.9 MB, free: 18.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006918/0.2459, allocations: 8.601 MB / 488.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2459, allocations: 0 / 488.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2459, allocations: 0 / 488.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003622/0.2463, allocations: 0 / 488.5 MB, free: 9.992 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.01327/0.2596, allocations: 10.74 MB / 499.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2596, allocations: 12.03 kB / 499.3 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/0.2746, allocations: 5.483 MB / 0.4929 GB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006312/0.2809, allocations: 5.281 MB / 0.4981 GB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.2812, allocations: 0.5819 MB / 0.4987 GB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008343/0.282, allocations: 0.7616 MB / 0.4994 GB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007716/0.2897, allocations: 6.312 MB / 0.5056 GB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.2898, allocations: 19.83 kB / 0.5056 GB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005118/0.2903, allocations: 324 kB / 0.5059 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003183/0.2906, allocations: 0.4928 MB / 0.5064 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004464/0.2951, allocations: 3.154 MB / 0.5095 GB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03182/0.3269, allocations: 33.1 MB / 0.5418 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006945/0.3339, allocations: 6.456 MB / 0.5481 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.135/0.4689, allocations: 1.131 MB / 0.5492 GB, free: 92.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/0.4694, allocations: 147 kB / 0.5493 GB, free: 92.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002495/0.4719, allocations: 1.568 MB / 0.5509 GB, free: 92.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=391): time 1.424e-05/0.4719, allocations: 0.5625 kB / 0.5509 GB, free: 92.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=397): time 0.01563/0.4876, allocations: 7.951 MB / 0.5586 GB, free: 91.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.4877, allocations: 359.2 kB / 0.559 GB, free: 91.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/0.4911, allocations: 2.909 MB / 0.5618 GB, free: 90.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.4913, allocations: 92.64 kB / 0.5619 GB, free: 90.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.4927, allocations: 3.699 MB / 0.5655 GB, free: 89.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006675/0.4934, allocations: 1.454 MB / 0.5669 GB, free: 88.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.4946, allocations: 1.194 MB / 0.5681 GB, free: 88.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.4946, allocations: 476.8 kB / 0.5686 GB, free: 87.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008658/0.4955, allocations: 0.6767 MB / 0.5692 GB, free: 87.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.4973, allocations: 3.724 MB / 0.5729 GB, free: 84.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/0.5007, allocations: 4.672 MB / 0.5774 GB, free: 80.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-05/0.5007, allocations: 19.34 kB / 0.5774 GB, free: 80.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.005364/0.5061, allocations: 4.529 MB / 0.5819 GB, free: 80.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.5061, allocations: 67.77 kB / 0.5819 GB, free: 80.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.513e-05/0.5061, allocations: 57.72 kB / 0.582 GB, free: 80.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.5077, allocations: 0.9039 MB / 0.5829 GB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.5097, allocations: 1.172 MB / 0.584 GB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00486/0.5146, allocations: 5.469 MB / 0.5893 GB, free: 77.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.5165, allocations: 236.7 kB / 0.5896 GB, free: 77.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.5167, allocations: 222.3 kB / 0.5898 GB, free: 77.48 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.001359/0.518, allocations: 0.5345 MB / 0.5903 GB, free: 77.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004695/0.5185, allocations: 0.499 MB / 0.5908 GB, free: 76.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.522, allocations: 3.328 MB / 0.594 GB, free: 74.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.522, allocations: 43.94 kB / 0.5941 GB, free: 74.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.522, allocations: 12 kB / 0.5941 GB, free: 74.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.522, allocations: 18.47 kB / 0.5941 GB, free: 74.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.5327, allocations: 9.841 MB / 0.6037 GB, free: 68.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5327, allocations: 8 kB / 0.6037 GB, free: 68.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.5339, allocations: 0.6113 MB / 0.6043 GB, free: 68.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.5353, allocations: 0.7928 MB / 0.6051 GB, free: 67.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/0.5355, allocations: 87.97 kB / 0.6052 GB, free: 67.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004109/0.5396, allocations: 4.965 MB / 0.61 GB, free: 62.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5396, allocations: 7.75 kB / 0.61 GB, free: 62.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/0.5439, allocations: 3.933 MB / 0.6139 GB, free: 58.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009954/0.5449, allocations: 0.7042 MB / 0.6146 GB, free: 57.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.5452, allocations: 76 kB / 0.6146 GB, free: 57.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008066/0.546, allocations: 108 kB / 0.6147 GB, free: 57.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/0.5464, allocations: 290.7 kB / 0.615 GB, free: 57.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.5465, allocations: 91.97 kB / 0.6151 GB, free: 57.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.5476, allocations: 1.316 MB / 0.6164 GB, free: 55.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5476, allocations: 0 / 0.6164 GB, free: 55.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003651/0.5513, allocations: 1.445 MB / 0.6178 GB, free: 54.47 MB / 394.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.0004114/0.5517, allocations: 260.9 kB / 0.6181 GB, free: 54.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004491/0.5562, allocations: 3.511 MB / 0.6215 GB, free: 50.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5562, allocations: 1.938 kB / 0.6215 GB, free: 50.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.5583, allocations: 1.865 MB / 0.6233 GB, free: 49.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.5605, allocations: 0.752 MB / 0.624 GB, free: 48.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.576, allocations: 11.55 MB / 0.6353 GB, free: 36.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.5776, allocations: 2.045 MB / 0.6373 GB, free: 34.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001972/0.5796, allocations: 0.6486 MB / 0.6379 GB, free: 34.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/0.5813, allocations: 0.9002 MB / 0.6388 GB, free: 33.21 MB / 394.7 MB Notification: Performance of SimCode: time 1.432e-06/0.5813, allocations: 0 / 0.6388 GB, free: 33.21 MB / 394.7 MB Notification: Performance of Templates: time 0.07571/0.657, allocations: 58.92 MB / 0.6964 GB, free: 7.199 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.683356406632811]