Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.0008873/0.0008873, allocations: 92.22 kB / 19.65 MB, free: 276 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 1.005/1.005, allocations: 177.1 MB / 200 MB, free: 5.551 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.005869/0.005869, allocations: 160.6 kB / 256.6 MB, free: 13.01 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.02612/0.02612, allocations: 6.659 MB / 319.8 MB, free: 26.54 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_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 391.7 MB, free: 2.566 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.476e-05, allocations: 5.969 kB / 391.7 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.1375/0.1375, allocations: 24.67 MB / 416.3 MB, free: 69.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.1504, allocations: 7.933 MB / 424.3 MB, free: 67.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.1537, allocations: 200.4 kB / 424.5 MB, free: 67.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008376/0.1621, allocations: 8.091 MB / 432.6 MB, free: 62.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005876/0.168, allocations: 3.192 MB / 435.8 MB, free: 60.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.1707, allocations: 2.051 MB / 437.8 MB, free: 58.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006507/0.1772, allocations: 9.704 MB / 447.5 MB, free: 51.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009535/0.1868, allocations: 11.24 MB / 458.8 MB, free: 40.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00649/0.1932, allocations: 7.188 MB / 465.9 MB, free: 32.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.1974, allocations: 4.978 MB / 470.9 MB, free: 27.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.1984, allocations: 1.359 MB / 472.3 MB, free: 26.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.2002, allocations: 1.745 MB / 474 MB, free: 24.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.2013, allocations: 2.77 MB / 476.8 MB, free: 21.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002129/0.2034, allocations: 3.458 MB / 480.3 MB, free: 18.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005741/0.2092, allocations: 8.628 MB / 488.9 MB, free: 9.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.2092, allocations: 0 / 488.9 MB, free: 9.855 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2092, allocations: 4 kB / 488.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.766e-05/0.2093, allocations: 0 / 488.9 MB, free: 9.852 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.01249/0.2217, allocations: 11.46 MB / 0.4886 GB, free: 14.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2218, allocations: 8.031 kB / 0.4886 GB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/0.2385, allocations: 7.05 MB / 0.4955 GB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007274/0.2458, allocations: 5.617 MB / 0.501 GB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.246, allocations: 0.578 MB / 0.5016 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008654/0.2469, allocations: 0.7655 MB / 0.5023 GB, free: 200 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009944/0.2568, allocations: 6.907 MB / 0.5091 GB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.257, allocations: 19.89 kB / 0.5091 GB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000527/0.2575, allocations: 320 kB / 0.5094 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000311/0.2578, allocations: 0.4928 MB / 0.5099 GB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007406/0.2652, allocations: 4.044 MB / 0.5138 GB, free: 4.289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03249/0.2977, allocations: 33.65 MB / 0.5467 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2327/0.5304, allocations: 7.867 MB / 0.5543 GB, free: 90.92 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002297/0.5327, allocations: 1.309 MB / 0.5556 GB, free: 90.88 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/0.5329, allocations: 123.6 kB / 0.5557 GB, free: 90.88 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001848/0.5348, allocations: 1.691 MB / 0.5574 GB, free: 90.34 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 5.78e-06/0.5348, allocations: 0 / 0.5574 GB, free: 90.34 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.01849/0.5533, allocations: 12.43 MB / 0.5695 GB, free: 86.75 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.5534, allocations: 352.7 kB / 0.5699 GB, free: 86.37 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/0.5576, allocations: 2.974 MB / 0.5728 GB, free: 85.95 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.5578, allocations: 93.11 kB / 0.5729 GB, free: 85.92 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/0.5595, allocations: 3.682 MB / 0.5765 GB, free: 84.4 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007001/0.5602, allocations: 1.439 MB / 0.5779 GB, free: 83.6 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.5613, allocations: 1.187 MB / 0.579 GB, free: 83.5 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.013e-05/0.5613, allocations: 476.8 kB / 0.5795 GB, free: 83.03 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.5627, allocations: 0.8784 MB / 0.5803 GB, free: 82.98 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.5649, allocations: 3.907 MB / 0.5842 GB, free: 79.34 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/0.5688, allocations: 4.993 MB / 0.589 GB, free: 75.88 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.799e-05/0.5688, allocations: 16.81 kB / 0.589 GB, free: 75.88 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.006279/0.5751, allocations: 5.01 MB / 0.5939 GB, free: 73.79 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.5752, allocations: 53.7 kB / 0.594 GB, free: 73.73 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.51e-05/0.5752, allocations: 64 kB / 0.5941 GB, free: 73.66 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.5772, allocations: 0.9354 MB / 0.595 GB, free: 73.04 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.5794, allocations: 1.272 MB / 0.5962 GB, free: 72.08 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/0.5849, allocations: 5.759 MB / 0.6018 GB, free: 68.23 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.5868, allocations: 349 kB / 0.6022 GB, free: 68.05 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/0.5871, allocations: 275.6 kB / 0.6024 GB, free: 67.84 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.001388/0.5885, allocations: 0.5346 MB / 0.6029 GB, free: 67.53 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005111/0.589, allocations: 0.5022 MB / 0.6034 GB, free: 67.07 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/0.5933, allocations: 3.637 MB / 0.607 GB, free: 64.07 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.5933, allocations: 40 kB / 0.607 GB, free: 64.03 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.5933, allocations: 16 kB / 0.607 GB, free: 64.01 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/0.5934, allocations: 22.16 kB / 0.6071 GB, free: 64.01 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.605, allocations: 10.22 MB / 0.617 GB, free: 54.39 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.605, allocations: 4 kB / 0.617 GB, free: 54.39 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.6064, allocations: 0.6847 MB / 0.6177 GB, free: 53.74 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.6081, allocations: 0.8209 MB / 0.6185 GB, free: 52.92 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.6082, allocations: 91.09 kB / 0.6186 GB, free: 52.84 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004618/0.6129, allocations: 5.226 MB / 0.6237 GB, free: 47.52 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.6129, allocations: 7.75 kB / 0.6237 GB, free: 47.51 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/0.6184, allocations: 4.426 MB / 0.628 GB, free: 42.96 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.6196, allocations: 0.7706 MB / 0.6288 GB, free: 42.19 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/0.6199, allocations: 76 kB / 0.6289 GB, free: 42.11 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009449/0.6209, allocations: 187.8 kB / 0.629 GB, free: 41.93 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.6212, allocations: 294.7 kB / 0.6293 GB, free: 41.64 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.6214, allocations: 116 kB / 0.6294 GB, free: 41.53 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001671/0.623, allocations: 1.439 MB / 0.6308 GB, free: 40.09 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.7e-07/0.623, allocations: 0 / 0.6308 GB, free: 40.09 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003368/0.6264, allocations: 1.453 MB / 0.6323 GB, free: 38.64 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.0004221/0.6268, allocations: 252.7 kB / 0.6325 GB, free: 38.42 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004706/0.6315, allocations: 3.879 MB / 0.6363 GB, free: 34.7 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6315, allocations: 0 / 0.6363 GB, free: 34.7 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002008/0.6336, allocations: 2.02 MB / 0.6383 GB, free: 32.71 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.6353, allocations: 0.755 MB / 0.639 GB, free: 32 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.6484, allocations: 11.68 MB / 0.6504 GB, free: 20.16 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.6497, allocations: 2.049 MB / 0.6524 GB, free: 18.08 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002146/0.6519, allocations: 1.322 MB / 0.6537 GB, free: 16.75 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006798/0.6526, allocations: 340.4 kB / 0.654 GB, free: 16.42 MB / 394.8 MB Notification: Performance of SimCode: time 1.823e-06/0.6526, allocations: 4 kB / 0.654 GB, free: 16.41 MB / 394.8 MB Notification: Performance of Templates: time 0.184/0.8366, allocations: 54.07 MB / 0.7068 GB, free: 121 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.982699354644865]