Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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.001456/0.001456, allocations: 92.7 kB / 19.44 MB, free: 324 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.566/1.566, allocations: 177.1 MB / 199.7 MB, free: 5.793 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.001807/0.001807, allocations: 152.7 kB / 256.3 MB, free: 13.15 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.03789/0.03789, allocations: 6.663 MB / 319.4 MB, free: 26.57 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_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 391 MB, free: 2.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.359e-05, allocations: 2.312 kB / 391 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.0236/0.02363, allocations: 14.48 MB / 405.5 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.165/0.1886, allocations: 5.306 MB / 410.8 MB, free: 68.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004234/0.1928, allocations: 119.9 kB / 410.9 MB, free: 68.99 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005042/0.1979, allocations: 1.221 MB / 412.1 MB, free: 68.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006172/0.2041, allocations: 1.585 MB / 413.7 MB, free: 68.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.2073, allocations: 1.022 MB / 414.7 MB, free: 68.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007038/0.2143, allocations: 4.86 MB / 419.6 MB, free: 67.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/0.2174, allocations: 1.917 MB / 421.5 MB, free: 66.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006234/0.2236, allocations: 3.115 MB / 424.6 MB, free: 65.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/0.2273, allocations: 1.939 MB / 426.5 MB, free: 64.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.2283, allocations: 0.5635 MB / 427.1 MB, free: 64.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.2304, allocations: 0.7803 MB / 427.9 MB, free: 64.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007962/0.2312, allocations: 1.268 MB / 429.2 MB, free: 63.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.2333, allocations: 1.621 MB / 430.8 MB, free: 62.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006483/0.2398, allocations: 7.415 MB / 438.2 MB, free: 56.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2398, allocations: 7.438 kB / 438.2 MB, free: 56.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2398, allocations: 0 / 438.2 MB, free: 56.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001939/0.24, allocations: 0 / 438.2 MB, free: 56.38 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01107/0.2511, allocations: 4.838 MB / 443 MB, free: 51.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2511, allocations: 12.03 kB / 443 MB, free: 51.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/0.2562, allocations: 1.414 MB / 444.5 MB, free: 50.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005468/0.2616, allocations: 2.806 MB / 447.3 MB, free: 47.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.2618, allocations: 271.8 kB / 447.5 MB, free: 47.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008111/0.2626, allocations: 373.3 kB / 447.9 MB, free: 46.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008096/0.2707, allocations: 4.842 MB / 452.7 MB, free: 41.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.481e-05/0.2708, allocations: 4 kB / 452.7 MB, free: 41.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003425/0.2712, allocations: 155.9 kB / 452.9 MB, free: 41.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.2713, allocations: 155.3 kB / 453 MB, free: 41.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006358/0.2776, allocations: 3.899 MB / 456.9 MB, free: 37.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02226/0.2999, allocations: 13.57 MB / 470.5 MB, free: 23.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/0.3043, allocations: 2.53 MB / 473.1 MB, free: 21.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/0.3064, allocations: 1.294 MB / 474.3 MB, free: 20.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006234/0.3127, allocations: 3.347 MB / 477.7 MB, free: 16.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3127, allocations: 55.34 kB / 477.7 MB, free: 16.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=133): time 2.966e-06/0.3127, allocations: 0 / 477.7 MB, free: 16.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.008685/0.3214, allocations: 4.777 MB / 482.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.3214, allocations: 64.72 kB / 482.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.3237, allocations: 1.774 MB / 484.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.3238, allocations: 45.7 kB / 484.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006973/0.3245, allocations: 1.732 MB / 486.1 MB, free: 8.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.3248, allocations: 0.4919 MB / 486.6 MB, free: 8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004478/0.3253, allocations: 363.4 kB / 487 MB, free: 7.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.3253, allocations: 305.1 kB / 487.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008697/0.3262, allocations: 0.6715 MB / 488 MB, free: 6.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.3274, allocations: 1.401 MB / 489.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.3297, allocations: 2.192 MB / 491.5 MB, free: 2.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/0.3298, allocations: 11.47 kB / 491.6 MB, free: 2.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.003786/0.3335, allocations: 2.484 MB / 494 MB, free: 148 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.3336, allocations: 19.94 kB / 494.1 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/0.3336, allocations: 24 kB / 494.1 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004631/0.3341, allocations: 156.4 kB / 494.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.3359, allocations: 463.2 kB / 494.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.3386, allocations: 1.99 MB / 496.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.3405, allocations: 79.94 kB / 496.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/0.3408, allocations: 101.6 kB / 496.9 MB, free: 13.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (242): * Single equations (assignments): 240 * 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.002714/0.3435, allocations: 1.055 MB / 497.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007896/0.3443, allocations: 246.7 kB / 498.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004678/0.3489, allocations: 1.832 MB / 500 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.349, allocations: 12 kB / 500 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/0.349, allocations: 11.94 kB / 0.4883 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.349, allocations: 7.969 kB / 0.4883 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00967/0.3587, allocations: 4.025 MB / 0.4922 GB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.3587, allocations: 0 / 0.4922 GB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.3597, allocations: 203.8 kB / 0.4924 GB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.3609, allocations: 356 kB / 0.4928 GB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.3611, allocations: 35.98 kB / 0.4928 GB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009127/0.3702, allocations: 6.668 MB / 0.4993 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.3702, allocations: 10.05 kB / 0.4993 GB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006169/0.3764, allocations: 2.763 MB / 0.502 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/0.3781, allocations: 342.7 kB / 0.5023 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005983/0.3787, allocations: 31.98 kB / 0.5024 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.38, allocations: 55.97 kB / 0.5024 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003472/0.3803, allocations: 116.9 kB / 0.5025 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.3805, allocations: 39.98 kB / 0.5026 GB, free: 11.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002806/0.3833, allocations: 1.154 MB / 0.5037 GB, free: 9.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3833, allocations: 0 / 0.5037 GB, free: 9.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003548/0.3868, allocations: 0.6015 MB / 0.5043 GB, free: 9.281 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,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) * 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 (106): * Single equations (assignments): 103 * 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.0006247/0.3874, allocations: 175.9 kB / 0.5045 GB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004072/0.3915, allocations: 1.747 MB / 0.5062 GB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.3915, allocations: 4.062 kB / 0.5062 GB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002511/0.394, allocations: 1.155 MB / 0.5073 GB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.3971, allocations: 494.2 kB / 0.5078 GB, free: 5.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.4097, allocations: 6 MB / 0.5136 GB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/0.4123, allocations: 1.857 MB / 0.5154 GB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001789/0.4141, allocations: 445 kB / 0.5159 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/0.4145, allocations: 136.5 kB / 0.516 GB, free: 13.13 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.4145, allocations: 0 / 0.516 GB, free: 13.13 MB / 378.7 MB Notification: Performance of Templates: time 0.05555/0.4701, allocations: 26.23 MB / 0.5416 GB, free: 3.379 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.251823012949899]