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.0008878/0.0008878, allocations: 93.06 kB / 19.65 MB, free: 272 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.9304/0.9304, allocations: 177.2 MB / 200 MB, free: 5.5 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.00142/0.00142, allocations: 168.6 kB / 256.6 MB, free: 12.97 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.03885/0.03885, allocations: 6.653 MB / 319.8 MB, free: 26.52 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.302e-06/1.302e-06, allocations: 0 / 391.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.872e-05/2.002e-05, allocations: 6.25 kB / 391.7 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.143/0.143, allocations: 24.67 MB / 416.3 MB, free: 69.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.1571, allocations: 7.929 MB / 424.3 MB, free: 67.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005003/0.1621, allocations: 205.2 kB / 424.5 MB, free: 67.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01126/0.1733, allocations: 8.091 MB / 432.6 MB, free: 62.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008849/0.1822, allocations: 3.191 MB / 435.8 MB, free: 60.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.1858, allocations: 2.05 MB / 437.8 MB, free: 58.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00851/0.1943, allocations: 9.703 MB / 447.5 MB, free: 51.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.2078, allocations: 11.25 MB / 458.8 MB, free: 40.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/0.2183, allocations: 7.254 MB / 466 MB, free: 32.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006276/0.2246, allocations: 5.068 MB / 471.1 MB, free: 27.67 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002782/0.2274, allocations: 1.348 MB / 472.4 MB, free: 26.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003844/0.2312, allocations: 1.737 MB / 474.2 MB, free: 24.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001891/0.2331, allocations: 2.766 MB / 476.9 MB, free: 21.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006876/0.24, allocations: 3.446 MB / 480.4 MB, free: 18.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.2517, allocations: 8.597 MB / 489 MB, free: 9.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2517, allocations: 0 / 489 MB, free: 9.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2517, allocations: 4 kB / 489 MB, free: 9.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000317/0.252, allocations: 0 / 489 MB, free: 9.734 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.01764/0.2697, allocations: 11.45 MB / 0.4887 GB, free: 14.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.2697, allocations: 8.031 kB / 0.4887 GB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02572/0.2955, allocations: 7.046 MB / 0.4956 GB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.3061, allocations: 5.613 MB / 0.5011 GB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006901/0.3068, allocations: 0.578 MB / 0.5016 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002186/0.309, allocations: 0.7655 MB / 0.5024 GB, free: 104 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/0.332, allocations: 6.899 MB / 0.5091 GB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003677/0.3324, allocations: 15.89 kB / 0.5091 GB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002515/0.3349, allocations: 324 kB / 0.5094 GB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005266/0.3354, allocations: 0.4928 MB / 0.5099 GB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.3467, allocations: 4.033 MB / 0.5139 GB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03811/0.3848, allocations: 33.58 MB / 0.5467 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2536/0.6383, allocations: 7.871 MB / 0.5543 GB, free: 91.02 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/0.6405, allocations: 1.312 MB / 0.5556 GB, free: 90.98 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.6408, allocations: 124.7 kB / 0.5557 GB, free: 90.98 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00195/0.6427, allocations: 1.689 MB / 0.5574 GB, free: 90.44 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 5.3e-06/0.6427, allocations: 1.656 kB / 0.5574 GB, free: 90.44 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.01722/0.6599, allocations: 12.42 MB / 0.5695 GB, free: 86.85 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.66, allocations: 354.6 kB / 0.5699 GB, free: 86.47 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/0.6627, allocations: 2.967 MB / 0.5728 GB, free: 86.05 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.6628, allocations: 92.03 kB / 0.5728 GB, free: 86.02 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.6642, allocations: 3.68 MB / 0.5764 GB, free: 84.5 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005948/0.6648, allocations: 1.443 MB / 0.5779 GB, free: 83.7 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.6658, allocations: 1.178 MB / 0.579 GB, free: 83.61 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.6659, allocations: 476.8 kB / 0.5795 GB, free: 83.14 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.667, allocations: 0.8709 MB / 0.5803 GB, free: 83.09 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.669, allocations: 3.9 MB / 0.5841 GB, free: 79.45 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/0.6725, allocations: 4.998 MB / 0.589 GB, free: 75.99 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.6725, allocations: 17.19 kB / 0.589 GB, free: 75.99 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.00553/0.678, allocations: 5.004 MB / 0.5939 GB, free: 73.9 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.6781, allocations: 53.7 kB / 0.5939 GB, free: 73.84 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/0.6781, allocations: 64 kB / 0.594 GB, free: 73.78 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.6797, allocations: 0.9257 MB / 0.5949 GB, free: 73.15 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.6817, allocations: 1.261 MB / 0.5961 GB, free: 72.2 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005105/0.6868, allocations: 5.774 MB / 0.6018 GB, free: 68.35 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.6884, allocations: 342.4 kB / 0.6021 GB, free: 68.16 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.6886, allocations: 269.4 kB / 0.6024 GB, free: 67.96 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.001245/0.6899, allocations: 0.5389 MB / 0.6029 GB, free: 67.64 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004716/0.6903, allocations: 0.509 MB / 0.6034 GB, free: 67.13 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004162/0.6945, allocations: 3.635 MB / 0.6069 GB, free: 64.12 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.6945, allocations: 44 kB / 0.607 GB, free: 64.08 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6945, allocations: 8 kB / 0.607 GB, free: 64.07 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.6945, allocations: 18.8 kB / 0.607 GB, free: 64.07 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.7046, allocations: 10.21 MB / 0.617 GB, free: 54.43 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.7046, allocations: 9.688 kB / 0.617 GB, free: 54.43 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.7059, allocations: 0.6848 MB / 0.6177 GB, free: 53.78 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.7073, allocations: 0.8202 MB / 0.6185 GB, free: 52.96 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.7075, allocations: 87.97 kB / 0.6185 GB, free: 52.87 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004304/0.7118, allocations: 5.222 MB / 0.6236 GB, free: 47.56 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7118, allocations: 7.469 kB / 0.6236 GB, free: 47.55 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.7166, allocations: 4.436 MB / 0.628 GB, free: 43 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008286/0.7174, allocations: 0.7628 MB / 0.6287 GB, free: 42.23 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/0.7177, allocations: 72 kB / 0.6288 GB, free: 42.16 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/0.7186, allocations: 195.8 kB / 0.629 GB, free: 41.97 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.7189, allocations: 290.5 kB / 0.6293 GB, free: 41.68 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.719, allocations: 116 kB / 0.6294 GB, free: 41.57 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001258/0.7203, allocations: 1.428 MB / 0.6308 GB, free: 40.14 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7203, allocations: 0 / 0.6308 GB, free: 40.14 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.002671/0.7229, allocations: 1.449 MB / 0.6322 GB, free: 38.7 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.0003464/0.7233, allocations: 260.9 kB / 0.6324 GB, free: 38.47 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004237/0.7275, allocations: 3.865 MB / 0.6362 GB, free: 34.76 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7275, allocations: 4.062 kB / 0.6362 GB, free: 34.76 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.7294, allocations: 2.022 MB / 0.6382 GB, free: 32.77 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.7311, allocations: 0.7575 MB / 0.6389 GB, free: 32.06 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.7416, allocations: 11.68 MB / 0.6503 GB, free: 20.23 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.7428, allocations: 2.048 MB / 0.6523 GB, free: 18.14 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.001897/0.7447, allocations: 1.33 MB / 0.6536 GB, free: 16.81 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006188/0.7453, allocations: 340.4 kB / 0.6539 GB, free: 16.48 MB / 394.8 MB Notification: Performance of SimCode: time 1.352e-06/0.7453, allocations: 0 / 0.6539 GB, free: 16.48 MB / 394.8 MB Notification: Performance of Templates: time 0.2112/0.9565, allocations: 56.45 MB / 0.7091 GB, free: 121.1 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.910902346018702]