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.00155/0.00155, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.9751/0.9751, allocations: 177.1 MB / 200.5 MB, free: 5.484 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.001216/0.001216, allocations: 156.7 kB / 257 MB, free: 13.02 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.02343/0.02343, allocations: 6.665 MB / 320.1 MB, free: 26.58 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.412e-06/1.412e-06, allocations: 0 / 391.7 MB, free: 2.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.171e-05, allocations: 2.312 kB / 391.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01769/0.01771, allocations: 16.16 MB / 407.9 MB, free: 2.637 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1215/0.1393, allocations: 5.477 MB / 413.4 MB, free: 69.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.1418, allocations: 119.1 kB / 413.5 MB, free: 69.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.145, allocations: 1.22 MB / 414.7 MB, free: 69.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004456/0.1494, allocations: 1.599 MB / 416.3 MB, free: 68.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.1516, allocations: 1.026 MB / 417.3 MB, free: 68.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005074/0.1567, allocations: 4.869 MB / 422.2 MB, free: 66.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.159, allocations: 1.921 MB / 424.1 MB, free: 65.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004028/0.163, allocations: 3.139 MB / 427.3 MB, free: 64.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.166, allocations: 2.13 MB / 429.4 MB, free: 63.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009101/0.1669, allocations: 0.5581 MB / 430 MB, free: 63.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.1681, allocations: 0.7817 MB / 430.7 MB, free: 63.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005601/0.1687, allocations: 1.291 MB / 432 MB, free: 62.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.1699, allocations: 1.639 MB / 433.7 MB, free: 61.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.1729, allocations: 3.82 MB / 437.5 MB, free: 58.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1729, allocations: 0 / 437.5 MB, free: 58.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1729, allocations: 0 / 437.5 MB, free: 58.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.848e-05/0.173, allocations: 0 / 437.5 MB, free: 58.8 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.00572/0.1787, allocations: 5.115 MB / 442.6 MB, free: 53.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1787, allocations: 8.031 kB / 442.6 MB, free: 53.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/0.1819, allocations: 1.411 MB / 444 MB, free: 52.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.1847, allocations: 2.623 MB / 446.6 MB, free: 49.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.852e-05/0.1848, allocations: 277.4 kB / 446.9 MB, free: 49.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/0.1851, allocations: 374.6 kB / 447.3 MB, free: 48.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/0.1885, allocations: 2.934 MB / 450.2 MB, free: 45.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.047e-05/0.1886, allocations: 11.92 kB / 450.2 MB, free: 45.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.1888, allocations: 158.1 kB / 450.4 MB, free: 45.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-05/0.1889, allocations: 151.3 kB / 450.5 MB, free: 45.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.1912, allocations: 1.396 MB / 451.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.2018, allocations: 12.78 MB / 464.7 MB, free: 31.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.204, allocations: 1.977 MB / 466.7 MB, free: 29.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.2052, allocations: 0.8751 MB / 467.6 MB, free: 28.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003167/0.2083, allocations: 2.704 MB / 470.3 MB, free: 25.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2083, allocations: 50.39 kB / 470.3 MB, free: 25.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 3.166e-06/0.2083, allocations: 4 kB / 470.3 MB, free: 25.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.006078/0.2144, allocations: 4.255 MB / 474.6 MB, free: 21.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.2144, allocations: 72.66 kB / 474.6 MB, free: 21.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.2157, allocations: 1.674 MB / 476.3 MB, free: 19.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/0.2158, allocations: 57.64 kB / 476.4 MB, free: 19.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000534/0.2163, allocations: 1.854 MB / 478.2 MB, free: 17.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.2165, allocations: 0.57 MB / 478.8 MB, free: 17.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/0.2169, allocations: 438 kB / 479.2 MB, free: 16.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.526e-05/0.2169, allocations: 476.8 kB / 479.7 MB, free: 16.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.2174, allocations: 320.2 kB / 480 MB, free: 15.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007508/0.2181, allocations: 1.432 MB / 481.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.2199, allocations: 2.314 MB / 483.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.2199, allocations: 8 kB / 483.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002116/0.2221, allocations: 1.957 MB / 485.7 MB, free: 9.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.2221, allocations: 16.66 kB / 485.7 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.2221, allocations: 24 kB / 485.7 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.2227, allocations: 286.4 kB / 486 MB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.2236, allocations: 491.2 kB / 486.5 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.2259, allocations: 3.369 MB / 489.9 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/0.2266, allocations: 91.89 kB / 490 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/0.2267, allocations: 111 kB / 490.1 MB, free: 4.719 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.0005974/0.2273, allocations: 303.8 kB / 490.4 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.2275, allocations: 266.6 kB / 490.6 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.229, allocations: 1.233 MB / 491.9 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.229, allocations: 16 kB / 491.9 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.229, allocations: 4 kB / 491.9 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.229, allocations: 7.969 kB / 491.9 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004196/0.2332, allocations: 3.914 MB / 495.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2332, allocations: 4 kB / 495.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.2338, allocations: 267.9 kB / 496.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/0.2344, allocations: 233 kB / 496.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/0.2344, allocations: 39.98 kB / 496.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/0.237, allocations: 3.216 MB / 499.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.237, allocations: 4 kB / 499.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.2394, allocations: 1.756 MB / 0.4896 GB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/0.24, allocations: 362.5 kB / 0.4899 GB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.2401, allocations: 35.94 kB / 0.4899 GB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.2406, allocations: 55.97 kB / 0.49 GB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.2408, allocations: 113 kB / 0.4901 GB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-05/0.2408, allocations: 47.98 kB / 0.4901 GB, free: 8.594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009981/0.2418, allocations: 0.9206 MB / 0.491 GB, free: 7.648 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2418, allocations: 0 / 0.491 GB, free: 7.648 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001479/0.2433, allocations: 0.6406 MB / 0.4917 GB, free: 7.008 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.0002748/0.2436, allocations: 167 kB / 0.4918 GB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.2456, allocations: 1.517 MB / 0.4933 GB, free: 5.293 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2456, allocations: 4 kB / 0.4933 GB, free: 5.289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009317/0.2465, allocations: 0.8233 MB / 0.4941 GB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.2478, allocations: 0.4942 MB / 0.4946 GB, free: 3.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006965/0.2547, allocations: 5.484 MB / 0.5 GB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.2554, allocations: 0.8287 MB / 0.5008 GB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009774/0.2564, allocations: 426 kB / 0.5012 GB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.2566, allocations: 148.5 kB / 0.5013 GB, free: 12.97 MB / 362.7 MB Notification: Performance of SimCode: time 1.984e-06/0.2567, allocations: 0 / 0.5013 GB, free: 12.97 MB / 362.7 MB Notification: Performance of Templates: time 0.03795/0.2946, allocations: 28.78 MB / 0.5294 GB, free: 0.6484 MB / 378.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.63291928707622]