Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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.00146/0.00146, allocations: 92.22 kB / 19.65 MB, free: 276 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.003/1.003, 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.001754/0.001754, allocations: 155.4 kB / 256.6 MB, free: 13 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.02614/0.02614, allocations: 6.668 MB / 319.8 MB, free: 11.61 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_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 3.938 kB / 391.7 MB, free: 3.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.246e-05, allocations: 2.312 kB / 391.7 MB, free: 3.566 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01957/0.01961, allocations: 16.24 MB / 408 MB, free: 3.262 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.03177, allocations: 5.505 MB / 413.5 MB, free: 13.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003541/0.03531, allocations: 115.4 kB / 413.6 MB, free: 13.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004258/0.03957, allocations: 1.231 MB / 414.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005995/0.04556, allocations: 1.603 MB / 416.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.04889, allocations: 1.029 MB / 417.4 MB, free: 9.742 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005008/0.0539, allocations: 4.859 MB / 422.3 MB, free: 4.855 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.05625, allocations: 1.92 MB / 424.2 MB, free: 2.871 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/0.06026, allocations: 3.139 MB / 427.4 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.0628, allocations: 2.132 MB / 429.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007271/0.06353, allocations: 0.5586 MB / 430.1 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.06464, allocations: 0.773 MB / 430.8 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008706/0.06551, allocations: 1.297 MB / 432.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.0668, allocations: 1.641 MB / 433.8 MB, free: 9.312 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.07024, allocations: 3.824 MB / 437.6 MB, free: 5.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.07025, allocations: 0 / 437.6 MB, free: 5.477 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.07025, allocations: 0 / 437.6 MB, free: 5.477 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.061e-05/0.0703, allocations: 4 kB / 437.6 MB, free: 5.473 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.006232/0.07653, allocations: 5.108 MB / 442.7 MB, free: 304 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.07657, allocations: 12.03 kB / 442.7 MB, free: 292 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1219/0.1984, allocations: 1.399 MB / 444.1 MB, free: 136.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004227/0.2027, allocations: 2.625 MB / 446.7 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.2028, allocations: 280.6 kB / 447 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004726/0.2033, allocations: 370.2 kB / 447.4 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004753/0.2081, allocations: 2.94 MB / 450.3 MB, free: 135.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.088e-05/0.2081, allocations: 2.766 kB / 450.3 MB, free: 135.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.2083, allocations: 153.4 kB / 450.5 MB, free: 135.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/0.2085, allocations: 155.2 kB / 450.6 MB, free: 135.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/0.2113, allocations: 1.4 MB / 452 MB, free: 135.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.225, allocations: 12.78 MB / 464.8 MB, free: 129.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.2274, allocations: 1.957 MB / 466.8 MB, free: 128.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.2287, allocations: 0.8751 MB / 467.6 MB, free: 128.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003874/0.2326, allocations: 2.713 MB / 470.3 MB, free: 127.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.2326, allocations: 48.73 kB / 470.4 MB, free: 127.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=125): time 3.838e-06/0.2326, allocations: 0 / 470.4 MB, free: 127.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.008923/0.2415, allocations: 4.264 MB / 474.7 MB, free: 124.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.2415, allocations: 76.66 kB / 474.7 MB, free: 124.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.2431, allocations: 1.67 MB / 476.4 MB, free: 122.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.729e-05/0.2432, allocations: 53.7 kB / 476.5 MB, free: 122.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005846/0.2438, allocations: 1.852 MB / 478.3 MB, free: 120.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.244, allocations: 0.5761 MB / 478.9 MB, free: 120.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/0.2444, allocations: 430 kB / 479.3 MB, free: 119.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.808e-05/0.2444, allocations: 480.8 kB / 479.8 MB, free: 119.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.2449, allocations: 318.6 kB / 480.1 MB, free: 119 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007483/0.2457, allocations: 1.437 MB / 481.5 MB, free: 117.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.2476, allocations: 2.31 MB / 483.8 MB, free: 114.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.2476, allocations: 4 kB / 483.8 MB, free: 114.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002357/0.2499, allocations: 1.962 MB / 485.8 MB, free: 112.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.25, allocations: 24.02 kB / 485.8 MB, free: 112.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.25, allocations: 24 kB / 485.8 MB, free: 112.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.2506, allocations: 280.5 kB / 486.1 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008865/0.2515, allocations: 495.6 kB / 486.6 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.2539, allocations: 3.368 MB / 490 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009602/0.2548, allocations: 87.94 kB / 490.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/0.2549, allocations: 108 kB / 490.2 MB, free: 108.2 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[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (256): * Single equations (assignments): 254 * 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 {(4,23,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007373/0.2556, allocations: 299.3 kB / 490.5 MB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.2559, allocations: 270.6 kB / 490.7 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.2575, allocations: 1.228 MB / 491.9 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.2575, allocations: 16 kB / 492 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2575, allocations: 8 kB / 492 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.2575, allocations: 7.969 kB / 492 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004705/0.2622, allocations: 3.907 MB / 495.9 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2622, allocations: 4 kB / 495.9 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005986/0.2628, allocations: 270 kB / 496.1 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005303/0.2634, allocations: 228 kB / 496.4 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/0.2634, allocations: 35.98 kB / 496.4 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.2656, allocations: 3.234 MB / 499.6 MB, free: 98.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2656, allocations: 4 kB / 499.6 MB, free: 98.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.2677, allocations: 1.75 MB / 0.4896 GB, free: 96.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007682/0.2685, allocations: 362.5 kB / 0.49 GB, free: 96.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.2687, allocations: 39.94 kB / 0.49 GB, free: 96.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/0.2692, allocations: 55.97 kB / 0.4901 GB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.2693, allocations: 116.6 kB / 0.4902 GB, free: 96.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.2694, allocations: 47.98 kB / 0.4902 GB, free: 96.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.2705, allocations: 0.9128 MB / 0.4911 GB, free: 95.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2705, allocations: 0 / 0.4911 GB, free: 95.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001501/0.272, allocations: 0.6444 MB / 0.4918 GB, free: 94.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],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 (132): * Single equations (assignments): 131 * 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 {(3,22,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002585/0.2723, allocations: 175.9 kB / 0.4919 GB, free: 94.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.2743, allocations: 1.512 MB / 0.4934 GB, free: 93.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2743, allocations: 0 / 0.4934 GB, free: 93.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009408/0.2752, allocations: 0.8229 MB / 0.4942 GB, free: 92.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.2767, allocations: 0.489 MB / 0.4947 GB, free: 91.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007722/0.2845, allocations: 5.485 MB / 0.5 GB, free: 86.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.285, allocations: 0.8365 MB / 0.5009 GB, free: 85.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001228/0.2863, allocations: 418 kB / 0.5013 GB, free: 84.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.2866, allocations: 148.5 kB / 0.5014 GB, free: 84.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2866, allocations: 0 / 0.5014 GB, free: 84.77 MB / 410.7 MB Notification: Performance of Templates: time 0.03397/0.3205, allocations: 28.78 MB / 0.5295 GB, free: 56.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7811558386310935]