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.0007618/0.0007618, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009936/0.001755, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.9307/0.9307, allocations: 177.2 MB / 188.4 MB, free: 4.418 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2258/1.156, allocations: 53.66 MB / 242 MB, free: 2.625 MB / 234.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.000811/0.000811, allocations: 159.3 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009867/0.001798, allocations: 484.6 kB / 243.4 MB, free: 1.285 MB / 234.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.02303/0.02303, allocations: 6.655 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004397/0.02743, allocations: 2.667 MB / 253.5 MB, free: 7.418 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 2.014e-06/2.014e-06, allocations: 0 / 254.8 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.592e-05, allocations: 6.25 kB / 254.8 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01258/0.0126, allocations: 15.99 MB / 270.8 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.02347, allocations: 5.725 MB / 276.6 MB, free: 232 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.02645, allocations: 119.4 kB / 276.7 MB, free: 112 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.02902, allocations: 1.275 MB / 277.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.03233, allocations: 1.576 MB / 279.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.03413, allocations: 1.023 MB / 280.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003896/0.03803, allocations: 4.877 MB / 285.4 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.0398, allocations: 1.967 MB / 287.4 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.04301, allocations: 3.443 MB / 290.8 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.04482, allocations: 2.143 MB / 293 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004586/0.04527, allocations: 0.5547 MB / 293.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.04632, allocations: 0.7807 MB / 294.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008322/0.04715, allocations: 1.033 MB / 295.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.04824, allocations: 1.361 MB / 296.7 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003436/0.05167, allocations: 3.613 MB / 300.3 MB, free: 8.293 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.05169, allocations: 3.938 kB / 300.3 MB, free: 8.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.05169, allocations: 0 / 300.3 MB, free: 8.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.961e-05/0.05173, allocations: 4 kB / 300.3 MB, free: 8.285 MB / 298.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.006161/0.05789, allocations: 5.658 MB / 306 MB, free: 2.555 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.05792, allocations: 12.03 kB / 306 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/0.06073, allocations: 1.292 MB / 307.3 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.06329, allocations: 1.72 MB / 309 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003676/0.06366, allocations: 275.8 kB / 309.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003327/0.06399, allocations: 372.3 kB / 309.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.06677, allocations: 2.737 MB / 312.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-05/0.06683, allocations: 11.88 kB / 312.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.06703, allocations: 148 kB / 312.5 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.06714, allocations: 151.3 kB / 312.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.06862, allocations: 1.063 MB / 313.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.07865, allocations: 9.986 MB / 323.7 MB, free: 248 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.08042, allocations: 1.606 MB / 325.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006886/0.08111, allocations: 0.6001 MB / 325.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.08124, allocations: 77.94 kB / 326 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.08128, allocations: 56.5 kB / 326.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=184): time 3.016e-06/0.08128, allocations: 0 / 326.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=220): time 0.006619/0.0879, allocations: 4.259 MB / 330.3 MB, free: 9.617 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.08794, allocations: 73.41 kB / 330.4 MB, free: 9.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.08909, allocations: 1.328 MB / 331.7 MB, free: 8.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/0.08916, allocations: 61.7 kB / 331.8 MB, free: 8.141 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005693/0.08973, allocations: 1.433 MB / 333.2 MB, free: 6.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.0901, allocations: 0.7745 MB / 334 MB, free: 5.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/0.09049, allocations: 445.1 kB / 334.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.68e-05/0.09056, allocations: 301.1 kB / 334.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.09091, allocations: 288.7 kB / 335 MB, free: 4.883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/0.09159, allocations: 1.014 MB / 336 MB, free: 3.535 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.09351, allocations: 2.041 MB / 338.1 MB, free: 1.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.09351, allocations: 8 kB / 338.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=330) (initialization): time 0.1558/0.2494, allocations: 1.486 MB / 339.6 MB, free: 49.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.2494, allocations: 17.28 kB / 339.6 MB, free: 49.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.704e-05/0.2495, allocations: 23.06 kB / 339.6 MB, free: 49.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.2501, allocations: 208.9 kB / 339.8 MB, free: 49.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/0.252, allocations: 0.6723 MB / 340.5 MB, free: 49.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.2542, allocations: 2.288 MB / 342.8 MB, free: 48.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.2559, allocations: 87.39 kB / 342.8 MB, free: 48.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.256, allocations: 90.48 kB / 342.9 MB, free: 48.54 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: 103 * 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 (307): * Single equations (assignments): 305 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009103/0.2569, allocations: 281.5 kB / 343.2 MB, free: 48.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.2572, allocations: 206.4 kB / 343.4 MB, free: 48.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.2589, allocations: 1.114 MB / 344.5 MB, free: 48.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.2589, allocations: 24.31 kB / 344.5 MB, free: 48.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.2589, allocations: 5.297 kB / 344.5 MB, free: 48.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/0.2589, allocations: 10.22 kB / 344.6 MB, free: 48.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00445/0.2634, allocations: 3.714 MB / 348.3 MB, free: 47.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.2634, allocations: 10.31 kB / 348.3 MB, free: 47.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/0.2644, allocations: 0.5179 MB / 348.8 MB, free: 47.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.2648, allocations: 247.6 kB / 349 MB, free: 47.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003493/0.2652, allocations: 171 kB / 349.2 MB, free: 47.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/0.2652, allocations: 53.34 kB / 349.3 MB, free: 47.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.2667, allocations: 2.133 MB / 351.4 MB, free: 45.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.2667, allocations: 12.84 kB / 351.4 MB, free: 45.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.2684, allocations: 1.908 MB / 353.3 MB, free: 45.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.2685, allocations: 56.69 kB / 353.4 MB, free: 45.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.269, allocations: 69.8 kB / 353.4 MB, free: 45.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.2692, allocations: 167.2 kB / 353.6 MB, free: 45.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-05/0.2692, allocations: 52.77 kB / 353.7 MB, free: 45.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004731/0.2697, allocations: 0.6405 MB / 354.3 MB, free: 45.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2697, allocations: 3.531 kB / 354.3 MB, free: 45.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001464/0.2712, allocations: 0.6798 MB / 355 MB, free: 45.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (201): * Single equations (assignments): 200 * 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.0002584/0.2714, allocations: 184.8 kB / 355.2 MB, free: 45.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.2728, allocations: 1.394 MB / 356.6 MB, free: 44.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-05/0.2728, allocations: 38.66 kB / 356.6 MB, free: 44.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007904/0.2736, allocations: 0.8913 MB / 357.5 MB, free: 44.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.2757, allocations: 5.03 MB / 362.5 MB, free: 39.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/0.2975, allocations: 5.95 MB / 368.5 MB, free: 37.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.2982, allocations: 0.7184 MB / 369.2 MB, free: 37.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001067/0.2993, allocations: 338.6 kB / 369.5 MB, free: 36.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/0.3001, allocations: 0.5419 MB / 370.1 MB, free: 36.87 MB / 330.7 MB Notification: Performance of SimCode: time 2.274e-06/0.3001, allocations: 0 / 370.1 MB, free: 36.87 MB / 330.7 MB Notification: Performance of Templates: time 0.03736/0.3375, allocations: 33.8 MB / 403.9 MB, free: 6.465 MB / 330.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.4457822991535068]