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.001106/0.001106, 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 1.043/1.043, allocations: 177.2 MB / 200 MB, free: 5.547 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.001733/0.001733, allocations: 152.7 kB / 256.6 MB, free: 13.01 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.0241/0.0241, allocations: 6.66 MB / 319.8 MB, free: 11.63 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_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 2.835e-06/2.835e-06, allocations: 0 / 391.7 MB, free: 3.594 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.186e-05, allocations: 2.312 kB / 391.7 MB, free: 3.59 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01319/0.01321, allocations: 16.24 MB / 408 MB, free: 3.273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.02323, allocations: 5.501 MB / 413.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.02523, allocations: 119.3 kB / 413.6 MB, free: 13.64 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.02747, allocations: 1.223 MB / 414.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003296/0.03076, allocations: 1.599 MB / 416.4 MB, free: 10.8 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.03236, allocations: 1.035 MB / 417.4 MB, free: 9.762 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004013/0.03637, allocations: 4.866 MB / 422.3 MB, free: 4.871 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.03881, allocations: 1.924 MB / 424.2 MB, free: 2.883 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003551/0.04236, allocations: 3.142 MB / 427.4 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.04487, allocations: 2.136 MB / 429.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.0461, allocations: 0.5547 MB / 430.1 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.04722, allocations: 0.7729 MB / 430.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007027/0.04792, allocations: 1.289 MB / 432.1 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.04915, allocations: 1.633 MB / 433.8 MB, free: 9.336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.05253, allocations: 3.816 MB / 437.6 MB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.05254, allocations: 0 / 437.6 MB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.05254, allocations: 0 / 437.6 MB, free: 5.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.773e-05/0.05259, allocations: 4 kB / 437.6 MB, free: 5.504 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.005975/0.05856, allocations: 5.116 MB / 442.7 MB, free: 328 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.0586, allocations: 8.031 kB / 442.7 MB, free: 320 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1379/0.1965, allocations: 1.401 MB / 444.1 MB, free: 136.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004185/0.2007, allocations: 2.622 MB / 446.7 MB, free: 136 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.2008, allocations: 275 kB / 447 MB, free: 136 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.2012, allocations: 373.6 kB / 447.4 MB, free: 136 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004867/0.2061, allocations: 2.916 MB / 450.3 MB, free: 135.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-05/0.2062, allocations: 1.875 kB / 450.3 MB, free: 135.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.2064, allocations: 159.7 kB / 450.4 MB, free: 135.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.2065, allocations: 152.9 kB / 450.6 MB, free: 135.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.2096, allocations: 1.397 MB / 452 MB, free: 135.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.2215, allocations: 12.51 MB / 464.5 MB, free: 129.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.2238, allocations: 1.863 MB / 466.4 MB, free: 129 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.2249, allocations: 0.7163 MB / 467.1 MB, free: 128.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003477/0.2284, allocations: 2.614 MB / 469.7 MB, free: 127.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.2284, allocations: 44.77 kB / 469.7 MB, free: 127.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 3.266e-06/0.2284, allocations: 0.9688 kB / 469.7 MB, free: 127.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=144): time 0.005695/0.2341, allocations: 3.69 MB / 473.4 MB, free: 125.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.2341, allocations: 64.62 kB / 473.5 MB, free: 125.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.2355, allocations: 1.727 MB / 475.2 MB, free: 124 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.2356, allocations: 49.7 kB / 475.3 MB, free: 123.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000624/0.2362, allocations: 1.903 MB / 477.2 MB, free: 122 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.2365, allocations: 0.5273 MB / 477.7 MB, free: 121.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/0.2368, allocations: 445.9 kB / 478.1 MB, free: 121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.225e-05/0.2369, allocations: 476.8 kB / 478.6 MB, free: 120.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.2373, allocations: 304.2 kB / 478.9 MB, free: 120.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00072/0.238, allocations: 1.448 MB / 480.3 MB, free: 118.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.2399, allocations: 2.298 MB / 482.6 MB, free: 115.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.2399, allocations: 8 kB / 482.6 MB, free: 115.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.002058/0.242, allocations: 1.909 MB / 484.5 MB, free: 113.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.242, allocations: 16 kB / 484.6 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.242, allocations: 28 kB / 484.6 MB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004814/0.2425, allocations: 227.7 kB / 484.8 MB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008665/0.2434, allocations: 494.7 kB / 485.3 MB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.2452, allocations: 3.014 MB / 488.3 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.2459, allocations: 103.9 kB / 488.4 MB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/0.246, allocations: 96 kB / 488.5 MB, free: 109.9 MB / 410.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.0006075/0.2466, allocations: 308.2 kB / 488.8 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.2468, allocations: 262.6 kB / 489.1 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.2481, allocations: 1.109 MB / 490.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2481, allocations: 12 kB / 490.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.2481, allocations: 7.312 kB / 490.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.2482, allocations: 7.969 kB / 490.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.2517, allocations: 3.614 MB / 493.8 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2517, allocations: 4 kB / 493.8 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.2523, allocations: 254.1 kB / 494.1 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003755/0.2526, allocations: 182 kB / 494.2 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/0.2527, allocations: 32 kB / 494.3 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.2542, allocations: 2.899 MB / 497.2 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2542, allocations: 4 kB / 497.2 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.2558, allocations: 1.605 MB / 498.8 MB, free: 99.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.2562, allocations: 350.5 kB / 499.1 MB, free: 99.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.2563, allocations: 28 kB / 499.2 MB, free: 99.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.2568, allocations: 59.97 kB / 499.2 MB, free: 98.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.2569, allocations: 105 kB / 499.3 MB, free: 98.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.257, allocations: 39.98 kB / 499.4 MB, free: 98.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008019/0.2578, allocations: 0.9451 MB / 0.4886 GB, free: 97.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2578, allocations: 0 / 0.4886 GB, free: 97.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001269/0.259, allocations: 0.6328 MB / 0.4892 GB, free: 97.25 MB / 410.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.0002361/0.2593, allocations: 172.9 kB / 0.4894 GB, free: 97.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.2608, allocations: 1.419 MB / 0.4907 GB, free: 95.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2608, allocations: 0.5 kB / 0.4907 GB, free: 95.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006764/0.2615, allocations: 0.7196 MB / 0.4914 GB, free: 95.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.2627, allocations: 0.5001 MB / 0.4919 GB, free: 94.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.2684, allocations: 5.352 MB / 0.4972 GB, free: 89.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.2689, allocations: 0.828 MB / 0.498 GB, free: 88.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000803/0.2698, allocations: 429.9 kB / 0.4984 GB, free: 87.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.27, allocations: 148.5 kB / 0.4985 GB, free: 87.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.27, allocations: 2.406 kB / 0.4985 GB, free: 87.7 MB / 410.7 MB Notification: Performance of Templates: time 0.0326/0.3026, allocations: 29.09 MB / 0.5269 GB, free: 59.14 MB / 410.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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8088633199222386]