Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.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.0007211/0.0007211, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008587/0.00158, 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.19/1.122, allocations: 53.64 MB / 241.9 MB, free: 2.738 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.0007727/0.0007727, allocations: 151.9 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001791, allocations: 472 kB / 243.2 MB, free: 1.426 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.0241/0.0241, allocations: 6.649 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005062/0.02917, allocations: 2.678 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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 254.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.644e-05, allocations: 4.703 kB / 254.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01371/0.01373, allocations: 16.7 MB / 271.3 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.02647, allocations: 5.884 MB / 277.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/0.02981, allocations: 127.2 kB / 277.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.03253, allocations: 1.322 MB / 278.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.03691, allocations: 1.684 MB / 280.3 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.03894, allocations: 1.087 MB / 281.4 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005161/0.0441, allocations: 5.331 MB / 286.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.04678, allocations: 2.29 MB / 289 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004496/0.05127, allocations: 3.912 MB / 292.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/0.05409, allocations: 2.436 MB / 295.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.05519, allocations: 0.6133 MB / 296 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.05641, allocations: 0.8588 MB / 296.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009182/0.05733, allocations: 1.185 MB / 298 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.05873, allocations: 1.505 MB / 299.5 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.06221, allocations: 4.061 MB / 303.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.06223, allocations: 0 / 303.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.06223, allocations: 0 / 303.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.467e-05/0.06231, allocations: 0 / 303.6 MB, free: 4.949 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.007496/0.0698, allocations: 6.264 MB / 309.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.609e-05/0.06983, allocations: 8.031 kB / 309.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002985/0.07281, allocations: 1.378 MB / 311.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/0.07581, allocations: 1.922 MB / 313.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.07596, allocations: 300.5 kB / 313.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003562/0.07632, allocations: 404.3 kB / 313.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.0794, allocations: 3 MB / 316.8 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.449e-05/0.07946, allocations: 15.88 kB / 316.8 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.07969, allocations: 164 kB / 317 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.0798, allocations: 176 kB / 317.2 MB, free: 7.074 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.08153, allocations: 1.202 MB / 318.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.09269, allocations: 10.68 MB / 329.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.09492, allocations: 2.002 MB / 331.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.09639, allocations: 1.151 MB / 332.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003517/0.09991, allocations: 2.524 MB / 334.7 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.09994, allocations: 51.81 kB / 334.8 MB, free: 4.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=157): time 2.986e-06/0.09994, allocations: 0 / 334.8 MB, free: 4.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=160): time 0.004071/0.104, allocations: 2.738 MB / 337.5 MB, free: 2.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.104, allocations: 68.72 kB / 337.6 MB, free: 2.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.1051, allocations: 1.535 MB / 339.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.1052, allocations: 57.7 kB / 339.2 MB, free: 444 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1528/0.258, allocations: 1.616 MB / 340.8 MB, free: 51.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000567/0.2585, allocations: 0.572 MB / 341.4 MB, free: 51.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004636/0.259, allocations: 385.9 kB / 341.7 MB, free: 51.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.075e-05/0.259, allocations: 303.1 kB / 342 MB, free: 50.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.2594, allocations: 237.6 kB / 342.3 MB, free: 50.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005766/0.26, allocations: 0.9456 MB / 343.2 MB, free: 49.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.2612, allocations: 1.416 MB / 344.6 MB, free: 48.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.2612, allocations: 6.156 kB / 344.6 MB, free: 48.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00201/0.2633, allocations: 1.362 MB / 346 MB, free: 48.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.2633, allocations: 14.44 kB / 346 MB, free: 48.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/0.2633, allocations: 24.36 kB / 346 MB, free: 48.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.2636, allocations: 123 kB / 346.2 MB, free: 48.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.2648, allocations: 0.6021 MB / 346.8 MB, free: 48.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009399/0.2658, allocations: 1.676 MB / 348.4 MB, free: 47.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008218/0.2666, allocations: 87.81 kB / 348.5 MB, free: 47.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-05/0.2667, allocations: 77.42 kB / 348.6 MB, free: 47.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (266): * Single equations (assignments): 264 * 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.0007305/0.2674, allocations: 264 kB / 348.9 MB, free: 47.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.2676, allocations: 184.9 kB / 349 MB, free: 47.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.2689, allocations: 1.088 MB / 350.1 MB, free: 47.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.2689, allocations: 15.88 kB / 350.1 MB, free: 47.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.2689, allocations: 7.75 kB / 350.2 MB, free: 47.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.2689, allocations: 8.156 kB / 350.2 MB, free: 47.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.2721, allocations: 2.619 MB / 352.8 MB, free: 46.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2721, allocations: 3.938 kB / 352.8 MB, free: 46.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007908/0.2729, allocations: 383.3 kB / 353.2 MB, free: 46.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.2733, allocations: 250.9 kB / 353.4 MB, free: 46.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.2738, allocations: 253.6 kB / 353.7 MB, free: 46.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.2738, allocations: 42.5 kB / 353.7 MB, free: 46.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.2764, allocations: 5.224 MB / 358.9 MB, free: 42.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.2764, allocations: 8.797 kB / 358.9 MB, free: 42.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.2778, allocations: 1.457 MB / 360.4 MB, free: 42.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.278, allocations: 35.56 kB / 360.4 MB, free: 42.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.2784, allocations: 58.89 kB / 360.5 MB, free: 42.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.2786, allocations: 125.6 kB / 360.6 MB, free: 42.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.2786, allocations: 32.38 kB / 360.6 MB, free: 42.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005476/0.2792, allocations: 0.7532 MB / 361.4 MB, free: 42.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2792, allocations: 0 / 361.4 MB, free: 42.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001447/0.2806, allocations: 0.6761 MB / 362.1 MB, free: 42.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,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,mechanicalSensor.flange_a.phi) * 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 (129): * Single equations (assignments): 126 * 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.0002304/0.2809, allocations: 149 kB / 362.2 MB, free: 42.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.2821, allocations: 1.077 MB / 363.3 MB, free: 42.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.386e-05/0.2821, allocations: 37.78 kB / 363.3 MB, free: 42.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000891/0.283, allocations: 0.9108 MB / 364.2 MB, free: 41.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.2842, allocations: 0.7027 MB / 364.9 MB, free: 41.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02303/0.3072, allocations: 6.175 MB / 371.1 MB, free: 39.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.3079, allocations: 0.794 MB / 371.9 MB, free: 38.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008711/0.3087, allocations: 325.8 kB / 372.2 MB, free: 38.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007564/0.3095, allocations: 0.5269 MB / 372.7 MB, free: 37.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.133e-06/0.3095, allocations: 0 / 372.7 MB, free: 37.84 MB / 330.7 MB Notification: Performance of Templates: time 0.03712/0.3466, allocations: 33.53 MB / 406.3 MB, free: 6.742 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3199774036183953]