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.0009276/0.0009276, allocations: 86.05 kB / 19.87 MB, free: 4.617 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 1.033/1.033, allocations: 177.1 MB / 200.3 MB, free: 5.715 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.001814/0.001814, allocations: 156.6 kB / 256.9 MB, free: 12.98 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.02927/0.02927, allocations: 6.668 MB / 320.1 MB, free: 11.29 MB / 298.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.413e-06/1.413e-06, allocations: 0 / 392.2 MB, free: 3.129 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.463e-05, allocations: 9.906 kB / 392.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01261/0.01263, allocations: 15.82 MB / 408 MB, free: 3.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008417/0.02105, allocations: 5.462 MB / 413.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/0.0237, allocations: 119.4 kB / 413.6 MB, free: 13.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.02708, allocations: 1.219 MB / 414.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004259/0.03134, allocations: 1.599 MB / 416.4 MB, free: 10.8 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.03356, allocations: 1.017 MB / 417.4 MB, free: 9.777 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006087/0.03964, allocations: 4.871 MB / 422.3 MB, free: 4.879 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.04206, allocations: 1.913 MB / 424.2 MB, free: 2.902 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004705/0.04676, allocations: 3.158 MB / 427.4 MB, free: 15.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003241/0.05, allocations: 2.147 MB / 429.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008475/0.05085, allocations: 0.5547 MB / 430.1 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.05237, allocations: 0.7653 MB / 430.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007275/0.0531, allocations: 1.293 MB / 432.1 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.05494, allocations: 1.637 MB / 433.7 MB, free: 9.328 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004784/0.05973, allocations: 3.812 MB / 437.6 MB, free: 5.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.05973, allocations: 0 / 437.6 MB, free: 5.504 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.05973, allocations: 0 / 437.6 MB, free: 5.504 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001044/0.05984, allocations: 0 / 437.6 MB, free: 5.504 MB / 410.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.006616/0.06646, allocations: 5.033 MB / 442.6 MB, free: 412 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.0665, allocations: 8.031 kB / 442.6 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1372/0.2037, allocations: 1.339 MB / 443.9 MB, free: 137.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004212/0.2079, allocations: 2.509 MB / 446.4 MB, free: 136.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.2081, allocations: 276.9 kB / 446.7 MB, free: 136.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004747/0.2086, allocations: 368 kB / 447.1 MB, free: 136.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004636/0.2132, allocations: 2.695 MB / 449.8 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.933e-05/0.2133, allocations: 10.38 kB / 449.8 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/0.2135, allocations: 157.1 kB / 449.9 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.2137, allocations: 156.1 kB / 450.1 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.2158, allocations: 1.07 MB / 451.2 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.2288, allocations: 12.75 MB / 463.9 MB, free: 130.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.2307, allocations: 1.824 MB / 465.7 MB, free: 130 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009183/0.2317, allocations: 0.7888 MB / 466.5 MB, free: 129.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00327/0.2349, allocations: 2.672 MB / 469.2 MB, free: 128.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.235, allocations: 49.08 kB / 469.2 MB, free: 128.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=125): time 2.274e-06/0.235, allocations: 0 / 469.2 MB, free: 128.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.005863/0.2408, allocations: 3.614 MB / 472.9 MB, free: 127 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.2409, allocations: 72.94 kB / 472.9 MB, free: 126.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.2422, allocations: 1.64 MB / 474.6 MB, free: 125.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/0.2422, allocations: 49.7 kB / 474.6 MB, free: 125.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/0.2428, allocations: 1.873 MB / 476.5 MB, free: 123.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.2431, allocations: 0.5808 MB / 477.1 MB, free: 123.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/0.2434, allocations: 443.2 kB / 477.5 MB, free: 122.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.781e-05/0.2435, allocations: 476.8 kB / 478 MB, free: 122.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.2438, allocations: 240 kB / 478.2 MB, free: 122 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.2443, allocations: 1.38 MB / 479.6 MB, free: 120.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.2457, allocations: 2.131 MB / 481.7 MB, free: 117.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.2457, allocations: 8 kB / 481.7 MB, free: 117.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001861/0.2476, allocations: 1.791 MB / 483.5 MB, free: 116.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.2476, allocations: 19.98 kB / 483.5 MB, free: 116 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.2476, allocations: 24 kB / 483.6 MB, free: 116 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005048/0.2481, allocations: 282.9 kB / 483.8 MB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/0.2489, allocations: 485.5 kB / 484.3 MB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.251, allocations: 3.273 MB / 487.6 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009065/0.2519, allocations: 79.84 kB / 487.7 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.274e-05/0.252, allocations: 91.98 kB / 487.7 MB, free: 111.8 MB / 410.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.0006851/0.2527, allocations: 302.2 kB / 488 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.2529, allocations: 266.6 kB / 488.3 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.2541, allocations: 1.116 MB / 489.4 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.2541, allocations: 16 kB / 489.4 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2541, allocations: 4 kB / 489.4 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2541, allocations: 7.969 kB / 489.4 MB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.2579, allocations: 3.216 MB / 492.7 MB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2579, allocations: 4 kB / 492.7 MB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/0.2584, allocations: 262.4 kB / 492.9 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/0.2589, allocations: 219.3 kB / 493.1 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/0.2589, allocations: 39.98 kB / 493.2 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.2607, allocations: 3.133 MB / 496.3 MB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2607, allocations: 4 kB / 496.3 MB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.2623, allocations: 1.594 MB / 497.9 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/0.2628, allocations: 354.5 kB / 498.3 MB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.263, allocations: 32 kB / 498.3 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.2634, allocations: 51.97 kB / 498.3 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.2635, allocations: 112.6 kB / 498.4 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.2636, allocations: 35.98 kB / 498.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006112/0.2642, allocations: 0.8405 MB / 499.3 MB, free: 100.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2642, allocations: 0 / 499.3 MB, free: 100.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001634/0.2658, allocations: 0.6367 MB / 500 MB, free: 99.83 MB / 410.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.0002503/0.2661, allocations: 163.7 kB / 0.4884 GB, free: 99.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.2676, allocations: 1.407 MB / 0.4898 GB, free: 98.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2676, allocations: 0 / 0.4898 GB, free: 98.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006903/0.2683, allocations: 0.781 MB / 0.4905 GB, free: 97.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.2696, allocations: 0.5037 MB / 0.491 GB, free: 97.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006959/0.2765, allocations: 5.422 MB / 0.4963 GB, free: 91.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.2771, allocations: 0.8287 MB / 0.4971 GB, free: 90.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000869/0.278, allocations: 298.2 kB / 0.4974 GB, free: 90.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007574/0.2788, allocations: 0.5643 MB / 0.498 GB, free: 89.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2788, allocations: 0 / 0.498 GB, free: 89.93 MB / 410.7 MB Notification: Performance of Templates: time 0.03892/0.3177, allocations: 30.99 MB / 0.5282 GB, free: 59.51 MB / 410.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.867706621065736]