Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.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.0007335/0.0007335, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009252/0.001659, 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.9775/0.9775, allocations: 177.2 MB / 188.4 MB, free: 4.391 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2399/1.217, allocations: 53.65 MB / 242 MB, free: 2.605 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.00126/0.00126, allocations: 153.8 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002782, allocations: 474.8 kB / 243.4 MB, free: 1.27 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.02398/0.02398, allocations: 6.655 MB / 250.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005736/0.02972, allocations: 2.665 MB / 253.5 MB, free: 7.402 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_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 254.8 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.771e-05, allocations: 14.19 kB / 254.8 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.01338/0.01341, allocations: 15.86 MB / 270.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.02381, allocations: 5.713 MB / 276.4 MB, free: 404 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.02568, allocations: 119.4 kB / 276.5 MB, free: 284 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.02785, allocations: 1.271 MB / 277.8 MB, free: 15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.03051, allocations: 1.611 MB / 279.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.03194, allocations: 1.017 MB / 280.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003626/0.03556, allocations: 4.99 MB / 285.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003456/0.03902, allocations: 1.968 MB / 287.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008339/0.04736, allocations: 3.529 MB / 290.9 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005727/0.05309, allocations: 2.272 MB / 293.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003584/0.05667, allocations: 0.5664 MB / 293.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004501/0.06117, allocations: 0.7925 MB / 294.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.06332, allocations: 1.087 MB / 295.6 MB, free: 13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00468/0.068, allocations: 1.396 MB / 297 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007178/0.07518, allocations: 3.73 MB / 300.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.366e-05/0.0752, allocations: 0 / 300.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.0752, allocations: 4 kB / 300.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002148/0.07542, allocations: 0 / 300.7 MB, free: 7.859 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.01036/0.08578, allocations: 5.818 MB / 306.5 MB, free: 1.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.08584, allocations: 8.031 kB / 306.5 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/0.0896, allocations: 1.331 MB / 307.9 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004212/0.09381, allocations: 1.764 MB / 309.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.09399, allocations: 283.8 kB / 309.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004936/0.09448, allocations: 364.3 kB / 310.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/0.09836, allocations: 2.774 MB / 313 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.356e-05/0.09843, allocations: 11.88 kB / 313.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.09867, allocations: 152 kB / 313.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.09881, allocations: 155.4 kB / 313.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.1007, allocations: 1.072 MB / 314.4 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.116, allocations: 9.962 MB / 324.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.1181, allocations: 1.722 MB / 326.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.1195, allocations: 1.092 MB / 327.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.1197, allocations: 69.95 kB / 327.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.1197, allocations: 56.56 kB / 327.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=193): time 4.158e-06/0.1197, allocations: 0 / 327.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=220): time 0.009095/0.1288, allocations: 4.333 MB / 331.7 MB, free: 8.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.1289, allocations: 77.41 kB / 331.7 MB, free: 8.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.1305, allocations: 1.43 MB / 333.2 MB, free: 6.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.1306, allocations: 65.69 kB / 333.2 MB, free: 6.629 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007267/0.1313, allocations: 1.454 MB / 334.7 MB, free: 5.156 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005608/0.1319, allocations: 0.7629 MB / 335.5 MB, free: 4.387 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/0.1323, allocations: 457.1 kB / 335.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.1324, allocations: 305.1 kB / 336.2 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.1329, allocations: 292.8 kB / 336.5 MB, free: 3.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.1339, allocations: 1.023 MB / 337.5 MB, free: 1.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1721/0.306, allocations: 1.68 MB / 339.2 MB, free: 51.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.737e-05/0.306, allocations: 5.656 kB / 339.2 MB, free: 51.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.004037/0.3101, allocations: 1.651 MB / 340.8 MB, free: 51.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.3101, allocations: 14.34 kB / 340.9 MB, free: 51.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.2e-05/0.3101, allocations: 23.42 kB / 340.9 MB, free: 51.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007548/0.3109, allocations: 265.6 kB / 341.1 MB, free: 51.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/0.3128, allocations: 0.7328 MB / 341.9 MB, free: 51.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.3159, allocations: 3.676 MB / 345.5 MB, free: 49.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.3173, allocations: 100.4 kB / 345.6 MB, free: 49.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.3175, allocations: 88.94 kB / 345.7 MB, free: 49.04 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.0009173/0.3184, allocations: 279.8 kB / 346 MB, free: 48.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.3187, allocations: 216.5 kB / 346.2 MB, free: 48.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.3207, allocations: 1.425 MB / 347.6 MB, free: 48.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3207, allocations: 19.98 kB / 347.7 MB, free: 48.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.3207, allocations: 6.719 kB / 347.7 MB, free: 48.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.3207, allocations: 11.02 kB / 347.7 MB, free: 48.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005123/0.3258, allocations: 3.586 MB / 351.3 MB, free: 48.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.3258, allocations: 5.969 kB / 351.3 MB, free: 48.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.3269, allocations: 488.1 kB / 351.7 MB, free: 48.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006532/0.3275, allocations: 263.3 kB / 352 MB, free: 48.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/0.328, allocations: 254 kB / 352.3 MB, free: 48.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/0.3281, allocations: 51.45 kB / 352.3 MB, free: 48.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.3309, allocations: 5.187 MB / 357.5 MB, free: 44.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.3309, allocations: 9.75 kB / 357.5 MB, free: 44.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.3329, allocations: 1.823 MB / 359.3 MB, free: 43.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/0.3332, allocations: 47.19 kB / 359.4 MB, free: 43.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.3337, allocations: 62.88 kB / 359.4 MB, free: 43.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.334, allocations: 161.3 kB / 359.6 MB, free: 43.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.334, allocations: 44.27 kB / 359.6 MB, free: 43.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008142/0.3349, allocations: 0.7075 MB / 360.3 MB, free: 43.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3349, allocations: 0 / 360.3 MB, free: 43.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002073/0.3369, allocations: 0.7022 MB / 361 MB, free: 43.59 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.000374/0.3373, allocations: 168.6 kB / 361.2 MB, free: 43.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002252/0.3396, allocations: 1.534 MB / 362.7 MB, free: 43.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.543e-05/0.3396, allocations: 52.02 kB / 362.8 MB, free: 43.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.341, allocations: 1.15 MB / 363.9 MB, free: 42.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/0.3438, allocations: 4.978 MB / 368.9 MB, free: 37.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02477/0.3686, allocations: 6.043 MB / 375 MB, free: 34.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009896/0.3696, allocations: 0.7525 MB / 375.7 MB, free: 34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001264/0.3709, allocations: 337.8 kB / 376 MB, free: 33.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008872/0.3718, allocations: 0.5488 MB / 376.6 MB, free: 33.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3718, allocations: 4 kB / 376.6 MB, free: 33.27 MB / 330.7 MB Notification: Performance of Templates: time 0.05104/0.4228, allocations: 36.18 MB / 412.8 MB, free: 14.91 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7311623049899936]