Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.001337/0.001337, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.9347/0.9347, allocations: 177.2 MB / 200.3 MB, free: 5.672 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.001147/0.001147, allocations: 156.6 kB / 257 MB, free: 12.96 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.02441/0.02441, allocations: 6.657 MB / 266.9 MB, free: 3.211 MB / 250.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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 285.7 MB, free: 400 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.789e-05, allocations: 5.688 kB / 285.7 MB, free: 396 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.1221/0.1222, allocations: 24.06 MB / 309.8 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.1348, allocations: 8.279 MB / 318.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.1373, allocations: 207 kB / 318.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008159/0.1454, allocations: 8.08 MB / 326.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00521/0.1506, allocations: 3.182 MB / 329.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.1533, allocations: 2.04 MB / 331.6 MB, free: 500 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009265/0.1626, allocations: 9.711 MB / 341.3 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.175, allocations: 11.58 MB / 352.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007609/0.1826, allocations: 7.27 MB / 360.1 MB, free: 3.695 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004919/0.1875, allocations: 5.119 MB / 365.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.1889, allocations: 1.348 MB / 366.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.1912, allocations: 1.749 MB / 368.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001726/0.1929, allocations: 2.758 MB / 371.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002985/0.1959, allocations: 3.45 MB / 374.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008466/0.2044, allocations: 8.593 MB / 383.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2044, allocations: 0 / 383.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2044, allocations: 0 / 383.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001591/0.2045, allocations: 4 kB / 383.2 MB, free: 12.62 MB / 346.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.01416/0.2187, allocations: 10.16 MB / 393.3 MB, free: 2.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2187, allocations: 12.03 kB / 393.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01746/0.2362, allocations: 5.803 MB / 399.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005639/0.2418, allocations: 3.136 MB / 402.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.2421, allocations: 0.5819 MB / 402.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009751/0.2431, allocations: 0.7655 MB / 403.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008323/0.2514, allocations: 6.451 MB / 410.1 MB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.2515, allocations: 7.953 kB / 410.1 MB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005536/0.2521, allocations: 324 kB / 410.4 MB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003292/0.2524, allocations: 0.4967 MB / 410.9 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005078/0.2575, allocations: 3.327 MB / 414.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1634/0.4209, allocations: 25.64 MB / 439.9 MB, free: 64.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006304/0.4272, allocations: 5.329 MB / 445.2 MB, free: 64.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.4283, allocations: 0.9914 MB / 446.2 MB, free: 64.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.4285, allocations: 129.3 kB / 446.3 MB, free: 64.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/0.4298, allocations: 1.512 MB / 447.8 MB, free: 63.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=391): time 4.799e-06/0.4298, allocations: 0 / 447.8 MB, free: 63.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=397): time 0.01182/0.4416, allocations: 7.194 MB / 455 MB, free: 62.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.4417, allocations: 355 kB / 455.4 MB, free: 62.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.4433, allocations: 2.248 MB / 457.6 MB, free: 62.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.4435, allocations: 87.95 kB / 457.7 MB, free: 61.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.4445, allocations: 3.193 MB / 460.9 MB, free: 59.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007023/0.4452, allocations: 1.405 MB / 462.3 MB, free: 59.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.4462, allocations: 1.004 MB / 463.3 MB, free: 58.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.03e-05/0.4463, allocations: 303.9 kB / 463.6 MB, free: 58.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008844/0.4471, allocations: 0.7351 MB / 464.3 MB, free: 58.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.4485, allocations: 2.717 MB / 467 MB, free: 56.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.451, allocations: 3.771 MB / 470.8 MB, free: 53.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/0.451, allocations: 20 kB / 470.8 MB, free: 53.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.003848/0.4548, allocations: 3.664 MB / 474.5 MB, free: 51.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.4549, allocations: 62.58 kB / 474.6 MB, free: 50.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.655e-05/0.4549, allocations: 60 kB / 474.6 MB, free: 50.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.4564, allocations: 0.8603 MB / 475.5 MB, free: 50.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.4585, allocations: 1.23 MB / 476.7 MB, free: 49.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004086/0.4626, allocations: 4.286 MB / 481 MB, free: 46.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.4642, allocations: 229.3 kB / 481.2 MB, free: 46.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.4645, allocations: 212 kB / 481.4 MB, free: 45.85 MB / 378.7 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.001514/0.466, allocations: 0.5039 MB / 481.9 MB, free: 45.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.4665, allocations: 346.7 kB / 482.3 MB, free: 45.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004066/0.4705, allocations: 2.787 MB / 485.1 MB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.4705, allocations: 43.94 kB / 485.1 MB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.4706, allocations: 8 kB / 485.1 MB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/0.4706, allocations: 23.92 kB / 485.1 MB, free: 42.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.481, allocations: 7.546 MB / 492.7 MB, free: 37.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.481, allocations: 8 kB / 492.7 MB, free: 37.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/0.4829, allocations: 0.6468 MB / 493.3 MB, free: 36.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.4846, allocations: 0.7499 MB / 494.1 MB, free: 35.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/0.4848, allocations: 82.84 kB / 494.2 MB, free: 35.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004403/0.4892, allocations: 3.869 MB / 498 MB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4892, allocations: 7.656 kB / 498 MB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/0.4936, allocations: 3.267 MB / 0.4896 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009736/0.4946, allocations: 477.8 kB / 0.49 GB, free: 29.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003796/0.4949, allocations: 74.31 kB / 0.4901 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.496, allocations: 101.9 kB / 0.4902 GB, free: 29.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004371/0.4964, allocations: 289 kB / 0.4905 GB, free: 28.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/0.4966, allocations: 83.16 kB / 0.4905 GB, free: 28.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001054/0.4977, allocations: 1.039 MB / 0.4915 GB, free: 27.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4977, allocations: 8 kB / 0.4916 GB, free: 27.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003766/0.5014, allocations: 1.44 MB / 0.493 GB, free: 26.7 MB / 378.7 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.0004261/0.5019, allocations: 240.5 kB / 0.4932 GB, free: 26.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003899/0.5058, allocations: 3.081 MB / 0.4962 GB, free: 23.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001109/0.5059, allocations: 59.94 kB / 0.4963 GB, free: 23.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.5078, allocations: 1.647 MB / 0.4979 GB, free: 22.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.5098, allocations: 0.735 MB / 0.4986 GB, free: 21.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.5249, allocations: 11.35 MB / 0.5097 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.5265, allocations: 1.508 MB / 0.5111 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001998/0.5285, allocations: 0.6478 MB / 0.5118 GB, free: 9.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/0.5303, allocations: 0.8183 MB / 0.5126 GB, free: 8.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5303, allocations: 3.75 kB / 0.5126 GB, free: 8.559 MB / 378.7 MB Notification: Performance of Templates: time 0.1913/0.7216, allocations: 59.2 MB / 0.5704 GB, free: 119.3 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.377469582017511]