Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.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.001228/0.001228, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9299/0.9299, allocations: 177.2 MB / 200.3 MB, free: 5.691 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.001144/0.001144, allocations: 159.3 kB / 257 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.02436/0.02436, allocations: 6.654 MB / 266.9 MB, free: 3.219 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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 285.7 MB, free: 444 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.986e-05, allocations: 5.547 kB / 285.7 MB, free: 440 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.1223/0.1223, allocations: 16.58 MB / 302.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008756/0.131, allocations: 5.851 MB / 308.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.1327, allocations: 127.8 kB / 308.3 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.1346, allocations: 1.327 MB / 309.6 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002391/0.137, allocations: 1.688 MB / 311.3 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1382, allocations: 1.079 MB / 312.3 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002863/0.1411, allocations: 5.32 MB / 317.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.1433, allocations: 2.286 MB / 320 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.1464, allocations: 3.567 MB / 323.5 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/0.149, allocations: 2.447 MB / 326 MB, free: 6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008346/0.1499, allocations: 0.6172 MB / 326.6 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009732/0.1508, allocations: 0.8589 MB / 327.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007581/0.1516, allocations: 1.476 MB / 328.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.1528, allocations: 1.812 MB / 330.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.156, allocations: 4.276 MB / 335 MB, free: 12.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.156, allocations: 0 / 335 MB, free: 12.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.156, allocations: 0 / 335 MB, free: 12.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.952e-05/0.1561, allocations: 0 / 335 MB, free: 12.94 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.005957/0.162, allocations: 5.287 MB / 340.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.1621, allocations: 12.03 kB / 340.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.165, allocations: 1.382 MB / 341.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.1674, allocations: 1.91 MB / 343.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.1675, allocations: 300.5 kB / 343.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003457/0.1679, allocations: 408.3 kB / 344.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.1711, allocations: 2.997 MB / 347.3 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.561e-05/0.1711, allocations: 23.86 kB / 347.3 MB, free: 396 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.1714, allocations: 160 kB / 347.5 MB, free: 236 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.1715, allocations: 168 kB / 347.6 MB, free: 64 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.1732, allocations: 1.204 MB / 348.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.1838, allocations: 10.63 MB / 359.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.1861, allocations: 2.001 MB / 361.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.1875, allocations: 1.147 MB / 362.6 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003442/0.1909, allocations: 2.517 MB / 365.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1909, allocations: 55.81 kB / 365.2 MB, free: 14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 2.414e-06/0.1909, allocations: 0 / 365.2 MB, free: 14 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.004052/0.195, allocations: 2.748 MB / 367.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.195, allocations: 72.7 kB / 368 MB, free: 11.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.1964, allocations: 1.539 MB / 369.5 MB, free: 9.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.1964, allocations: 49.7 kB / 369.6 MB, free: 9.512 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006301/0.1971, allocations: 1.622 MB / 371.2 MB, free: 7.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.1973, allocations: 0.5731 MB / 371.8 MB, free: 7.293 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/0.1977, allocations: 391.7 kB / 372.2 MB, free: 6.902 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.249e-05/0.1978, allocations: 301.1 kB / 372.5 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.1981, allocations: 239.2 kB / 372.7 MB, free: 6.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.1987, allocations: 0.9552 MB / 373.7 MB, free: 5.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.2001, allocations: 1.423 MB / 375.1 MB, free: 3.328 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.2001, allocations: 4 kB / 375.1 MB, free: 3.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.001605/0.2017, allocations: 1.36 MB / 376.4 MB, free: 1.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.2017, allocations: 16 kB / 376.5 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.2017, allocations: 24 kB / 376.5 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.2019, allocations: 128.9 kB / 376.6 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.2031, allocations: 0.5666 MB / 377.2 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.2042, allocations: 1.691 MB / 378.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.2049, allocations: 79.94 kB / 378.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-05/0.205, allocations: 83.98 kB / 379 MB, free: 15.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (267): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005422/0.2055, allocations: 251.9 kB / 379.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.2057, allocations: 195.8 kB / 379.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.207, allocations: 1.089 MB / 380.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.207, allocations: 19.94 kB / 380.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2071, allocations: 4 kB / 380.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.2071, allocations: 7.969 kB / 380.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/0.2105, allocations: 2.619 MB / 383.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2105, allocations: 0 / 383.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007817/0.2113, allocations: 365.2 kB / 383.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.2117, allocations: 250.4 kB / 383.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-05/0.2118, allocations: 43.97 kB / 383.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/0.215, allocations: 5.226 MB / 389.1 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.215, allocations: 0 / 389.1 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.2166, allocations: 1.465 MB / 390.5 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.217, allocations: 250.4 kB / 390.8 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.2171, allocations: 39.98 kB / 390.8 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.2176, allocations: 63.91 kB / 390.9 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.2177, allocations: 121 kB / 391 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.2178, allocations: 31.98 kB / 391 MB, free: 2.832 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006044/0.2184, allocations: 0.751 MB / 391.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2184, allocations: 0 / 391.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00126/0.2197, allocations: 0.6718 MB / 392.5 MB, free: 1.387 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002446/0.2199, allocations: 164 kB / 392.6 MB, free: 1.219 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.2211, allocations: 1.078 MB / 393.7 MB, free: 124 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.28e-05/0.2211, allocations: 30.69 kB / 393.7 MB, free: 92 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000819/0.2219, allocations: 0.9137 MB / 394.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.2231, allocations: 0.5138 MB / 395.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007504/0.2306, allocations: 5.89 MB / 401 MB, free: 8.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.2312, allocations: 0.7742 MB / 401.8 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007127/0.2319, allocations: 323.4 kB / 402.1 MB, free: 7.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000857/0.2328, allocations: 0.5264 MB / 402.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2328, allocations: 0 / 402.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of Templates: time 0.1549/0.3877, allocations: 32.07 MB / 434.7 MB, free: 89.72 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3978898371569812]