Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.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.0009218/0.0009218, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005334/0.006256, 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.9583/0.9583, allocations: 177.2 MB / 188.4 MB, free: 4.402 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2055/1.164, allocations: 53.65 MB / 242 MB, free: 2.609 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.001161/0.001161, allocations: 167.1 kB / 242.9 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002688, allocations: 471.6 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.0267/0.0267, allocations: 6.65 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009954/0.03666, allocations: 2.665 MB / 253.5 MB, free: 7.41 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_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 254.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.949e-05, allocations: 2.312 kB / 254.8 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.0194/0.01943, allocations: 15.86 MB / 270.6 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.03455, allocations: 5.717 MB / 276.3 MB, free: 440 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003988/0.03854, allocations: 111.4 kB / 276.5 MB, free: 328 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003815/0.04235, allocations: 1.271 MB / 277.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.04729, allocations: 1.614 MB / 279.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.04899, allocations: 1.023 MB / 280.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004141/0.05313, allocations: 4.988 MB / 285.3 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.05519, allocations: 1.968 MB / 287.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003667/0.05886, allocations: 3.529 MB / 290.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.0612, allocations: 2.264 MB / 293.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006588/0.06186, allocations: 0.5703 MB / 293.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.06299, allocations: 0.7926 MB / 294.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006809/0.06367, allocations: 1.083 MB / 295.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.06501, allocations: 1.4 MB / 297 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.06838, allocations: 3.738 MB / 300.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-05/0.06839, allocations: 0 / 300.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.06839, allocations: 0 / 300.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.561e-05/0.06848, allocations: 3.938 kB / 300.7 MB, free: 7.895 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.007243/0.07572, allocations: 5.814 MB / 306.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.07576, allocations: 8.031 kB / 306.5 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002899/0.07866, allocations: 1.327 MB / 307.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.08143, allocations: 1.767 MB / 309.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.08157, allocations: 279.8 kB / 309.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/0.08193, allocations: 368.3 kB / 310.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.08507, allocations: 2.774 MB / 313 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.797e-05/0.08513, allocations: 3.938 kB / 313 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.08535, allocations: 148 kB / 313.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.08547, allocations: 155.4 kB / 313.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.08703, allocations: 1.075 MB / 314.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.09805, allocations: 9.97 MB / 324.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.1002, allocations: 1.716 MB / 326.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.1015, allocations: 1.089 MB / 327.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.1016, allocations: 69.95 kB / 327.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.1017, allocations: 64.5 kB / 327.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=193): time 3.717e-06/0.1017, allocations: 0 / 327.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=220): time 0.007128/0.1088, allocations: 4.322 MB / 331.6 MB, free: 8.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1089, allocations: 85.34 kB / 331.7 MB, free: 8.215 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.1101, allocations: 1.426 MB / 333.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.022e-05/0.1102, allocations: 61.7 kB / 333.2 MB, free: 6.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006265/0.1108, allocations: 1.462 MB / 334.7 MB, free: 5.199 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003995/0.1112, allocations: 0.7629 MB / 335.4 MB, free: 4.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004115/0.1116, allocations: 457.1 kB / 335.9 MB, free: 3.977 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.1117, allocations: 305.1 kB / 336.2 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.1121, allocations: 292.8 kB / 336.4 MB, free: 3.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.1128, allocations: 1.023 MB / 337.5 MB, free: 2.023 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.1143, allocations: 1.68 MB / 339.2 MB, free: 24 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.1143, allocations: 4 kB / 339.2 MB, free: 20 kB / 330.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.1923/0.3065, allocations: 1.654 MB / 340.8 MB, free: 50.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.3066, allocations: 14.92 kB / 340.8 MB, free: 50.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/0.3066, allocations: 22.88 kB / 340.8 MB, free: 50.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006642/0.3073, allocations: 257.6 kB / 341.1 MB, free: 50.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.309, allocations: 0.7348 MB / 341.8 MB, free: 50.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003103/0.3121, allocations: 3.686 MB / 345.5 MB, free: 48.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.314, allocations: 96.22 kB / 345.6 MB, free: 48.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.3142, allocations: 94.5 kB / 345.7 MB, free: 48.03 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.001236/0.3155, allocations: 278.1 kB / 346 MB, free: 47.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/0.3158, allocations: 211.4 kB / 346.2 MB, free: 47.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.3177, allocations: 1.428 MB / 347.6 MB, free: 47.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.3177, allocations: 23.42 kB / 347.6 MB, free: 47.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.3177, allocations: 5.562 kB / 347.6 MB, free: 47.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.3177, allocations: 13 kB / 347.7 MB, free: 47.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004809/0.3226, allocations: 3.578 MB / 351.2 MB, free: 47.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3226, allocations: 6.25 kB / 351.2 MB, free: 47.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009625/0.3235, allocations: 485.9 kB / 351.7 MB, free: 47.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004505/0.324, allocations: 266.3 kB / 352 MB, free: 47.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/0.3244, allocations: 251 kB / 352.2 MB, free: 47.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.3245, allocations: 47.73 kB / 352.3 MB, free: 47.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/0.327, allocations: 5.189 MB / 357.5 MB, free: 43.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.327, allocations: 6.031 kB / 357.5 MB, free: 43.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.3293, allocations: 1.83 MB / 359.3 MB, free: 42.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004745/0.3298, allocations: 48.97 kB / 359.3 MB, free: 42.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.3306, allocations: 62.31 kB / 359.4 MB, free: 42.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.3309, allocations: 157.9 kB / 359.5 MB, free: 42.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.3309, allocations: 50.28 kB / 359.6 MB, free: 42.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007944/0.3317, allocations: 0.7075 MB / 360.3 MB, free: 42.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3317, allocations: 0 / 360.3 MB, free: 42.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002166/0.3339, allocations: 0.7005 MB / 361 MB, free: 42.58 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.0004539/0.3343, allocations: 170.4 kB / 361.2 MB, free: 42.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002429/0.3368, allocations: 1.53 MB / 362.7 MB, free: 42.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001091/0.3369, allocations: 47.5 kB / 362.7 MB, free: 42.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.3383, allocations: 1.156 MB / 363.9 MB, free: 41.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/0.3419, allocations: 4.967 MB / 368.9 MB, free: 36.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/0.3687, allocations: 6.052 MB / 374.9 MB, free: 33.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.3698, allocations: 0.7474 MB / 375.7 MB, free: 33.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001748/0.3716, allocations: 342.3 kB / 376 MB, free: 32.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000955/0.3726, allocations: 0.5533 MB / 376.6 MB, free: 32.34 MB / 330.7 MB Notification: Performance of SimCode: time 2.154e-06/0.3726, allocations: 4 kB / 376.6 MB, free: 32.33 MB / 330.7 MB Notification: Performance of Templates: time 0.05333/0.4259, allocations: 36.17 MB / 412.7 MB, free: 13.94 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.519301329739392]