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.001285/0.001285, allocations: 80.88 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.9307/0.9307, allocations: 177.2 MB / 200.3 MB, free: 5.398 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.001616/0.001616, allocations: 167.5 kB / 257 MB, free: 12.82 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.03364/0.03364, allocations: 6.648 MB / 266.9 MB, free: 3.078 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_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.463e-06/1.463e-06, allocations: 0 / 285.7 MB, free: 268 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.395e-05, allocations: 2.312 kB / 285.7 MB, free: 264 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.1491/0.1491, allocations: 15.82 MB / 301.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009006/0.1581, allocations: 5.679 MB / 307.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.1605, allocations: 120.1 kB / 307.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.1629, allocations: 1.254 MB / 308.6 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.1664, allocations: 1.599 MB / 310.2 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.168, allocations: 1.04 MB / 311.2 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003719/0.1717, allocations: 4.873 MB / 316.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.1739, allocations: 1.963 MB / 318.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.1773, allocations: 3.162 MB / 321.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.1797, allocations: 2.147 MB / 323.4 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008529/0.1806, allocations: 0.5547 MB / 323.9 MB, free: 8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.1817, allocations: 0.773 MB / 324.7 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007738/0.1825, allocations: 1.289 MB / 326 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.1843, allocations: 1.641 MB / 327.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003814/0.1881, allocations: 3.809 MB / 331.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1881, allocations: 0 / 331.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1881, allocations: 0 / 331.5 MB, free: 480 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001266/0.1882, allocations: 0 / 331.5 MB, free: 480 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.00655/0.1947, allocations: 4.767 MB / 336.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1948, allocations: 8.031 kB / 336.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/0.1976, allocations: 1.3 MB / 337.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.2004, allocations: 1.715 MB / 339.2 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.2006, allocations: 275.8 kB / 339.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/0.2009, allocations: 369.2 kB / 339.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/0.2038, allocations: 2.742 MB / 342.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-05/0.2038, allocations: 11.83 kB / 342.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.204, allocations: 152 kB / 342.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.2041, allocations: 155.3 kB / 342.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.2057, allocations: 1.061 MB / 344 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.2169, allocations: 9.924 MB / 353.9 MB, free: 9.418 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.2187, allocations: 1.609 MB / 355.5 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.2194, allocations: 0.604 MB / 356.1 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003073/0.2225, allocations: 2.051 MB / 358.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.2225, allocations: 55.5 kB / 358.2 MB, free: 5.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=118): time 3.487e-06/0.2226, allocations: 0 / 358.2 MB, free: 5.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=144): time 0.005209/0.2278, allocations: 3.07 MB / 361.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.2278, allocations: 68.72 kB / 361.4 MB, free: 1.891 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.2289, allocations: 1.434 MB / 362.8 MB, free: 420 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.2289, allocations: 45.7 kB / 362.8 MB, free: 368 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006129/0.2295, allocations: 1.58 MB / 364.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.2298, allocations: 0.519 MB / 364.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.2301, allocations: 403.8 kB / 365.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.2302, allocations: 301.1 kB / 365.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.2305, allocations: 239.4 kB / 365.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.2311, allocations: 1.02 MB / 366.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.2328, allocations: 1.805 MB / 368.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.2328, allocations: 11.75 kB / 368.7 MB, free: 9.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.001555/0.2344, allocations: 1.381 MB / 370.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.2344, allocations: 16.94 kB / 370.1 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.2344, allocations: 27.94 kB / 370.1 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004135/0.2348, allocations: 201.3 kB / 370.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.2357, allocations: 487.2 kB / 370.8 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.2374, allocations: 2.203 MB / 373 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/0.2382, allocations: 87.84 kB / 373.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/0.2383, allocations: 83.98 kB / 373.2 MB, free: 5.168 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.0007095/0.239, allocations: 267.9 kB / 373.4 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.2392, allocations: 171.8 kB / 373.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.2405, allocations: 0.8312 MB / 374.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.2405, allocations: 16 kB / 374.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2405, allocations: 4 kB / 374.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.2405, allocations: 7.969 kB / 374.5 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.2435, allocations: 2.253 MB / 376.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2435, allocations: 0 / 376.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/0.2441, allocations: 251.7 kB / 377 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003326/0.2444, allocations: 155.3 kB / 377.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.2445, allocations: 39.98 kB / 377.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.2461, allocations: 2.16 MB / 379.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2461, allocations: 4 kB / 379.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.2474, allocations: 1.187 MB / 380.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.2479, allocations: 206.6 kB / 380.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.248, allocations: 32 kB / 380.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.2484, allocations: 55.97 kB / 380.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.2485, allocations: 101 kB / 380.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.2486, allocations: 31.98 kB / 380.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008629/0.2494, allocations: 0.682 MB / 381.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2494, allocations: 0 / 381.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001458/0.2509, allocations: 0.6289 MB / 382.2 MB, free: 11.84 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.0002473/0.2511, allocations: 144.2 kB / 382.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.2525, allocations: 1.156 MB / 383.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.611e-05/0.2525, allocations: 35.91 kB / 383.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005577/0.2531, allocations: 0.5698 MB / 384.1 MB, free: 9.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.2542, allocations: 0.5005 MB / 384.6 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00671/0.2609, allocations: 5.195 MB / 389.8 MB, free: 4.129 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.2615, allocations: 0.6758 MB / 390.5 MB, free: 3.426 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008481/0.2623, allocations: 294.2 kB / 390.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007894/0.2631, allocations: 0.5069 MB / 391.3 MB, free: 2.621 MB / 346.7 MB Notification: Performance of SimCode: time 1.864e-06/0.2631, allocations: 0 / 391.3 MB, free: 2.621 MB / 346.7 MB Notification: Performance of Templates: time 0.04319/0.3063, allocations: 29.78 MB / 421.1 MB, free: 5.309 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.3713454785756767]