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.001745/0.001745, allocations: 88.72 kB / 19.44 MB, free: 356 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.592/1.592, allocations: 177.1 MB / 199.7 MB, free: 5.809 MB / 186.7 MB " [Timeout remaining time 178] 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.001824/0.001824, allocations: 159.9 kB / 256.3 MB, free: 13.17 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.03832/0.03832, allocations: 6.659 MB / 319.4 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_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 2.385e-06/2.385e-06, allocations: 0 / 390.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.619e-05/3.857e-05, allocations: 6.25 kB / 390.9 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.2049/0.205, allocations: 22.01 MB / 412.9 MB, free: 68.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02129/0.2263, allocations: 7.735 MB / 420.7 MB, free: 67.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0075/0.2338, allocations: 203.3 kB / 420.9 MB, free: 67.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01963/0.2534, allocations: 7.551 MB / 428.4 MB, free: 64.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.2671, allocations: 3.16 MB / 431.6 MB, free: 62.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007587/0.2746, allocations: 2.014 MB / 433.6 MB, free: 60.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01414/0.2888, allocations: 9.696 MB / 443.3 MB, free: 54.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02466/0.3134, allocations: 11.23 MB / 454.5 MB, free: 43.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01664/0.3301, allocations: 7.133 MB / 461.7 MB, free: 35.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008531/0.3386, allocations: 4.518 MB / 466.2 MB, free: 31.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003854/0.3425, allocations: 1.352 MB / 467.5 MB, free: 30.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006608/0.3491, allocations: 1.745 MB / 469.3 MB, free: 28.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004131/0.3532, allocations: 2.731 MB / 472 MB, free: 25.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009281/0.3625, allocations: 3.415 MB / 475.4 MB, free: 22.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02089/0.3834, allocations: 18.49 MB / 493.9 MB, free: 3.605 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3834, allocations: 0 / 493.9 MB, free: 3.605 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3834, allocations: 0 / 493.9 MB, free: 3.605 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.00059/0.384, allocations: 0 / 493.9 MB, free: 3.605 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.03668/0.4207, allocations: 10.8 MB / 0.4929 GB, free: 8.715 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.4207, allocations: 8.031 kB / 0.4929 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03803/0.4587, allocations: 7.039 MB / 0.4998 GB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01764/0.4764, allocations: 6.09 MB / 0.5057 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001076/0.4775, allocations: 0.5858 MB / 0.5063 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004341/0.4818, allocations: 0.7655 MB / 0.507 GB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04267/0.5245, allocations: 12.97 MB / 0.5197 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004544/0.5249, allocations: 19.84 kB / 0.5197 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003223/0.5281, allocations: 324 kB / 0.52 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008624/0.529, allocations: 0.5006 MB / 0.5205 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03292/0.5619, allocations: 12.23 MB / 0.5324 GB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3685/0.9304, allocations: 37.61 MB / 0.5692 GB, free: 100.4 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0179/0.9483, allocations: 8.949 MB / 0.5779 GB, free: 97.95 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005119/0.9534, allocations: 2.724 MB / 0.5806 GB, free: 96.79 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005758/0.954, allocations: 117.8 kB / 0.5807 GB, free: 96.75 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005168/0.9592, allocations: 2.791 MB / 0.5834 GB, free: 94.89 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 9.999e-06/0.9592, allocations: 0 / 0.5834 GB, free: 94.89 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.04574/1.005, allocations: 18.46 MB / 0.6014 GB, free: 81.34 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/1.005, allocations: 351.5 kB / 0.6018 GB, free: 80.92 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005891/1.011, allocations: 3.365 MB / 0.6051 GB, free: 77.63 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007794/1.012, allocations: 93.7 kB / 0.6051 GB, free: 77.54 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/1.014, allocations: 3.495 MB / 0.6086 GB, free: 74.5 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001748/1.016, allocations: 1.397 MB / 0.6099 GB, free: 73.12 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003058/1.019, allocations: 1.089 MB / 0.611 GB, free: 72.02 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.478e-05/1.019, allocations: 301.1 kB / 0.6113 GB, free: 71.72 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004802/1.023, allocations: 2.585 MB / 0.6138 GB, free: 69.12 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00607/1.03, allocations: 4.717 MB / 0.6184 GB, free: 63.48 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/1.04, allocations: 7.471 MB / 0.6257 GB, free: 55.13 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-05/1.04, allocations: 16 kB / 0.6257 GB, free: 55.12 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01691/1.057, allocations: 8.55 MB / 0.6341 GB, free: 46.54 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.457e-05/1.057, allocations: 69.62 kB / 0.6341 GB, free: 46.46 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.774e-05/1.057, allocations: 60 kB / 0.6342 GB, free: 46.4 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003566/1.061, allocations: 1.171 MB / 0.6353 GB, free: 45.23 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005029/1.066, allocations: 1.267 MB / 0.6366 GB, free: 43.96 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.078, allocations: 8.587 MB / 0.645 GB, free: 35.28 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004928/1.082, allocations: 347.5 kB / 0.6453 GB, free: 34.94 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/1.084, allocations: 279.9 kB / 0.6456 GB, free: 34.66 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.006223/1.09, allocations: 2.891 MB / 0.6484 GB, free: 31.75 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/1.092, allocations: 0.5014 MB / 0.6489 GB, free: 31.25 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/1.105, allocations: 6.172 MB / 0.6549 GB, free: 25.02 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/1.105, allocations: 40 kB / 0.6549 GB, free: 24.98 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-05/1.105, allocations: 12 kB / 0.6549 GB, free: 24.96 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001027/1.105, allocations: 19.92 kB / 0.655 GB, free: 24.95 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0292/1.134, allocations: 12.76 MB / 0.6674 GB, free: 12.12 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/1.134, allocations: 8 kB / 0.6674 GB, free: 12.11 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00308/1.137, allocations: 0.6865 MB / 0.6681 GB, free: 11.43 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003343/1.14, allocations: 1.023 MB / 0.6691 GB, free: 10.4 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008499/1.141, allocations: 99.8 kB / 0.6692 GB, free: 10.3 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/1.151, allocations: 7.517 MB / 0.6765 GB, free: 2.691 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/1.151, allocations: 11.94 kB / 0.6766 GB, free: 2.68 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0211/1.172, allocations: 8.938 MB / 0.6853 GB, free: 9.605 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003559/1.176, allocations: 0.8331 MB / 0.6861 GB, free: 8.77 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001479/1.177, allocations: 76 kB / 0.6862 GB, free: 8.695 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003437/1.181, allocations: 191.8 kB / 0.6864 GB, free: 8.508 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001434/1.182, allocations: 291 kB / 0.6866 GB, free: 8.219 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007496/1.183, allocations: 127.9 kB / 0.6868 GB, free: 8.094 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005742/1.189, allocations: 2.165 MB / 0.6889 GB, free: 5.93 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.71e-07/1.189, allocations: 0 / 0.6889 GB, free: 5.93 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008782/1.198, allocations: 1.449 MB / 0.6903 GB, free: 4.48 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.001408/1.199, allocations: 264.8 kB / 0.6905 GB, free: 4.223 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01636/1.215, allocations: 6.282 MB / 0.6967 GB, free: 13.91 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/1.215, allocations: 4.125 kB / 0.6967 GB, free: 13.9 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008091/1.223, allocations: 2.915 MB / 0.6995 GB, free: 10.95 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007046/1.23, allocations: 0.7498 MB / 0.7003 GB, free: 10.24 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1985/1.429, allocations: 14.09 MB / 0.714 GB, free: 133.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01299/1.442, allocations: 4.528 MB / 0.7184 GB, free: 132.9 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.006495/1.448, allocations: 1.56 MB / 0.72 GB, free: 132.8 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002207/1.451, allocations: 344.5 kB / 0.7203 GB, free: 132.8 MB / 426.8 MB Notification: Performance of SimCode: time 2.805e-06/1.451, allocations: 0 / 0.7203 GB, free: 132.8 MB / 426.8 MB Notification: Performance of Templates: time 0.09264/1.543, allocations: 54.08 MB / 0.7731 GB, free: 95.92 MB / 426.8 MB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.75690327794291]