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.0009383/0.0009383, 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.9974/0.9974, allocations: 177.1 MB / 200.5 MB, free: 5.828 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.0012/0.0012, allocations: 164.6 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.02573/0.02573, allocations: 6.67 MB / 320.1 MB, free: 11.7 MB / 298.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.282e-06/1.282e-06, allocations: 0 / 391.7 MB, free: 3.984 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.133e-05, allocations: 2.312 kB / 391.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01701/0.01703, allocations: 16.15 MB / 407.9 MB, free: 3.754 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.02832, allocations: 5.485 MB / 413.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/0.03068, allocations: 119.3 kB / 413.5 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002941/0.03362, allocations: 1.227 MB / 414.7 MB, free: 12.9 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004505/0.03812, allocations: 1.599 MB / 416.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.04054, allocations: 1.032 MB / 417.4 MB, free: 10.26 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005668/0.04621, allocations: 4.878 MB / 422.2 MB, free: 5.355 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.0492, allocations: 1.924 MB / 424.2 MB, free: 3.367 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/0.05386, allocations: 3.142 MB / 427.3 MB, free: 224 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003235/0.0571, allocations: 2.132 MB / 429.4 MB, free: 14.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.05829, allocations: 0.5586 MB / 430 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.0599, allocations: 0.7691 MB / 430.8 MB, free: 12.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009264/0.06082, allocations: 1.293 MB / 432.1 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002362/0.06318, allocations: 1.641 MB / 433.7 MB, free: 9.809 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005574/0.06876, allocations: 3.816 MB / 437.5 MB, free: 5.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.06877, allocations: 0 / 437.5 MB, free: 5.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.06877, allocations: 0 / 437.5 MB, free: 5.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001522/0.06892, allocations: 8 kB / 437.5 MB, free: 5.973 MB / 410.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.01039/0.07931, allocations: 5.116 MB / 442.6 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.07936, allocations: 12.03 kB / 442.6 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1354/0.2147, allocations: 1.397 MB / 444 MB, free: 159.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004489/0.2192, allocations: 2.629 MB / 446.7 MB, free: 158.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.2194, allocations: 272.6 kB / 446.9 MB, free: 158.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004135/0.2198, allocations: 370.1 kB / 447.3 MB, free: 158.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004868/0.2247, allocations: 2.938 MB / 450.2 MB, free: 157.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.413e-05/0.2248, allocations: 10.06 kB / 450.2 MB, free: 157.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003306/0.2251, allocations: 148.6 kB / 450.4 MB, free: 157 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002036/0.2253, allocations: 156.8 kB / 450.5 MB, free: 157 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004015/0.2293, allocations: 1.402 MB / 451.9 MB, free: 156.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/0.2464, allocations: 12.82 MB / 464.8 MB, free: 147.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.2485, allocations: 1.952 MB / 466.7 MB, free: 146.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000942/0.2494, allocations: 0.8105 MB / 467.5 MB, free: 145.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00292/0.2524, allocations: 2.711 MB / 470.2 MB, free: 142.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.2524, allocations: 46.7 kB / 470.3 MB, free: 142.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=133): time 2.444e-06/0.2524, allocations: 0 / 470.3 MB, free: 142.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.004259/0.2566, allocations: 3.327 MB / 473.6 MB, free: 139.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2567, allocations: 72.66 kB / 473.7 MB, free: 139.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.2579, allocations: 1.609 MB / 475.3 MB, free: 137.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.2579, allocations: 49.64 kB / 475.3 MB, free: 137.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/0.2584, allocations: 1.812 MB / 477.2 MB, free: 135.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.2586, allocations: 0.5069 MB / 477.7 MB, free: 135.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.2589, allocations: 389 kB / 478 MB, free: 134.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.015e-05/0.2589, allocations: 480.8 kB / 478.5 MB, free: 134.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.2593, allocations: 263.8 kB / 478.8 MB, free: 134.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.2599, allocations: 1.318 MB / 480.1 MB, free: 132.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.261, allocations: 1.73 MB / 481.8 MB, free: 130.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.2611, allocations: 8 kB / 481.8 MB, free: 130.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.001666/0.2627, allocations: 1.676 MB / 483.5 MB, free: 128.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2627, allocations: 15.94 kB / 483.5 MB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.2628, allocations: 24 kB / 483.5 MB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.263, allocations: 116 kB / 483.6 MB, free: 128.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008033/0.2638, allocations: 466.5 kB / 484.1 MB, free: 127.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008367/0.2646, allocations: 2.302 MB / 486.4 MB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.2652, allocations: 92.67 kB / 486.5 MB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/0.2652, allocations: 92 kB / 486.6 MB, free: 125.3 MB / 410.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.0004475/0.2657, allocations: 291.9 kB / 486.9 MB, free: 125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.2659, allocations: 250.7 kB / 487.1 MB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.2672, allocations: 1.203 MB / 488.3 MB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2672, allocations: 12 kB / 488.3 MB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2672, allocations: 8 kB / 488.3 MB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.2673, allocations: 7.922 kB / 488.3 MB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.2707, allocations: 3.537 MB / 491.9 MB, free: 119.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2707, allocations: 3.984 kB / 491.9 MB, free: 119.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.2712, allocations: 208 kB / 492.1 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/0.2717, allocations: 272.9 kB / 492.4 MB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.2717, allocations: 35.98 kB / 492.4 MB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0028/0.2745, allocations: 7.284 MB / 499.7 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2745, allocations: 4 kB / 499.7 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.2763, allocations: 1.7 MB / 0.4896 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.2766, allocations: 334.5 kB / 0.4899 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.2768, allocations: 28 kB / 0.49 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.2772, allocations: 59.95 kB / 0.49 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.2773, allocations: 109.1 kB / 0.4901 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.2774, allocations: 39.98 kB / 0.4902 GB, free: 109.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007346/0.2781, allocations: 0.8959 MB / 0.491 GB, free: 108.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2781, allocations: 2.625 kB / 0.4911 GB, free: 108.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001157/0.2793, allocations: 0.6015 MB / 0.4916 GB, free: 108 MB / 410.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.0002515/0.2795, allocations: 161.5 kB / 0.4918 GB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.2808, allocations: 1.219 MB / 0.493 GB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2808, allocations: 0 / 0.493 GB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008063/0.2816, allocations: 1.109 MB / 0.4941 GB, free: 105.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.2827, allocations: 499.9 kB / 0.4945 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005751/0.2885, allocations: 5.379 MB / 0.4998 GB, free: 99.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.289, allocations: 0.8107 MB / 0.5006 GB, free: 98.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007214/0.2897, allocations: 397 kB / 0.501 GB, free: 98.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.29, allocations: 132.5 kB / 0.5011 GB, free: 98.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.29, allocations: 0 / 0.5011 GB, free: 98.1 MB / 410.7 MB Notification: Performance of Templates: time 0.02821/0.3182, allocations: 26.26 MB / 0.5267 GB, free: 72.3 MB / 410.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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5989677731413394]