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.0009638/0.0009638, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.002189, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9316/0.9316, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1397/1.071, allocations: 53.65 MB / 241.9 MB, free: 2.734 MB / 234.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.0007952/0.0007952, allocations: 151.1 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009799/0.001775, allocations: 483.4 kB / 243.2 MB, free: 1.422 MB / 234.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.02305/0.02305, allocations: 6.661 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004464/0.02751, allocations: 2.666 MB / 253.3 MB, free: 7.562 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.633e-06/1.633e-06, allocations: 0 / 254.6 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.689e-05, allocations: 4.422 kB / 254.6 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01915/0.01917, allocations: 15.98 MB / 270.6 MB, free: 6.156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.03174, allocations: 5.721 MB / 276.3 MB, free: 424 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.03417, allocations: 119.3 kB / 276.5 MB, free: 304 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002276/0.03645, allocations: 1.275 MB / 277.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.03954, allocations: 1.583 MB / 279.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.04103, allocations: 1.027 MB / 280.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004035/0.04506, allocations: 4.869 MB / 285.2 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.04782, allocations: 1.967 MB / 287.2 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004609/0.05243, allocations: 3.431 MB / 290.6 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.05545, allocations: 2.147 MB / 292.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009014/0.05635, allocations: 0.5547 MB / 293.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.05771, allocations: 0.7807 MB / 294.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009292/0.05864, allocations: 1.036 MB / 295.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.06033, allocations: 1.365 MB / 296.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.06368, allocations: 3.621 MB / 300.1 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.508e-05/0.06369, allocations: 0 / 300.1 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.06369, allocations: 0 / 300.1 MB, free: 8.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.587e-05/0.06379, allocations: 0 / 300.1 MB, free: 8.469 MB / 298.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.006379/0.07017, allocations: 5.662 MB / 305.8 MB, free: 2.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.0702, allocations: 12.03 kB / 305.8 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/0.07395, allocations: 1.296 MB / 307.1 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.07705, allocations: 1.719 MB / 308.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.07723, allocations: 275.8 kB / 309.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/0.07766, allocations: 372.3 kB / 309.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/0.08124, allocations: 2.751 MB / 312.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.015e-05/0.08131, allocations: 3.938 kB / 312.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/0.08157, allocations: 152 kB / 312.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.0817, allocations: 155.3 kB / 312.5 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.08382, allocations: 1.071 MB / 313.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.09678, allocations: 10.13 MB / 323.7 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003777/0.1006, allocations: 1.71 MB / 325.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.1017, allocations: 0.7601 MB / 326.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003916/0.1056, allocations: 2.144 MB / 328.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.1057, allocations: 51.56 kB / 328.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=124): time 2.935e-06/0.1057, allocations: 0 / 328.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=155): time 0.006424/0.1121, allocations: 3.494 MB / 331.9 MB, free: 7.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.1121, allocations: 72.66 kB / 331.9 MB, free: 7.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.1134, allocations: 1.39 MB / 333.3 MB, free: 6.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.1135, allocations: 53.7 kB / 333.4 MB, free: 6.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007619/0.1142, allocations: 1.545 MB / 334.9 MB, free: 4.832 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.1146, allocations: 0.55 MB / 335.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004479/0.115, allocations: 395.9 kB / 335.9 MB, free: 3.883 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.1151, allocations: 305.1 kB / 336.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.1155, allocations: 247.4 kB / 336.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007759/0.1163, allocations: 1.002 MB / 337.4 MB, free: 1.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1223/0.2386, allocations: 1.797 MB / 339.2 MB, free: 51.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.703e-05/0.2386, allocations: 5.781 kB / 339.2 MB, free: 51.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.002679/0.2413, allocations: 1.429 MB / 340.6 MB, free: 51.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.2413, allocations: 17.84 kB / 340.6 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.47e-05/0.2414, allocations: 28.56 kB / 340.7 MB, free: 51.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/0.242, allocations: 268.4 kB / 340.9 MB, free: 51.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.2432, allocations: 0.5586 MB / 341.5 MB, free: 51.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.2454, allocations: 2.572 MB / 344.1 MB, free: 49.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.2464, allocations: 84.39 kB / 344.1 MB, free: 49.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.2465, allocations: 84.7 kB / 344.2 MB, free: 49.86 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 (255): * Single equations (assignments): 253 * 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.0007115/0.2472, allocations: 259.9 kB / 344.5 MB, free: 49.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.2475, allocations: 175.8 kB / 344.7 MB, free: 49.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.2488, allocations: 0.9357 MB / 345.6 MB, free: 49.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.2488, allocations: 14.56 kB / 345.6 MB, free: 49.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.2488, allocations: 13.16 kB / 345.6 MB, free: 49.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2488, allocations: 5.594 kB / 345.6 MB, free: 49.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.2522, allocations: 2.578 MB / 348.2 MB, free: 49.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2522, allocations: 3.688 kB / 348.2 MB, free: 49.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008716/0.2531, allocations: 383.5 kB / 348.6 MB, free: 49.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.2536, allocations: 228.6 kB / 348.8 MB, free: 49.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004349/0.254, allocations: 219 kB / 349 MB, free: 49.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/0.2541, allocations: 35.45 kB / 349.1 MB, free: 49.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.2557, allocations: 2.395 MB / 351.4 MB, free: 47.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2557, allocations: 3.703 kB / 351.4 MB, free: 47.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.2572, allocations: 1.321 MB / 352.8 MB, free: 47.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.2574, allocations: 39.45 kB / 352.8 MB, free: 47.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.2578, allocations: 47.95 kB / 352.9 MB, free: 47.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.258, allocations: 114 kB / 353 MB, free: 47.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.258, allocations: 34.67 kB / 353 MB, free: 47.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005729/0.2586, allocations: 0.6636 MB / 353.7 MB, free: 47.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2586, allocations: 1.094 kB / 353.7 MB, free: 47.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001525/0.2601, allocations: 0.6398 MB / 354.3 MB, free: 47.4 MB / 330.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 (131): * Single equations (assignments): 130 * 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 {(4,21,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002483/0.2604, allocations: 150.7 kB / 354.5 MB, free: 47.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.2618, allocations: 1.232 MB / 355.7 MB, free: 47.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.069e-05/0.2619, allocations: 35.72 kB / 355.7 MB, free: 47.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006471/0.2625, allocations: 0.6734 MB / 356.4 MB, free: 46.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.2637, allocations: 0.6522 MB / 357 MB, free: 46.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/0.2883, allocations: 5.77 MB / 362.8 MB, free: 44.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008302/0.2892, allocations: 0.7181 MB / 363.5 MB, free: 44.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001125/0.2903, allocations: 300 kB / 363.8 MB, free: 44.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009529/0.2913, allocations: 0.5076 MB / 364.3 MB, free: 44.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.482e-06/0.2913, allocations: 0 / 364.3 MB, free: 44.29 MB / 330.7 MB Notification: Performance of Templates: time 0.08064/0.3719, allocations: 32.66 MB / 397 MB, free: 15.16 MB / 330.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.437601115554571]