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.0009124/0.0009124, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.9446/0.9446, allocations: 177.2 MB / 201 MB, free: 5.719 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.001733/0.001733, allocations: 164.2 kB / 257.7 MB, free: 12.99 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.02888/0.02888, allocations: 6.663 MB / 320.9 MB, free: 26.37 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.473e-06/1.473e-06, allocations: 0 / 393 MB, free: 2.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.913e-05, allocations: 10.25 kB / 393 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.0354/0.03542, allocations: 15.82 MB / 408.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1224/0.1579, allocations: 5.455 MB / 414.2 MB, free: 69.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.1607, allocations: 118.5 kB / 414.4 MB, free: 69.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003029/0.1637, allocations: 1.224 MB / 415.6 MB, free: 69.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.168, allocations: 1.597 MB / 417.2 MB, free: 68.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.1702, allocations: 1.015 MB / 418.2 MB, free: 68.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00539/0.1756, allocations: 4.861 MB / 423 MB, free: 66.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002783/0.1783, allocations: 1.92 MB / 425 MB, free: 65.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004848/0.1832, allocations: 3.154 MB / 428.1 MB, free: 64.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.1862, allocations: 2.142 MB / 430.3 MB, free: 63.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009604/0.1871, allocations: 0.5576 MB / 430.8 MB, free: 63.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.1885, allocations: 0.7694 MB / 431.6 MB, free: 63.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006099/0.1891, allocations: 1.288 MB / 432.9 MB, free: 62.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.1908, allocations: 1.633 MB / 434.5 MB, free: 61.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00312/0.1939, allocations: 3.816 MB / 438.3 MB, free: 58.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1939, allocations: 0 / 438.3 MB, free: 58.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1939, allocations: 4 kB / 438.3 MB, free: 58.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.29e-05/0.194, allocations: 0 / 438.3 MB, free: 58.43 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.005668/0.1997, allocations: 5.033 MB / 443.4 MB, free: 53.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1997, allocations: 12.03 kB / 443.4 MB, free: 53.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.2025, allocations: 1.334 MB / 444.7 MB, free: 52.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002976/0.2055, allocations: 2.511 MB / 447.2 MB, free: 49.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.2056, allocations: 285.4 kB / 447.5 MB, free: 49.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.2059, allocations: 362.6 kB / 447.9 MB, free: 49.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/0.2088, allocations: 2.71 MB / 450.6 MB, free: 46.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/0.2088, allocations: 4 kB / 450.6 MB, free: 46.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/0.209, allocations: 147.9 kB / 450.7 MB, free: 46.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.684e-05/0.2091, allocations: 163.3 kB / 450.9 MB, free: 46.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.2106, allocations: 1.068 MB / 451.9 MB, free: 45.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.2212, allocations: 12.75 MB / 464.7 MB, free: 32.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.2231, allocations: 1.828 MB / 466.5 MB, free: 30.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008899/0.224, allocations: 0.7933 MB / 467.3 MB, free: 30.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003181/0.2272, allocations: 2.656 MB / 470 MB, free: 27.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2272, allocations: 50.39 kB / 470 MB, free: 27.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 2.505e-06/0.2272, allocations: 0 / 470 MB, free: 27.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.00855/0.2358, allocations: 3.602 MB / 473.6 MB, free: 23.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.2358, allocations: 72.66 kB / 473.7 MB, free: 23.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.2379, allocations: 1.64 MB / 475.3 MB, free: 22.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.216e-05/0.2379, allocations: 53.7 kB / 475.4 MB, free: 22.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.239, allocations: 1.874 MB / 477.3 MB, free: 20.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.2394, allocations: 0.5722 MB / 477.8 MB, free: 19.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005901/0.24, allocations: 442 kB / 478.3 MB, free: 19.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.24, allocations: 476.8 kB / 478.7 MB, free: 18.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.2405, allocations: 244.2 kB / 479 MB, free: 18.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000989/0.2415, allocations: 1.384 MB / 480.3 MB, free: 16.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.2429, allocations: 2.13 MB / 482.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.2429, allocations: 8 kB / 482.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001779/0.2447, allocations: 1.794 MB / 484.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.2447, allocations: 17.25 kB / 484.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.2447, allocations: 24 kB / 484.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004969/0.2452, allocations: 273.3 kB / 484.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/0.246, allocations: 479.3 kB / 485.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.2481, allocations: 3.276 MB / 488.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008263/0.2489, allocations: 87.89 kB / 488.4 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.792e-05/0.249, allocations: 83.98 kB / 488.5 MB, free: 8.258 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.0006364/0.2496, allocations: 307.1 kB / 488.8 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.2498, allocations: 267.5 kB / 489.1 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.251, allocations: 1.119 MB / 490.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.251, allocations: 16 kB / 490.2 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.251, allocations: 4 kB / 490.2 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.251, allocations: 7.969 kB / 490.2 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.2542, allocations: 3.21 MB / 493.4 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.2542, allocations: 11.86 kB / 493.4 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.2548, allocations: 263.7 kB / 493.7 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/0.2552, allocations: 222.2 kB / 493.9 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.2553, allocations: 39.98 kB / 493.9 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.257, allocations: 3.125 MB / 497.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.257, allocations: 4 kB / 497.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.2586, allocations: 1.593 MB / 498.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.2591, allocations: 350.4 kB / 499 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.2592, allocations: 35.98 kB / 499 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.2596, allocations: 51.98 kB / 499.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.2598, allocations: 113 kB / 499.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.2598, allocations: 39.98 kB / 499.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006495/0.2605, allocations: 0.832 MB / 0.4884 GB, free: 12.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2605, allocations: 4 kB / 0.4884 GB, free: 12.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001387/0.2619, allocations: 0.6367 MB / 0.489 GB, free: 12.13 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.0002308/0.2621, allocations: 167.5 kB / 0.4891 GB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.2636, allocations: 1.405 MB / 0.4905 GB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2636, allocations: 4 kB / 0.4905 GB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007771/0.2644, allocations: 0.7684 MB / 0.4913 GB, free: 9.781 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.2657, allocations: 0.5045 MB / 0.4918 GB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007249/0.2729, allocations: 5.44 MB / 0.4971 GB, free: 3.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000687/0.2736, allocations: 0.8326 MB / 0.4979 GB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000926/0.2745, allocations: 294.2 kB / 0.4982 GB, free: 2.641 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008692/0.2754, allocations: 0.5643 MB / 0.4987 GB, free: 2.074 MB / 346.7 MB Notification: Performance of SimCode: time 2.414e-06/0.2754, allocations: 0 / 0.4987 GB, free: 2.074 MB / 346.7 MB Notification: Performance of Templates: time 0.04331/0.3187, allocations: 31.53 MB / 0.5295 GB, free: 3.008 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.7303700069896877]