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.001083/0.001083, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.9199/0.9199, allocations: 177.2 MB / 200.3 MB, free: 5.324 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.001134/0.001134, allocations: 164.6 kB / 257 MB, free: 12.78 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.02435/0.02435, allocations: 6.664 MB / 266.9 MB, free: 3.035 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_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.663e-06/1.663e-06, allocations: 0 / 285.8 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.88e-05, allocations: 6.312 kB / 285.8 MB, free: 180 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.1164/0.1164, allocations: 15.86 MB / 301.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00929/0.1257, allocations: 5.683 MB / 307.3 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.1269, allocations: 119.4 kB / 307.4 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.1286, allocations: 1.279 MB / 308.7 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.1307, allocations: 1.589 MB / 310.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.1318, allocations: 1.023 MB / 311.3 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002256/0.1341, allocations: 4.875 MB / 316.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.1357, allocations: 1.96 MB / 318.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.138, allocations: 3.162 MB / 321.3 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.1398, allocations: 2.143 MB / 323.5 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005167/0.1403, allocations: 0.5547 MB / 324 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008048/0.1412, allocations: 0.7886 MB / 324.8 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006351/0.1418, allocations: 1.285 MB / 326.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009939/0.1428, allocations: 1.641 MB / 327.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.1454, allocations: 3.808 MB / 331.5 MB, free: 312 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1454, allocations: 0 / 331.5 MB, free: 312 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.1454, allocations: 8 kB / 331.5 MB, free: 304 kB / 282.7 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.1454, allocations: 0 / 331.5 MB, free: 304 kB / 282.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.005115/0.1505, allocations: 4.767 MB / 336.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.1505, allocations: 8.031 kB / 336.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002985/0.1535, allocations: 1.3 MB / 337.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.1557, allocations: 1.715 MB / 339.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.1559, allocations: 275.8 kB / 339.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.1562, allocations: 372.3 kB / 340 MB, free: 7.762 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.1588, allocations: 2.751 MB / 342.7 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.293e-05/0.1589, allocations: 7.891 kB / 342.7 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.1591, allocations: 148 kB / 342.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.389e-05/0.1592, allocations: 155.3 kB / 343 MB, free: 4.617 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.1607, allocations: 1.07 MB / 344.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009138/0.1698, allocations: 10.09 MB / 354.2 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.1716, allocations: 1.724 MB / 355.9 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008672/0.1725, allocations: 0.7562 MB / 356.7 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002651/0.1751, allocations: 2.132 MB / 358.8 MB, free: 4.402 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1752, allocations: 55.5 kB / 358.8 MB, free: 4.336 MB / 314.7 MB Notification: Performance of pre-optimization done (n=125): time 2.054e-06/0.1752, allocations: 0 / 358.8 MB, free: 4.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=156): time 0.005152/0.1803, allocations: 3.635 MB / 362.5 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.1804, allocations: 76.64 kB / 362.6 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009462/0.1813, allocations: 1.393 MB / 364 MB, free: 15.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.1814, allocations: 53.7 kB / 364 MB, free: 15.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005792/0.1819, allocations: 1.53 MB / 365.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.1822, allocations: 0.5616 MB / 366.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.1825, allocations: 399.9 kB / 366.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.1826, allocations: 301.1 kB / 366.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.1829, allocations: 247.5 kB / 367 MB, free: 12.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/0.1835, allocations: 1.002 MB / 368 MB, free: 10.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.1849, allocations: 1.807 MB / 369.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.1849, allocations: 8 kB / 369.8 MB, free: 8.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001477/0.1864, allocations: 1.436 MB / 371.3 MB, free: 7.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1864, allocations: 16 kB / 371.3 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.1864, allocations: 24 kB / 371.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004524/0.1869, allocations: 264.4 kB / 371.6 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009637/0.1878, allocations: 0.5303 MB / 372.1 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.1899, allocations: 2.59 MB / 374.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.1905, allocations: 83.95 kB / 374.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/0.1906, allocations: 83.98 kB / 374.9 MB, free: 3.375 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.0004449/0.191, allocations: 258.2 kB / 375.1 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.1912, allocations: 175.8 kB / 375.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.1935, allocations: 0.944 MB / 376.2 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.1935, allocations: 23.97 kB / 376.2 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1935, allocations: 4 kB / 376.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.1935, allocations: 3.984 kB / 376.3 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004883/0.1984, allocations: 2.583 MB / 378.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.1984, allocations: 4 kB / 378.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.1998, allocations: 366.1 kB / 379.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006496/0.2004, allocations: 219.3 kB / 379.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.444e-05/0.2005, allocations: 39.98 kB / 379.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.2034, allocations: 2.384 MB / 381.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2034, allocations: 0 / 381.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.2055, allocations: 1.323 MB / 383.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.2059, allocations: 234.5 kB / 383.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.206, allocations: 35.98 kB / 383.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.2064, allocations: 47.98 kB / 383.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.2066, allocations: 113 kB / 383.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.2066, allocations: 31.98 kB / 383.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005193/0.2071, allocations: 0.6651 MB / 384.3 MB, free: 9.664 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2071, allocations: 4 kB / 384.3 MB, free: 9.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001135/0.2083, allocations: 0.6406 MB / 384.9 MB, free: 9.02 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.000206/0.2085, allocations: 140.2 kB / 385.1 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.2097, allocations: 1.238 MB / 386.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.058e-05/0.2097, allocations: 25.81 kB / 386.3 MB, free: 7.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006486/0.2104, allocations: 0.6609 MB / 387 MB, free: 6.914 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.2114, allocations: 0.4948 MB / 387.5 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005747/0.2172, allocations: 5.297 MB / 392.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.2177, allocations: 0.6882 MB / 393.5 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007256/0.2185, allocations: 298.3 kB / 393.8 MB, free: 40 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00083/0.2193, allocations: 0.503 MB / 394.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2193, allocations: 0 / 394.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Templates: time 0.03682/0.2561, allocations: 31.21 MB / 425.5 MB, free: 0.793 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.322001373860985]