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.00109/0.00109, allocations: 93.06 kB / 19.65 MB, free: 284 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.014/1.014, allocations: 177.1 MB / 200 MB, free: 5.547 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.001762/0.001762, allocations: 163.5 kB / 256.6 MB, free: 13 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.03131/0.03131, allocations: 6.656 MB / 319.8 MB, free: 11.64 MB / 298.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.244e-06/2.244e-06, allocations: 3.938 kB / 391.7 MB, free: 3.629 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.69e-05, allocations: 2.312 kB / 391.7 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.02414/0.02416, allocations: 24.77 MB / 416.5 MB, free: 10.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.03661, allocations: 7.944 MB / 424.4 MB, free: 2.777 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.0388, allocations: 203 kB / 424.6 MB, free: 2.578 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008683/0.04749, allocations: 8.113 MB / 432.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005659/0.05314, allocations: 3.189 MB / 435.9 MB, free: 7.223 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.05615, allocations: 2.052 MB / 438 MB, free: 5.168 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1332/0.1893, allocations: 9.704 MB / 447.7 MB, free: 118.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01313/0.2024, allocations: 11.23 MB / 458.9 MB, free: 116.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00767/0.2101, allocations: 7.195 MB / 466.1 MB, free: 113.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004476/0.2146, allocations: 4.976 MB / 471.1 MB, free: 112 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001744/0.2163, allocations: 1.353 MB / 472.4 MB, free: 112 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.2185, allocations: 1.745 MB / 474.2 MB, free: 111.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.2196, allocations: 2.773 MB / 476.9 MB, free: 110.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002624/0.2222, allocations: 3.458 MB / 480.4 MB, free: 108.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006628/0.2288, allocations: 8.625 MB / 489 MB, free: 102.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2288, allocations: 0 / 489 MB, free: 102.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2288, allocations: 1.438 kB / 489 MB, free: 102.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.2289, allocations: 0 / 489 MB, free: 102.6 MB / 410.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.01348/0.2424, allocations: 11.47 MB / 0.4888 GB, free: 91.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2425, allocations: 8.031 kB / 0.4888 GB, free: 91.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.2584, allocations: 7.042 MB / 0.4956 GB, free: 84.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006499/0.2649, allocations: 5.624 MB / 0.5011 GB, free: 78.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.2651, allocations: 0.5753 MB / 0.5017 GB, free: 78.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008972/0.266, allocations: 0.7701 MB / 0.5024 GB, free: 77.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009988/0.276, allocations: 6.908 MB / 0.5092 GB, free: 70.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.2761, allocations: 11.95 kB / 0.5092 GB, free: 70.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005416/0.2767, allocations: 322.1 kB / 0.5095 GB, free: 70.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002586/0.2769, allocations: 0.5 MB / 0.51 GB, free: 69.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007217/0.2841, allocations: 4.036 MB / 0.5139 GB, free: 65.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03008/0.3142, allocations: 33.65 MB / 0.5468 GB, free: 31.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008288/0.3225, allocations: 7.896 MB / 0.5545 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.3241, allocations: 1.306 MB / 0.5558 GB, free: 23.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.3243, allocations: 123 kB / 0.5559 GB, free: 23.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/0.3259, allocations: 1.689 MB / 0.5576 GB, free: 21.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=391): time 5.951e-06/0.3259, allocations: 0 / 0.5576 GB, free: 21.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=397): time 0.01735/0.3432, allocations: 12.43 MB / 0.5697 GB, free: 9.395 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.3433, allocations: 355.5 kB / 0.57 GB, free: 8.973 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.346, allocations: 2.977 MB / 0.5729 GB, free: 5.969 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.3462, allocations: 93.7 kB / 0.573 GB, free: 5.871 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.3473, allocations: 3.667 MB / 0.5766 GB, free: 2.191 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005982/0.3479, allocations: 1.444 MB / 0.578 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2284/0.5763, allocations: 1.183 MB / 0.5792 GB, free: 90.27 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.5763, allocations: 478.1 kB / 0.5796 GB, free: 89.8 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.5777, allocations: 0.8793 MB / 0.5805 GB, free: 89.76 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.5797, allocations: 3.903 MB / 0.5843 GB, free: 86.11 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/0.5833, allocations: 4.997 MB / 0.5892 GB, free: 82.74 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/0.5833, allocations: 17.09 kB / 0.5892 GB, free: 82.74 MB / 410.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.006221/0.5895, allocations: 5.014 MB / 0.5941 GB, free: 82.5 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.5896, allocations: 57.02 kB / 0.5941 GB, free: 82.47 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.811e-05/0.5896, allocations: 60.34 kB / 0.5942 GB, free: 82.47 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.5914, allocations: 0.939 MB / 0.5951 GB, free: 82.42 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.5936, allocations: 1.261 MB / 0.5964 GB, free: 82.42 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005876/0.5994, allocations: 5.753 MB / 0.602 GB, free: 80.35 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/0.6016, allocations: 355 kB / 0.6023 GB, free: 80.35 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/0.6019, allocations: 272.1 kB / 0.6026 GB, free: 80.35 MB / 410.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.00153/0.6034, allocations: 0.5385 MB / 0.6031 GB, free: 80.15 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005762/0.604, allocations: 0.5034 MB / 0.6036 GB, free: 80.15 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/0.6089, allocations: 3.639 MB / 0.6071 GB, free: 79.8 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.609, allocations: 40.5 kB / 0.6072 GB, free: 79.8 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.609, allocations: 14 kB / 0.6072 GB, free: 79.8 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.609, allocations: 20.58 kB / 0.6072 GB, free: 79.8 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.6243, allocations: 10.22 MB / 0.6172 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.6244, allocations: 11 kB / 0.6172 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.6257, allocations: 0.6848 MB / 0.6179 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.6273, allocations: 0.8178 MB / 0.6187 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/0.6275, allocations: 94.66 kB / 0.6188 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005115/0.6326, allocations: 5.223 MB / 0.6239 GB, free: 76.39 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6326, allocations: 6.625 kB / 0.6239 GB, free: 76.39 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006195/0.6388, allocations: 4.421 MB / 0.6282 GB, free: 75.24 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.6401, allocations: 0.7721 MB / 0.6289 GB, free: 74.79 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/0.6404, allocations: 74.12 kB / 0.629 GB, free: 74.74 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6414, allocations: 192.7 kB / 0.6292 GB, free: 74.68 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/0.6418, allocations: 291.2 kB / 0.6295 GB, free: 74.64 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.6419, allocations: 122.6 kB / 0.6296 GB, free: 74.61 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001774/0.6437, allocations: 1.437 MB / 0.631 GB, free: 74.14 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6437, allocations: 0 / 0.631 GB, free: 74.14 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003246/0.647, allocations: 1.451 MB / 0.6324 GB, free: 73.98 MB / 410.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.0003996/0.6474, allocations: 258.5 kB / 0.6327 GB, free: 73.82 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.004588/0.6519, allocations: 3.877 MB / 0.6364 GB, free: 70.72 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.652, allocations: 4 kB / 0.6364 GB, free: 70.71 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.654, allocations: 2.02 MB / 0.6384 GB, free: 68.99 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.6557, allocations: 0.7478 MB / 0.6391 GB, free: 68.42 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.6677, allocations: 11.69 MB / 0.6506 GB, free: 57.6 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.6691, allocations: 2.046 MB / 0.6526 GB, free: 56.06 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002162/0.6713, allocations: 1.32 MB / 0.6538 GB, free: 55.22 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006594/0.6719, allocations: 341.9 kB / 0.6542 GB, free: 54.91 MB / 410.8 MB Notification: Performance of SimCode: time 1.784e-06/0.6719, allocations: 0 / 0.6542 GB, free: 54.91 MB / 410.8 MB Notification: Performance of Templates: time 0.0572/0.7291, allocations: 54.1 MB / 0.707 GB, free: 2.227 MB / 410.8 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.9240899831056595]