Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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.00147/0.00147, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9363/0.9363, allocations: 177.1 MB / 200.5 MB, free: 5.836 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.001649/0.001649, allocations: 168.5 kB / 257 MB, free: 13.2 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.02527/0.02527, allocations: 6.67 MB / 320.1 MB, free: 26.59 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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 391.7 MB, free: 2.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.874e-05, allocations: 2.312 kB / 391.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01274/0.01276, allocations: 16.17 MB / 407.9 MB, free: 2.625 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1185/0.1313, allocations: 5.471 MB / 413.4 MB, free: 68.63 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.1331, allocations: 119.4 kB / 413.5 MB, free: 68.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.1352, allocations: 1.223 MB / 414.7 MB, free: 68.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.1378, allocations: 1.599 MB / 416.3 MB, free: 68.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.1392, allocations: 1.033 MB / 417.3 MB, free: 68.35 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003488/0.1427, allocations: 4.859 MB / 422.2 MB, free: 66.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.1446, allocations: 1.922 MB / 424.1 MB, free: 65.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.1473, allocations: 3.138 MB / 427.3 MB, free: 64.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.1489, allocations: 2.128 MB / 429.4 MB, free: 63.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003948/0.1493, allocations: 0.5593 MB / 430 MB, free: 63.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000775/0.1501, allocations: 0.7731 MB / 430.7 MB, free: 63.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000524/0.1506, allocations: 1.296 MB / 432 MB, free: 62.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009418/0.1516, allocations: 1.637 MB / 433.7 MB, free: 61.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.1538, allocations: 3.826 MB / 437.5 MB, free: 58.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1539, allocations: 3.984 kB / 437.5 MB, free: 58.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1539, allocations: 0 / 437.5 MB, free: 58.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.819e-05/0.1539, allocations: 0 / 437.5 MB, free: 58.6 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.005184/0.1591, allocations: 5.109 MB / 442.6 MB, free: 53.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1591, allocations: 12.02 kB / 442.6 MB, free: 53.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.1622, allocations: 1.405 MB / 444 MB, free: 52.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.1647, allocations: 2.63 MB / 446.6 MB, free: 49.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-05/0.1648, allocations: 271.8 kB / 446.9 MB, free: 49.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/0.1651, allocations: 369.9 kB / 447.3 MB, free: 48.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.1683, allocations: 2.919 MB / 450.2 MB, free: 45.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/0.1683, allocations: 4 kB / 450.2 MB, free: 45.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.1686, allocations: 155.9 kB / 450.3 MB, free: 45.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.234e-05/0.1686, allocations: 159.3 kB / 450.5 MB, free: 45.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.171, allocations: 1.391 MB / 451.9 MB, free: 44.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009462/0.1804, allocations: 12.52 MB / 464.4 MB, free: 31.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.1825, allocations: 1.874 MB / 466.3 MB, free: 29.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008893/0.1834, allocations: 0.7133 MB / 467 MB, free: 28.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002691/0.1861, allocations: 2.599 MB / 469.6 MB, free: 26.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1861, allocations: 50.39 kB / 469.7 MB, free: 26.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=118): time 2.455e-06/0.1862, allocations: 0 / 469.7 MB, free: 26.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=144): time 0.004744/0.1909, allocations: 3.692 MB / 473.3 MB, free: 22.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.1909, allocations: 64.72 kB / 473.4 MB, free: 22.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.1922, allocations: 1.727 MB / 475.1 MB, free: 20.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.1922, allocations: 49.7 kB / 475.2 MB, free: 20.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/0.1928, allocations: 1.899 MB / 477.1 MB, free: 18.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.193, allocations: 0.5366 MB / 477.6 MB, free: 18.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.1933, allocations: 441.9 kB / 478.1 MB, free: 17.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.1934, allocations: 476.8 kB / 478.5 MB, free: 17.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/0.1938, allocations: 308.2 kB / 478.8 MB, free: 16.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007647/0.1946, allocations: 1.447 MB / 480.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.1965, allocations: 2.302 MB / 482.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.1965, allocations: 8 kB / 482.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.001991/0.1985, allocations: 1.917 MB / 484.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1985, allocations: 16 kB / 484.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.1985, allocations: 24 kB / 484.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.199, allocations: 226.5 kB / 484.8 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000877/0.1998, allocations: 0.4949 MB / 485.2 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.2016, allocations: 3 MB / 488.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.2022, allocations: 103.9 kB / 488.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.2023, allocations: 104 kB / 488.5 MB, free: 6.152 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[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (261): * Single equations (assignments): 259 * 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004698/0.2027, allocations: 299.8 kB / 488.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.2029, allocations: 258.6 kB / 489 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.2043, allocations: 1.107 MB / 490.1 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2043, allocations: 12 kB / 490.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2043, allocations: 4 kB / 490.1 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2043, allocations: 7.969 kB / 490.1 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.2077, allocations: 3.625 MB / 493.8 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2077, allocations: 8.031 kB / 493.8 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.2083, allocations: 255.7 kB / 494 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/0.2087, allocations: 167.5 kB / 494.2 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.2087, allocations: 39.98 kB / 494.2 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.2108, allocations: 2.908 MB / 497.1 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2108, allocations: 4 kB / 497.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.2129, allocations: 1.595 MB / 498.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/0.2133, allocations: 346.5 kB / 499.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.2135, allocations: 35.98 kB / 499.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.2139, allocations: 55.97 kB / 499.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.2141, allocations: 109 kB / 499.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.2141, allocations: 43.98 kB / 499.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009393/0.2151, allocations: 0.9413 MB / 0.4885 GB, free: 10.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2151, allocations: 0 / 0.4885 GB, free: 10.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001162/0.2162, allocations: 0.6366 MB / 0.4891 GB, free: 9.426 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,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 (125): * Single equations (assignments): 124 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.2165, allocations: 161.5 kB / 0.4893 GB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.2181, allocations: 1.415 MB / 0.4907 GB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2181, allocations: 0 / 0.4907 GB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.2189, allocations: 0.7263 MB / 0.4914 GB, free: 7.082 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.22, allocations: 491.4 kB / 0.4918 GB, free: 6.617 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/0.2259, allocations: 5.365 MB / 0.4971 GB, free: 1.164 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.2265, allocations: 0.8241 MB / 0.4979 GB, free: 324 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007981/0.2273, allocations: 433.9 kB / 0.4983 GB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.2275, allocations: 144.5 kB / 0.4984 GB, free: 15.75 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2275, allocations: 0 / 0.4984 GB, free: 15.75 MB / 362.7 MB Notification: Performance of Templates: time 0.03357/0.2611, allocations: 27.62 MB / 0.5254 GB, free: 4.59 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6604396319016814]