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.001043/0.001043, allocations: 80.94 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.9516/0.9516, allocations: 177.2 MB / 200.4 MB, free: 5.375 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.00169/0.00169, allocations: 163.3 kB / 257 MB, free: 12.81 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.02378/0.02378, allocations: 6.655 MB / 266.9 MB, free: 3.055 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.844e-06/1.844e-06, allocations: 0 / 285.7 MB, free: 248 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.518e-05, allocations: 2.312 kB / 285.7 MB, free: 244 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.1137/0.1137, allocations: 15.81 MB / 301.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009121/0.1228, allocations: 5.674 MB / 307.2 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.1255, allocations: 120.3 kB / 307.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.1283, allocations: 1.263 MB / 308.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.1321, allocations: 1.601 MB / 310.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.1336, allocations: 1.029 MB / 311.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.1374, allocations: 4.883 MB / 316.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.1396, allocations: 1.963 MB / 318.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003518/0.1431, allocations: 3.15 MB / 321.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/0.1457, allocations: 2.151 MB / 323.4 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009596/0.1467, allocations: 0.5547 MB / 323.9 MB, free: 8.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.148, allocations: 0.7729 MB / 324.7 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008394/0.1488, allocations: 1.293 MB / 326 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.1504, allocations: 1.629 MB / 327.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003481/0.1539, allocations: 3.817 MB / 331.4 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1539, allocations: 0 / 331.4 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1539, allocations: 0 / 331.4 MB, free: 492 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.85e-05/0.154, allocations: 0 / 331.4 MB, free: 492 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.005696/0.1597, allocations: 4.771 MB / 336.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1597, allocations: 8.031 kB / 336.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/0.1625, allocations: 1.296 MB / 337.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.165, allocations: 1.726 MB / 339.2 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.1652, allocations: 271.8 kB / 339.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/0.1655, allocations: 368.4 kB / 339.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.1683, allocations: 2.748 MB / 342.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.838e-05/0.1683, allocations: 11.88 kB / 342.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/0.1685, allocations: 152 kB / 342.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.985e-05/0.1686, allocations: 151.3 kB / 342.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.1702, allocations: 1.068 MB / 344 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.1811, allocations: 10.09 MB / 354.1 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.1831, allocations: 1.723 MB / 355.8 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009489/0.1841, allocations: 0.7601 MB / 356.6 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003366/0.1874, allocations: 2.125 MB / 358.7 MB, free: 4.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1875, allocations: 51.55 kB / 358.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of pre-optimization done (n=125): time 3.016e-06/0.1875, allocations: 0 / 358.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=156): time 0.006005/0.1935, allocations: 3.651 MB / 362.4 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.1935, allocations: 68.72 kB / 362.5 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.1947, allocations: 1.39 MB / 363.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.1947, allocations: 53.7 kB / 363.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006021/0.1953, allocations: 1.538 MB / 365.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.1956, allocations: 0.5616 MB / 366 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.196, allocations: 395.9 kB / 366.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.196, allocations: 301.1 kB / 366.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.1963, allocations: 243.5 kB / 366.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006219/0.197, allocations: 1.014 MB / 367.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.1984, allocations: 1.799 MB / 369.7 MB, free: 8.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.1984, allocations: 8 kB / 369.7 MB, free: 8.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001617/0.2, allocations: 1.431 MB / 371.2 MB, free: 7.242 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.2001, allocations: 16 kB / 371.2 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.2001, allocations: 24.66 kB / 371.2 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/0.2006, allocations: 268.2 kB / 371.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/0.2014, allocations: 479.2 kB / 371.9 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.2034, allocations: 2.576 MB / 374.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/0.2041, allocations: 87.94 kB / 374.6 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-05/0.2042, allocations: 79.98 kB / 374.7 MB, free: 3.629 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.0006048/0.2048, allocations: 262 kB / 374.9 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.205, allocations: 175.8 kB / 375.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.2061, allocations: 0.9363 MB / 376.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.2061, allocations: 23.94 kB / 376.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2061, allocations: 4 kB / 376.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.2062, allocations: 7.969 kB / 376.1 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.2093, allocations: 2.594 MB / 378.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2094, allocations: 4 kB / 378.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.2099, allocations: 255.7 kB / 378.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/0.2103, allocations: 212.3 kB / 379.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/0.2104, allocations: 31.98 kB / 379.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.2122, allocations: 2.433 MB / 381.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2122, allocations: 4 kB / 381.6 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.2136, allocations: 1.331 MB / 382.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/0.2139, allocations: 226.5 kB / 383.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.2141, allocations: 28 kB / 383.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.2145, allocations: 47.98 kB / 383.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.2146, allocations: 113 kB / 383.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.2147, allocations: 35.92 kB / 383.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000535/0.2152, allocations: 0.669 MB / 384.1 MB, free: 9.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2152, allocations: 4 kB / 384.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001287/0.2165, allocations: 0.6328 MB / 384.7 MB, free: 9.34 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.0002262/0.2167, allocations: 148.1 kB / 384.8 MB, free: 9.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.218, allocations: 1.226 MB / 386.1 MB, free: 7.941 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-05/0.2181, allocations: 25.81 kB / 386.1 MB, free: 7.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006512/0.2187, allocations: 0.6613 MB / 386.7 MB, free: 7.238 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.2198, allocations: 0.4914 MB / 387.2 MB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/0.2259, allocations: 5.304 MB / 392.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.2265, allocations: 0.6882 MB / 393.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007328/0.2272, allocations: 298.2 kB / 393.5 MB, free: 368 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008081/0.228, allocations: 0.4991 MB / 394 MB, free: 15.86 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.228, allocations: 0 / 394 MB, free: 15.86 MB / 362.7 MB Notification: Performance of Templates: time 0.04089/0.2689, allocations: 31.02 MB / 425 MB, free: 1.312 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.3986913142725825]