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.001483/0.001483, allocations: 93.06 kB / 19.65 MB, free: 280 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 0.9676/0.9676, allocations: 177.1 MB / 200 MB, free: 5.488 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: 160.6 kB / 256.6 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.02302/0.02302, allocations: 6.66 MB / 319.8 MB, free: 26.52 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.112e-06/1.112e-06, allocations: 0 / 391.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.374e-05, allocations: 2.312 kB / 391.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01229/0.0123, allocations: 16.23 MB / 408 MB, free: 2.176 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1254/0.1377, allocations: 5.493 MB / 413.5 MB, free: 69.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.1396, allocations: 120.7 kB / 413.6 MB, free: 69.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.1419, allocations: 1.223 MB / 414.8 MB, free: 69.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.1451, allocations: 1.602 MB / 416.4 MB, free: 69.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.1468, allocations: 1.03 MB / 417.4 MB, free: 68.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004052/0.1508, allocations: 4.863 MB / 422.3 MB, free: 66.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.1533, allocations: 1.922 MB / 424.2 MB, free: 65.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003616/0.157, allocations: 3.154 MB / 427.4 MB, free: 64.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/0.1596, allocations: 2.134 MB / 429.5 MB, free: 63.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007053/0.1603, allocations: 0.5562 MB / 430.1 MB, free: 63.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.1615, allocations: 0.7721 MB / 430.8 MB, free: 63.26 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006681/0.1621, allocations: 1.29 MB / 432.1 MB, free: 62.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.1636, allocations: 1.639 MB / 433.8 MB, free: 61.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.1667, allocations: 3.814 MB / 437.6 MB, free: 58.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1667, allocations: 0 / 437.6 MB, free: 58.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1667, allocations: 0 / 437.6 MB, free: 58.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.219e-05/0.1668, allocations: 0 / 437.6 MB, free: 58.64 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.01977/0.1866, allocations: 5.111 MB / 442.7 MB, free: 53.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1866, allocations: 8.031 kB / 442.7 MB, free: 53.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006774/0.1934, allocations: 1.408 MB / 444.1 MB, free: 52.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009142/0.2025, allocations: 2.625 MB / 446.7 MB, free: 49.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.2026, allocations: 275.8 kB / 447 MB, free: 49.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003702/0.203, allocations: 371.1 kB / 447.4 MB, free: 48.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.2194, allocations: 2.937 MB / 450.3 MB, free: 45.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.899e-05/0.2194, allocations: 7.922 kB / 450.3 MB, free: 45.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.2197, allocations: 155.9 kB / 450.5 MB, free: 45.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.2198, allocations: 151.3 kB / 450.6 MB, free: 45.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009102/0.2289, allocations: 1.398 MB / 452 MB, free: 44.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.2438, allocations: 12.81 MB / 464.8 MB, free: 30.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.2459, allocations: 1.977 MB / 466.8 MB, free: 29.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009681/0.2469, allocations: 0.8059 MB / 467.6 MB, free: 28.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002886/0.2497, allocations: 2.709 MB / 470.3 MB, free: 25.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.2498, allocations: 54.7 kB / 470.4 MB, free: 25.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=133): time 2.695e-06/0.2498, allocations: 0 / 470.4 MB, free: 25.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.004067/0.2538, allocations: 3.326 MB / 473.7 MB, free: 22.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.2539, allocations: 64.72 kB / 473.7 MB, free: 22.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.255, allocations: 1.613 MB / 475.4 MB, free: 20.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.2551, allocations: 49.7 kB / 475.4 MB, free: 20.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000545/0.2556, allocations: 1.818 MB / 477.2 MB, free: 18.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.2558, allocations: 0.4982 MB / 477.7 MB, free: 18.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.2561, allocations: 385 kB / 478.1 MB, free: 17.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.2561, allocations: 480.8 kB / 478.6 MB, free: 17.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.2565, allocations: 267.8 kB / 478.8 MB, free: 16.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.2571, allocations: 1.321 MB / 480.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.2582, allocations: 1.725 MB / 481.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.2582, allocations: 8 kB / 481.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.001532/0.2597, allocations: 1.686 MB / 483.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2597, allocations: 19.94 kB / 483.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.2598, allocations: 24 kB / 483.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.26, allocations: 111.3 kB / 483.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/0.2607, allocations: 471.3 kB / 484.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008028/0.2615, allocations: 2.294 MB / 486.5 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.262, allocations: 91.81 kB / 486.6 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.2621, allocations: 95.98 kB / 486.7 MB, free: 8.113 MB / 330.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.000398/0.2625, allocations: 283.9 kB / 486.9 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.2627, allocations: 242.7 kB / 487.2 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.2639, allocations: 1.204 MB / 488.4 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2639, allocations: 12 kB / 488.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.264, allocations: 15.94 kB / 488.4 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.264, allocations: 7.969 kB / 488.4 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.2671, allocations: 3.547 MB / 492 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2671, allocations: 4 kB / 492 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.2675, allocations: 199.8 kB / 492.2 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/0.268, allocations: 269.3 kB / 492.4 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.268, allocations: 35.98 kB / 492.5 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003477/0.2715, allocations: 7.294 MB / 499.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2715, allocations: 7.938 kB / 499.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.2734, allocations: 1.695 MB / 0.4897 GB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.2738, allocations: 326.6 kB / 0.49 GB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.2739, allocations: 35.98 kB / 0.49 GB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.2743, allocations: 59.86 kB / 0.4901 GB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.2745, allocations: 109 kB / 0.4902 GB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.2745, allocations: 36 kB / 0.4902 GB, free: 8.227 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008443/0.2753, allocations: 0.8959 MB / 0.4911 GB, free: 7.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2753, allocations: 0 / 0.4911 GB, free: 7.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001189/0.2765, allocations: 0.5938 MB / 0.4917 GB, free: 6.746 MB / 346.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.0002427/0.2768, allocations: 165.2 kB / 0.4919 GB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.2782, allocations: 1.216 MB / 0.493 GB, free: 5.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2782, allocations: 5.938 kB / 0.493 GB, free: 5.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000919/0.2791, allocations: 1.108 MB / 0.4941 GB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.2803, allocations: 496.5 kB / 0.4946 GB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006283/0.2866, allocations: 5.386 MB / 0.4999 GB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.2871, allocations: 0.8107 MB / 0.5007 GB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009195/0.2881, allocations: 396.9 kB / 0.501 GB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.2883, allocations: 140.5 kB / 0.5012 GB, free: 12.86 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2883, allocations: 0 / 0.5012 GB, free: 12.86 MB / 362.7 MB Notification: Performance of Templates: time 0.03274/0.321, allocations: 27.73 MB / 0.5282 GB, free: 1.598 MB / 378.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.5786454183980823]