Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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.001161/0.001161, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001813/0.002975, 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.9886/0.9886, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1656/1.154, 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.0007686/0.0007686, allocations: 149.6 kB / 242.8 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001808, allocations: 478.6 kB / 243.2 MB, free: 1.418 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.02343/0.02343, allocations: 6.66 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005321/0.02876, allocations: 2.666 MB / 253.3 MB, free: 7.555 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_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 254.6 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.913e-05, allocations: 5.266 kB / 254.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.02017/0.0202, allocations: 15.98 MB / 270.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.03052, allocations: 5.729 MB / 276.4 MB, free: 412 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.03345, allocations: 119.3 kB / 276.5 MB, free: 292 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004042/0.0375, allocations: 1.267 MB / 277.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.04242, allocations: 1.587 MB / 279.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.04481, allocations: 1.025 MB / 280.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009499/0.05431, allocations: 4.873 MB / 285.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006378/0.06069, allocations: 1.967 MB / 287.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/0.07313, allocations: 3.435 MB / 290.6 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/0.08348, allocations: 2.151 MB / 292.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001551/0.08503, allocations: 0.5547 MB / 293.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005991/0.09102, allocations: 0.7769 MB / 294.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004401/0.09542, allocations: 1.036 MB / 295.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003587/0.09901, allocations: 1.365 MB / 296.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007242/0.1062, allocations: 3.621 MB / 300.1 MB, free: 8.453 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-05/0.1063, allocations: 4 kB / 300.1 MB, free: 8.449 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1063, allocations: 0 / 300.1 MB, free: 8.449 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001614/0.1064, allocations: 0 / 300.1 MB, free: 8.449 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.00709/0.1135, allocations: 5.662 MB / 305.8 MB, free: 2.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1136, allocations: 8.031 kB / 305.8 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.1165, allocations: 1.296 MB / 307.1 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.1191, allocations: 1.722 MB / 308.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.1192, allocations: 271.8 kB / 309.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003528/0.1196, allocations: 372.3 kB / 309.4 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.1226, allocations: 2.751 MB / 312.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.996e-05/0.1226, allocations: 7.938 kB / 312.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.1228, allocations: 148 kB / 312.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.1229, allocations: 155.3 kB / 312.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.1246, allocations: 1.067 MB / 313.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.136, allocations: 10.17 MB / 323.7 MB, free: 184 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.1379, allocations: 1.679 MB / 325.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007898/0.1386, allocations: 0.6637 MB / 326.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003053/0.1417, allocations: 2.136 MB / 328.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1417, allocations: 47.88 kB / 328.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 3.246e-06/0.1417, allocations: 0 / 328.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=136): time 0.003703/0.1454, allocations: 2.488 MB / 330.8 MB, free: 9.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.1455, allocations: 68.66 kB / 330.8 MB, free: 8.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.1465, allocations: 1.337 MB / 332.2 MB, free: 7.656 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.1465, allocations: 45.7 kB / 332.2 MB, free: 7.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006809/0.1472, allocations: 1.502 MB / 333.7 MB, free: 6.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.1475, allocations: 0.4958 MB / 334.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003447/0.1479, allocations: 351.2 kB / 334.5 MB, free: 5.234 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.1479, allocations: 305.1 kB / 334.8 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.1482, allocations: 206.7 kB / 335 MB, free: 4.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.1488, allocations: 0.9281 MB / 336 MB, free: 3.469 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.1499, allocations: 1.341 MB / 337.3 MB, free: 1.797 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.1499, allocations: 8 kB / 337.3 MB, free: 1.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.001347/0.1512, allocations: 1.235 MB / 338.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.1512, allocations: 16 kB / 338.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.1513, allocations: 27.98 kB / 338.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/0.1515, allocations: 113 kB / 338.7 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1682/0.3196, allocations: 0.5183 MB / 339.2 MB, free: 51.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.3208, allocations: 1.646 MB / 340.9 MB, free: 50.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.322, allocations: 73.3 kB / 340.9 MB, free: 50.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.3221, allocations: 72.88 kB / 341 MB, free: 50.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (241): * Single equations (assignments): 239 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007922/0.3229, allocations: 249.6 kB / 341.3 MB, free: 50 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/0.3232, allocations: 168.6 kB / 341.4 MB, free: 50 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.3246, allocations: 0.9175 MB / 342.3 MB, free: 49.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3246, allocations: 17.53 kB / 342.4 MB, free: 49.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.3246, allocations: 9.734 kB / 342.4 MB, free: 49.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.3246, allocations: 6.328 kB / 342.4 MB, free: 49.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.3285, allocations: 2.614 MB / 345 MB, free: 49.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3285, allocations: 2.562 kB / 345 MB, free: 49.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.3292, allocations: 292.4 kB / 345.3 MB, free: 49.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.3296, allocations: 209.8 kB / 345.5 MB, free: 49.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.3301, allocations: 237.9 kB / 345.7 MB, free: 49.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.3301, allocations: 33.64 kB / 345.7 MB, free: 49.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/0.3327, allocations: 5.211 MB / 351 MB, free: 45.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.3327, allocations: 6.938 kB / 351 MB, free: 45.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.334, allocations: 1.283 MB / 352.3 MB, free: 45.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.3342, allocations: 29.97 kB / 352.3 MB, free: 45.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.3346, allocations: 50.44 kB / 352.3 MB, free: 45.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.3348, allocations: 103.3 kB / 352.4 MB, free: 45.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.3348, allocations: 31.83 kB / 352.5 MB, free: 45.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006472/0.3355, allocations: 0.654 MB / 353.1 MB, free: 45.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3355, allocations: 3.781 kB / 353.1 MB, free: 45.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001707/0.3372, allocations: 0.5977 MB / 353.7 MB, free: 45.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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 (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002668/0.3374, allocations: 144.6 kB / 353.9 MB, free: 44.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.3388, allocations: 0.9768 MB / 354.8 MB, free: 44.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.548e-05/0.3389, allocations: 33.83 kB / 354.9 MB, free: 44.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007829/0.3397, allocations: 0.8487 MB / 355.7 MB, free: 44.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.3409, allocations: 0.6421 MB / 356.4 MB, free: 44.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/0.3641, allocations: 5.459 MB / 361.8 MB, free: 42.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.3649, allocations: 0.6845 MB / 362.5 MB, free: 42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009192/0.3658, allocations: 281.4 kB / 362.8 MB, free: 41.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000714/0.3665, allocations: 489.2 kB / 363.3 MB, free: 41.91 MB / 330.7 MB Notification: Performance of SimCode: time 1.783e-06/0.3665, allocations: 0 / 363.3 MB, free: 41.91 MB / 330.7 MB Notification: Performance of Templates: time 0.03823/0.4048, allocations: 29.87 MB / 393.1 MB, free: 18.29 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5104656759649515]