Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.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.0007971/0.0007971, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.001797, allocations: 440 kB / 10.41 MB, free: 284 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.9829/0.9829, allocations: 177.2 MB / 188.4 MB, free: 4.418 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2296/1.213, allocations: 53.65 MB / 242 MB, free: 2.617 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.001062/0.001062, allocations: 147.3 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00167/0.002732, allocations: 479.7 kB / 243.4 MB, free: 1.281 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.02551/0.02551, allocations: 6.656 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008609/0.03412, allocations: 2.668 MB / 253.5 MB, free: 7.406 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_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 254.8 MB, free: 6.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.441e-05, allocations: 6.25 kB / 254.8 MB, free: 6.074 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.02196/0.022, allocations: 15.87 MB / 270.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.03541, allocations: 5.721 MB / 276.4 MB, free: 408 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.03821, allocations: 115.4 kB / 276.5 MB, free: 292 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.04091, allocations: 1.264 MB / 277.8 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003866/0.04477, allocations: 1.622 MB / 279.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.04659, allocations: 1.012 MB / 280.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004415/0.05101, allocations: 4.997 MB / 285.4 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.05314, allocations: 1.96 MB / 287.3 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.05721, allocations: 3.525 MB / 290.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.05993, allocations: 2.268 MB / 293.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000893/0.06083, allocations: 0.5664 MB / 293.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.06228, allocations: 0.7925 MB / 294.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009176/0.06319, allocations: 1.087 MB / 295.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.06493, allocations: 1.4 MB / 297 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.06889, allocations: 3.738 MB / 300.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.828e-05/0.06891, allocations: 0 / 300.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.06891, allocations: 0 / 300.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.606e-05/0.06895, allocations: 4 kB / 300.7 MB, free: 7.867 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.006236/0.07518, allocations: 5.818 MB / 306.5 MB, free: 1.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.07522, allocations: 8.031 kB / 306.6 MB, free: 1.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.07836, allocations: 1.327 MB / 307.9 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.08083, allocations: 1.771 MB / 309.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.081, allocations: 279.8 kB / 309.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/0.08136, allocations: 364.3 kB / 310.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.08435, allocations: 2.77 MB / 313.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.614e-05/0.08441, allocations: 7.938 kB / 313.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.08464, allocations: 148 kB / 313.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.08476, allocations: 159.3 kB / 313.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.0864, allocations: 1.075 MB / 314.4 MB, free: 9.945 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.09917, allocations: 9.958 MB / 324.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.1014, allocations: 1.728 MB / 326.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.1028, allocations: 1.085 MB / 327.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.103, allocations: 69.95 kB / 327.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.1031, allocations: 56.56 kB / 327.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=193): time 5.711e-06/0.1031, allocations: 0 / 327.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=220): time 0.0084/0.1115, allocations: 4.337 MB / 331.7 MB, free: 8.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1115, allocations: 77.41 kB / 331.7 MB, free: 8.184 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.1131, allocations: 1.426 MB / 333.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.1132, allocations: 61.7 kB / 333.2 MB, free: 6.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006776/0.1139, allocations: 1.458 MB / 334.7 MB, free: 5.172 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004649/0.1144, allocations: 0.7629 MB / 335.4 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/0.1148, allocations: 457.1 kB / 335.9 MB, free: 3.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.1149, allocations: 305.1 kB / 336.2 MB, free: 3.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.1153, allocations: 300.7 kB / 336.5 MB, free: 3.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/0.116, allocations: 1.023 MB / 337.5 MB, free: 1.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1715/0.2875, allocations: 1.674 MB / 339.2 MB, free: 51.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.437e-05/0.2876, allocations: 7.438 kB / 339.2 MB, free: 51.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.003799/0.2914, allocations: 1.65 MB / 340.8 MB, free: 51.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.2914, allocations: 15.25 kB / 340.9 MB, free: 51.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.366e-05/0.2915, allocations: 23.56 kB / 340.9 MB, free: 51.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00076/0.2922, allocations: 263.3 kB / 341.1 MB, free: 51.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.2941, allocations: 0.7313 MB / 341.9 MB, free: 51.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.2969, allocations: 3.692 MB / 345.6 MB, free: 49.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.2984, allocations: 92.67 kB / 345.7 MB, free: 49.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.2986, allocations: 90.64 kB / 345.7 MB, free: 49.08 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (307): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,15,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001031/0.2996, allocations: 277.9 kB / 346 MB, free: 48.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004554/0.3001, allocations: 217 kB / 346.2 MB, free: 48.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.302, allocations: 1.423 MB / 347.6 MB, free: 48.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.302, allocations: 23.03 kB / 347.7 MB, free: 48.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.302, allocations: 3.812 kB / 347.7 MB, free: 48.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.302, allocations: 11.53 kB / 347.7 MB, free: 48.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/0.3071, allocations: 3.582 MB / 351.3 MB, free: 48.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3071, allocations: 3.625 kB / 351.3 MB, free: 48.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.3081, allocations: 498 kB / 351.8 MB, free: 48.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007436/0.3088, allocations: 261.2 kB / 352 MB, free: 48.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/0.3093, allocations: 249.4 kB / 352.3 MB, free: 48.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.399e-05/0.3094, allocations: 47.59 kB / 352.3 MB, free: 48.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/0.3121, allocations: 5.186 MB / 357.5 MB, free: 44.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.3121, allocations: 9.5 kB / 357.5 MB, free: 44.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.3141, allocations: 1.831 MB / 359.3 MB, free: 43.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/0.3145, allocations: 41.88 kB / 359.4 MB, free: 43.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.3151, allocations: 69.67 kB / 359.4 MB, free: 43.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.3153, allocations: 158 kB / 359.6 MB, free: 43.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-05/0.3154, allocations: 46.58 kB / 359.6 MB, free: 43.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008284/0.3162, allocations: 0.7018 MB / 360.3 MB, free: 43.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3162, allocations: 0 / 360.3 MB, free: 43.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002237/0.3185, allocations: 0.7002 MB / 361 MB, free: 43.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im,constantTorque.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 (190): * Single equations (assignments): 187 * 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 {(2,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003445/0.3188, allocations: 171.4 kB / 361.2 MB, free: 43.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.3211, allocations: 1.533 MB / 362.7 MB, free: 43.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001065/0.3212, allocations: 42.25 kB / 362.8 MB, free: 43.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.3224, allocations: 1.163 MB / 363.9 MB, free: 42.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.3251, allocations: 4.974 MB / 368.9 MB, free: 37.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/0.3508, allocations: 6.05 MB / 375 MB, free: 34.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.3518, allocations: 0.7513 MB / 375.7 MB, free: 34.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001436/0.3533, allocations: 344.1 kB / 376.1 MB, free: 33.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009468/0.3542, allocations: 0.5472 MB / 376.6 MB, free: 33.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.734e-06/0.3542, allocations: 0 / 376.6 MB, free: 33.3 MB / 330.7 MB Notification: Performance of Templates: time 0.05116/0.4054, allocations: 36.18 MB / 412.8 MB, free: 14.95 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6554374964907765]