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.0009859/0.0009859, allocations: 88.22 kB / 19.65 MB, free: 272 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.9926/0.9926, allocations: 177.2 MB / 200 MB, free: 5.535 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.001474/0.001474, allocations: 163 kB / 256.6 MB, free: 12.99 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.02278/0.02278, allocations: 6.662 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_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 1.372e-06/1.372e-06, allocations: 3.938 kB / 391.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.955e-05, allocations: 2.312 kB / 391.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01257/0.01259, allocations: 16.24 MB / 408 MB, free: 2.168 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1274/0.14, allocations: 5.491 MB / 413.5 MB, free: 69.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002862/0.1429, allocations: 119.6 kB / 413.6 MB, free: 69.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00342/0.1463, allocations: 1.222 MB / 414.8 MB, free: 69.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005194/0.1515, allocations: 1.605 MB / 416.4 MB, free: 69.15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.1539, allocations: 1.03 MB / 417.4 MB, free: 69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005525/0.1595, allocations: 4.86 MB / 422.3 MB, free: 66.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/0.1621, allocations: 1.919 MB / 424.2 MB, free: 65.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004372/0.1665, allocations: 3.148 MB / 427.4 MB, free: 64.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.1696, allocations: 2.136 MB / 429.5 MB, free: 63.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.1706, allocations: 0.5557 MB / 430 MB, free: 63.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.1724, allocations: 0.7694 MB / 430.8 MB, free: 63.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006714/0.173, allocations: 1.289 MB / 432.1 MB, free: 62.28 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.1754, allocations: 1.64 MB / 433.7 MB, free: 61.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004829/0.1802, allocations: 3.809 MB / 437.6 MB, free: 58.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.1802, allocations: 0 / 437.6 MB, free: 58.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1802, allocations: 0 / 437.6 MB, free: 58.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002042/0.1804, allocations: 4 kB / 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.00696/0.1874, allocations: 5.111 MB / 442.7 MB, free: 53.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1874, allocations: 8.031 kB / 442.7 MB, free: 53.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/0.1903, allocations: 1.41 MB / 444.1 MB, free: 52.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.1934, allocations: 2.626 MB / 446.7 MB, free: 49.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.1935, allocations: 274.4 kB / 447 MB, free: 49.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003057/0.1938, allocations: 370.5 kB / 447.3 MB, free: 48.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003634/0.1974, allocations: 2.939 MB / 450.3 MB, free: 45.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.164e-05/0.1975, allocations: 5.688 kB / 450.3 MB, free: 45.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.1977, allocations: 155.4 kB / 450.4 MB, free: 45.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.701e-05/0.1978, allocations: 155.3 kB / 450.6 MB, free: 45.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.2003, allocations: 1.393 MB / 452 MB, free: 44.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.2116, allocations: 12.78 MB / 464.8 MB, free: 31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.2138, allocations: 1.975 MB / 466.7 MB, free: 29.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.2148, allocations: 0.8782 MB / 467.6 MB, free: 28.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003383/0.2182, allocations: 2.703 MB / 470.3 MB, free: 25.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.2183, allocations: 50.39 kB / 470.4 MB, free: 25.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 3.116e-06/0.2183, allocations: 0 / 470.4 MB, free: 25.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.007648/0.2259, allocations: 4.258 MB / 474.6 MB, free: 21.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.2259, allocations: 76.66 kB / 474.7 MB, free: 21.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.2276, allocations: 1.67 MB / 476.4 MB, free: 19.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/0.2277, allocations: 49.7 kB / 476.4 MB, free: 19.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007198/0.2284, allocations: 1.86 MB / 478.3 MB, free: 17.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.2287, allocations: 0.5698 MB / 478.9 MB, free: 16.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004378/0.2291, allocations: 438 kB / 479.3 MB, free: 16.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.507e-05/0.2292, allocations: 480.7 kB / 479.8 MB, free: 16.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.2297, allocations: 311.6 kB / 480.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009544/0.2307, allocations: 1.444 MB / 481.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002319/0.233, allocations: 2.306 MB / 483.8 MB, free: 11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.233, allocations: 8 kB / 483.8 MB, free: 11 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002722/0.2357, allocations: 1.961 MB / 485.8 MB, free: 9.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.2358, allocations: 20.12 kB / 485.8 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.2358, allocations: 24 kB / 485.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007122/0.2365, allocations: 290.4 kB / 486.1 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.2377, allocations: 483.2 kB / 486.6 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.2406, allocations: 3.369 MB / 489.9 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.2416, allocations: 95.88 kB / 490 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.2417, allocations: 103.1 kB / 490.1 MB, free: 4.535 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[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.0008033/0.2425, allocations: 311.8 kB / 490.4 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.2428, allocations: 266.6 kB / 490.7 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.2447, allocations: 1.233 MB / 491.9 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2447, allocations: 15.98 kB / 491.9 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2447, allocations: 8 kB / 492 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.2448, allocations: 7.969 kB / 492 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005433/0.2502, allocations: 3.9 MB / 495.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.2502, allocations: 4 kB / 495.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008296/0.251, allocations: 275.5 kB / 496.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006414/0.2517, allocations: 233 kB / 496.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/0.2518, allocations: 39.98 kB / 496.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003167/0.2549, allocations: 3.217 MB / 499.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2549, allocations: 4 kB / 499.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.2578, allocations: 1.754 MB / 0.4896 GB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006638/0.2584, allocations: 370.4 kB / 0.49 GB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.2586, allocations: 31.94 kB / 0.49 GB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/0.2593, allocations: 55.97 kB / 0.4901 GB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.2595, allocations: 117 kB / 0.4902 GB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/0.2595, allocations: 47.98 kB / 0.4902 GB, free: 8.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00427/0.2638, allocations: 0.9167 MB / 0.4911 GB, free: 7.469 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2638, allocations: 0 / 0.4911 GB, free: 7.469 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001897/0.2657, allocations: 0.6405 MB / 0.4917 GB, free: 6.828 MB / 346.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.0002995/0.266, allocations: 177.6 kB / 0.4919 GB, free: 6.645 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005502/0.2715, allocations: 1.513 MB / 0.4934 GB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2715, allocations: 0 / 0.4934 GB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004202/0.2757, allocations: 0.8187 MB / 0.4942 GB, free: 4.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.2776, allocations: 0.5073 MB / 0.4947 GB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.2882, allocations: 5.46 MB / 0.5 GB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007526/0.289, allocations: 0.8403 MB / 0.5008 GB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001172/0.2901, allocations: 426 kB / 0.5012 GB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.2905, allocations: 148.5 kB / 0.5014 GB, free: 12.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.833e-06/0.2905, allocations: 0 / 0.5014 GB, free: 12.79 MB / 362.7 MB Notification: Performance of Templates: time 0.05103/0.3415, allocations: 30.29 MB / 0.531 GB, free: 14.96 MB / 394.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.7110460698604584]