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.002103/0.002103, allocations: 92.7 kB / 19.44 MB, free: 328 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.575/1.575, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 MB " [Timeout remaining time 178] 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.001766/0.001766, allocations: 164.2 kB / 256.3 MB, free: 13.16 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.03734/0.03734, allocations: 6.66 MB / 319.4 MB, free: 26.57 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 4.238e-06/4.238e-06, allocations: 3.984 kB / 391 MB, free: 2.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.601e-05/5.024e-05, allocations: 6.25 kB / 391 MB, free: 2.883 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.02243/0.02248, allocations: 14.47 MB / 405.5 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1739/0.1964, allocations: 5.3 MB / 410.8 MB, free: 68.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003871/0.2003, allocations: 119 kB / 410.9 MB, free: 68.99 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00444/0.2047, allocations: 1.226 MB / 412.1 MB, free: 68.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005811/0.2105, allocations: 1.591 MB / 413.7 MB, free: 68.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.2141, allocations: 1.021 MB / 414.7 MB, free: 68.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008211/0.2223, allocations: 4.862 MB / 419.6 MB, free: 67.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004416/0.2267, allocations: 1.913 MB / 421.5 MB, free: 66.42 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008018/0.2347, allocations: 3.116 MB / 424.6 MB, free: 65.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/0.2392, allocations: 1.945 MB / 426.5 MB, free: 64.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001673/0.2409, allocations: 0.5591 MB / 427.1 MB, free: 64.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/0.2441, allocations: 0.7727 MB / 427.9 MB, free: 64.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001785/0.2459, allocations: 1.271 MB / 429.2 MB, free: 63.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004584/0.2505, allocations: 1.619 MB / 430.8 MB, free: 62.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.2611, allocations: 7.418 MB / 438.2 MB, free: 56.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.2612, allocations: 0 / 438.2 MB, free: 56.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2612, allocations: 0 / 438.2 MB, free: 56.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003121/0.2615, allocations: 0 / 438.2 MB, free: 56.38 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.01455/0.276, allocations: 4.844 MB / 443 MB, free: 51.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2761, allocations: 8.031 kB / 443 MB, free: 51.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005844/0.2819, allocations: 1.409 MB / 444.4 MB, free: 50.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005738/0.2876, allocations: 2.803 MB / 447.3 MB, free: 47.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.2879, allocations: 279.7 kB / 447.5 MB, free: 47.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.2889, allocations: 371.1 kB / 447.9 MB, free: 46.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009124/0.298, allocations: 4.844 MB / 452.7 MB, free: 41.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.2981, allocations: 0 / 452.7 MB, free: 41.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005582/0.2987, allocations: 158.2 kB / 452.9 MB, free: 41.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.2988, allocations: 155.3 kB / 453 MB, free: 41.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008403/0.3072, allocations: 3.896 MB / 456.9 MB, free: 37.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02382/0.331, allocations: 13.52 MB / 470.5 MB, free: 24.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004442/0.3355, allocations: 2.544 MB / 473 MB, free: 21.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/0.3379, allocations: 1.362 MB / 474.4 MB, free: 20.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006944/0.3449, allocations: 3.333 MB / 477.7 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3449, allocations: 50.94 kB / 477.7 MB, free: 16.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 3.226e-06/0.3449, allocations: 0 / 477.7 MB, free: 16.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01284/0.3577, allocations: 5.964 MB / 483.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.3578, allocations: 68.66 kB / 483.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.3604, allocations: 1.855 MB / 485.6 MB, free: 8.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002145/0.3606, allocations: 57.7 kB / 485.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008877/0.3615, allocations: 1.773 MB / 487.5 MB, free: 7.148 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.362, allocations: 0.5498 MB / 488 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005841/0.3626, allocations: 408 kB / 488.4 MB, free: 6.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.3626, allocations: 305.1 kB / 488.7 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.3637, allocations: 0.7774 MB / 489.5 MB, free: 5.117 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.3651, allocations: 1.572 MB / 491.1 MB, free: 3.203 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01522/0.3803, allocations: 4.842 MB / 495.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-05/0.3803, allocations: 8 kB / 495.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.006924/0.3873, allocations: 2.959 MB / 498.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/0.3873, allocations: 16 kB / 498.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.855e-05/0.3874, allocations: 24 kB / 498.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.3887, allocations: 395 kB / 499.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.3907, allocations: 487.2 kB / 499.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006907/0.3976, allocations: 3.927 MB / 0.4919 GB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.3998, allocations: 90.83 kB / 0.492 GB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.4001, allocations: 103.1 kB / 0.4921 GB, free: 6.141 MB / 346.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.002736/0.4029, allocations: 1.09 MB / 0.4931 GB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007481/0.4036, allocations: 274.6 kB / 0.4934 GB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/0.408, allocations: 1.941 MB / 0.4953 GB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.4081, allocations: 16 kB / 0.4953 GB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.4081, allocations: 4 kB / 0.4953 GB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.4081, allocations: 7.969 kB / 0.4953 GB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.419, allocations: 4.571 MB / 0.4998 GB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.4191, allocations: 8.062 kB / 0.4998 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.4204, allocations: 263.7 kB / 0.5 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.4216, allocations: 322.2 kB / 0.5003 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/0.4217, allocations: 35.98 kB / 0.5004 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0063/0.428, allocations: 3.675 MB / 0.504 GB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/0.4281, allocations: 8 kB / 0.504 GB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006089/0.4341, allocations: 2.951 MB / 0.5069 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.4354, allocations: 378.5 kB / 0.5072 GB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/0.4358, allocations: 35.94 kB / 0.5073 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.437, allocations: 59.97 kB / 0.5073 GB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/0.4373, allocations: 117 kB / 0.5074 GB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.4374, allocations: 43.98 kB / 0.5075 GB, free: 6.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002589/0.44, allocations: 1.21 MB / 0.5086 GB, free: 4.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.44, allocations: 0 / 0.5086 GB, free: 4.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003185/0.4432, allocations: 0.6405 MB / 0.5093 GB, free: 4.277 MB / 362.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.0005527/0.4438, allocations: 169.6 kB / 0.5094 GB, free: 4.102 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005364/0.4491, allocations: 2.13 MB / 0.5115 GB, free: 1.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.4491, allocations: 0 / 0.5115 GB, free: 1.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.4516, allocations: 1.017 MB / 0.5125 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/0.455, allocations: 0.4893 MB / 0.513 GB, free: 468 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.4701, allocations: 6.165 MB / 0.519 GB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003403/0.4735, allocations: 1.892 MB / 0.5209 GB, free: 8.289 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002/0.4755, allocations: 482 kB / 0.5213 GB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/0.4761, allocations: 152.5 kB / 0.5215 GB, free: 7.668 MB / 378.7 MB Notification: Performance of SimCode: time 2.334e-06/0.4761, allocations: 0 / 0.5215 GB, free: 7.668 MB / 378.7 MB Notification: Performance of Templates: time 0.1961/0.6722, allocations: 28.7 MB / 0.5495 GB, free: 124.2 MB / 394.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.388999492977746]