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.001238/0.001238, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.9444/0.9444, allocations: 177.1 MB / 200.5 MB, free: 5.836 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.001271/0.001271, allocations: 168.5 kB / 257 MB, free: 13.2 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.02342/0.02342, allocations: 6.655 MB / 320.1 MB, free: 26.59 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 1.643e-06/1.643e-06, allocations: 0 / 391.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.625e-05, allocations: 2.312 kB / 391.7 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.1377/0.1377, allocations: 24.63 MB / 416.3 MB, free: 69.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.151, allocations: 7.915 MB / 424.3 MB, free: 67.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/0.1545, allocations: 204.8 kB / 424.5 MB, free: 67.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008471/0.1629, allocations: 8.085 MB / 432.5 MB, free: 63.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00591/0.1688, allocations: 3.181 MB / 435.7 MB, free: 60.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.1716, allocations: 2.046 MB / 437.8 MB, free: 58.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006692/0.1783, allocations: 9.701 MB / 447.5 MB, free: 51.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01038/0.1887, allocations: 11.24 MB / 458.7 MB, free: 40.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006327/0.195, allocations: 7.192 MB / 465.9 MB, free: 33.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004713/0.1997, allocations: 4.974 MB / 470.9 MB, free: 28.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002037/0.2018, allocations: 1.352 MB / 472.2 MB, free: 26.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.2039, allocations: 1.741 MB / 474 MB, free: 25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.205, allocations: 2.766 MB / 476.7 MB, free: 22.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0031/0.2081, allocations: 3.466 MB / 480.2 MB, free: 18.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006508/0.2146, allocations: 8.624 MB / 488.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2146, allocations: 0 / 488.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2146, allocations: 0 / 488.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001218/0.2147, allocations: 0 / 488.8 MB, free: 10.11 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.01445/0.2292, allocations: 11.47 MB / 0.4886 GB, free: 14.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2292, allocations: 8.031 kB / 0.4886 GB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01937/0.2486, allocations: 7.046 MB / 0.4955 GB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008536/0.2571, allocations: 5.613 MB / 0.5009 GB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.2574, allocations: 0.5819 MB / 0.5015 GB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009973/0.2584, allocations: 0.7694 MB / 0.5023 GB, free: 456 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/0.2697, allocations: 6.907 MB / 0.509 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.2699, allocations: 15.91 kB / 0.509 GB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005677/0.2704, allocations: 320 kB / 0.5093 GB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003453/0.2708, allocations: 0.5006 MB / 0.5098 GB, free: 8.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007862/0.2786, allocations: 4.04 MB / 0.5138 GB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03431/0.313, allocations: 33.64 MB / 0.5466 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2368/0.5497, allocations: 7.871 MB / 0.5543 GB, free: 118 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/0.5518, allocations: 1.312 MB / 0.5556 GB, free: 118 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.552, allocations: 123.4 kB / 0.5557 GB, free: 118 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.5537, allocations: 1.687 MB / 0.5573 GB, free: 117.4 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 4.839e-06/0.5537, allocations: 3.188 kB / 0.5573 GB, free: 117.4 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.01909/0.5728, allocations: 12.43 MB / 0.5695 GB, free: 113.8 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.5729, allocations: 354.3 kB / 0.5698 GB, free: 113.4 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.5756, allocations: 2.98 MB / 0.5727 GB, free: 113 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.5757, allocations: 89.67 kB / 0.5728 GB, free: 113 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.5769, allocations: 3.685 MB / 0.5764 GB, free: 111.4 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005862/0.5775, allocations: 1.445 MB / 0.5778 GB, free: 110.5 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/0.5786, allocations: 1.181 MB / 0.579 GB, free: 110.4 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.5786, allocations: 476.8 kB / 0.5794 GB, free: 109.9 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.5799, allocations: 0.8778 MB / 0.5803 GB, free: 109.9 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.582, allocations: 3.904 MB / 0.5841 GB, free: 106.1 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/0.5855, allocations: 4.989 MB / 0.589 GB, free: 101.1 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/0.5855, allocations: 24 kB / 0.589 GB, free: 101 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.005767/0.5913, allocations: 5.014 MB / 0.5939 GB, free: 96.54 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.5913, allocations: 57.7 kB / 0.594 GB, free: 96.48 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.5914, allocations: 60 kB / 0.594 GB, free: 96.42 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.5931, allocations: 0.9333 MB / 0.5949 GB, free: 95.71 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.5953, allocations: 1.259 MB / 0.5961 GB, free: 94.64 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005465/0.6007, allocations: 5.764 MB / 0.6018 GB, free: 89.35 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.6026, allocations: 353.9 kB / 0.6021 GB, free: 89.07 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/0.6028, allocations: 271.2 kB / 0.6024 GB, free: 88.82 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.001346/0.6042, allocations: 0.5354 MB / 0.6029 GB, free: 88.26 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005013/0.6047, allocations: 0.4976 MB / 0.6034 GB, free: 87.76 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.6091, allocations: 3.638 MB / 0.6069 GB, free: 84.2 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.6091, allocations: 40 kB / 0.607 GB, free: 84.16 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6091, allocations: 12 kB / 0.607 GB, free: 84.14 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.6091, allocations: 23.92 kB / 0.607 GB, free: 84.12 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.6199, allocations: 10.23 MB / 0.617 GB, free: 73.8 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.62, allocations: 4 kB / 0.617 GB, free: 73.8 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.6213, allocations: 0.6832 MB / 0.6177 GB, free: 73.11 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00153/0.6228, allocations: 0.8242 MB / 0.6185 GB, free: 72.29 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.623, allocations: 91.97 kB / 0.6186 GB, free: 72.2 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004606/0.6276, allocations: 5.216 MB / 0.6237 GB, free: 66.86 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6276, allocations: 4 kB / 0.6237 GB, free: 66.86 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005183/0.6328, allocations: 4.423 MB / 0.628 GB, free: 62.27 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009993/0.6338, allocations: 0.7706 MB / 0.6287 GB, free: 61.5 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/0.6341, allocations: 79.98 kB / 0.6288 GB, free: 61.42 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009509/0.6351, allocations: 183.8 kB / 0.629 GB, free: 61.24 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/0.6354, allocations: 295 kB / 0.6293 GB, free: 60.95 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.6355, allocations: 120 kB / 0.6294 GB, free: 60.83 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001444/0.637, allocations: 1.439 MB / 0.6308 GB, free: 59.39 MB / 394.8 MB Notification: Performance of sort global known variables: time 9e-08/0.637, allocations: 0 / 0.6308 GB, free: 59.39 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003287/0.6403, allocations: 1.449 MB / 0.6322 GB, free: 57.95 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.0003792/0.6406, allocations: 267 kB / 0.6325 GB, free: 57.68 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004625/0.6453, allocations: 3.866 MB / 0.6362 GB, free: 53.78 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6453, allocations: 5 kB / 0.6362 GB, free: 53.77 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.6473, allocations: 2.027 MB / 0.6382 GB, free: 51.7 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.649, allocations: 0.7576 MB / 0.639 GB, free: 50.99 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.6614, allocations: 11.67 MB / 0.6504 GB, free: 39.14 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.6626, allocations: 2.052 MB / 0.6524 GB, free: 37.05 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002161/0.6648, allocations: 1.318 MB / 0.6536 GB, free: 35.73 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006145/0.6654, allocations: 344.4 kB / 0.654 GB, free: 35.39 MB / 394.8 MB Notification: Performance of SimCode: time 1.563e-06/0.6654, allocations: 0 / 0.654 GB, free: 35.39 MB / 394.8 MB Notification: Performance of Templates: time 0.176/0.8414, allocations: 54.09 MB / 0.7068 GB, free: 131.4 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.848140409914777]