Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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.0008865/0.0008865, allocations: 80.75 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.9634/0.9634, 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.001252/0.001252, allocations: 152.6 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.02573/0.02573, allocations: 6.657 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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 285.8 MB, free: 372 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.211e-05, allocations: 2.312 kB / 285.8 MB, free: 368 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.1147/0.1147, allocations: 15.86 MB / 301.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.125, allocations: 5.679 MB / 307.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.1278, allocations: 120.4 kB / 307.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003205/0.1311, allocations: 1.27 MB / 308.7 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004687/0.1357, allocations: 1.589 MB / 310.3 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.138, allocations: 1.031 MB / 311.3 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004404/0.1424, allocations: 4.877 MB / 316.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.145, allocations: 1.967 MB / 318.2 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004488/0.1494, allocations: 3.154 MB / 321.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.1526, allocations: 2.147 MB / 323.5 MB, free: 8.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.1536, allocations: 0.5547 MB / 324 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.1554, allocations: 0.7847 MB / 324.8 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009808/0.1564, allocations: 1.289 MB / 326.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002645/0.159, allocations: 1.637 MB / 327.7 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.1637, allocations: 3.808 MB / 331.5 MB, free: 460 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1637, allocations: 0 / 331.5 MB, free: 460 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1637, allocations: 0 / 331.5 MB, free: 460 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001391/0.1639, allocations: 0 / 331.5 MB, free: 460 kB / 282.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.00685/0.1707, allocations: 4.767 MB / 336.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1707, allocations: 12.03 kB / 336.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.174, allocations: 1.299 MB / 337.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.1772, allocations: 1.719 MB / 339.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.1773, allocations: 279.8 kB / 339.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004442/0.1778, allocations: 364.3 kB / 340 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003783/0.1816, allocations: 2.742 MB / 342.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-05/0.1816, allocations: 11.88 kB / 342.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.1819, allocations: 152.8 kB / 342.9 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.182, allocations: 155.3 kB / 343 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.1842, allocations: 1.061 MB / 344.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.1968, allocations: 9.928 MB / 354 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.1988, allocations: 1.606 MB / 355.6 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007588/0.1995, allocations: 0.6157 MB / 356.2 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003759/0.2033, allocations: 2.047 MB / 358.3 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.2033, allocations: 51.56 kB / 358.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of pre-optimization done (n=118): time 2.966e-06/0.2033, allocations: 0 / 358.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=144): time 0.00556/0.2089, allocations: 3.078 MB / 361.4 MB, free: 1.934 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.2089, allocations: 68.72 kB / 361.5 MB, free: 1.855 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.2102, allocations: 1.438 MB / 362.9 MB, free: 380 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.2103, allocations: 49.7 kB / 363 MB, free: 324 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006534/0.211, allocations: 1.576 MB / 364.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.2113, allocations: 0.5112 MB / 365 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00062/0.2119, allocations: 403.8 kB / 365.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.212, allocations: 305.1 kB / 365.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.2123, allocations: 243.4 kB / 366 MB, free: 13.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.213, allocations: 1.012 MB / 367 MB, free: 11.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.2146, allocations: 1.797 MB / 368.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/0.2146, allocations: 11.75 kB / 368.8 MB, free: 9.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.001825/0.2164, allocations: 1.378 MB / 370.2 MB, free: 8.332 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.2164, allocations: 16 kB / 370.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.2165, allocations: 35.88 kB / 370.2 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/0.2169, allocations: 201.2 kB / 370.4 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.218, allocations: 0.5343 MB / 370.9 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.2202, allocations: 2.21 MB / 373.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.2214, allocations: 91.86 kB / 373.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.2215, allocations: 80 kB / 373.3 MB, free: 5.074 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (261): * Single equations (assignments): 259 * 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007352/0.2222, allocations: 271.8 kB / 373.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.2225, allocations: 163.8 kB / 373.8 MB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.2236, allocations: 0.8351 MB / 374.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.2236, allocations: 16 kB / 374.6 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2236, allocations: 7.938 kB / 374.6 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.2237, allocations: 7.969 kB / 374.6 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.2269, allocations: 2.245 MB / 376.9 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.2269, allocations: 4 kB / 376.9 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/0.2277, allocations: 358.3 kB / 377.2 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003525/0.2281, allocations: 156.6 kB / 377.4 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.2281, allocations: 31.98 kB / 377.4 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.23, allocations: 2.126 MB / 379.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.23, allocations: 8.031 kB / 379.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.2315, allocations: 1.183 MB / 380.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.232, allocations: 218.6 kB / 380.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.2321, allocations: 32 kB / 381 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.2326, allocations: 43.98 kB / 381 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.2327, allocations: 105 kB / 381.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.2328, allocations: 35.98 kB / 381.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006467/0.2334, allocations: 0.6781 MB / 381.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2334, allocations: 0 / 381.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001495/0.2349, allocations: 0.6289 MB / 382.5 MB, free: 11.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.re,smee.stator.core.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 (125): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002547/0.2352, allocations: 140.2 kB / 382.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.2366, allocations: 1.155 MB / 383.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.083e-05/0.2366, allocations: 31.84 kB / 383.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.2372, allocations: 0.5748 MB / 384.3 MB, free: 9.742 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.2385, allocations: 0.5029 MB / 384.9 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007249/0.2458, allocations: 5.202 MB / 390.1 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.2464, allocations: 0.6719 MB / 390.7 MB, free: 3.266 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009514/0.2474, allocations: 302.2 kB / 391 MB, free: 2.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008541/0.2482, allocations: 0.4952 MB / 391.5 MB, free: 2.465 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2482, allocations: 0 / 391.5 MB, free: 2.465 MB / 346.7 MB Notification: Performance of Templates: time 0.04212/0.2903, allocations: 30 MB / 421.5 MB, free: 4.934 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3559869369491935]