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.001649/0.001649, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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 1.526/1.526, allocations: 177.1 MB / 199.7 MB, free: 5.828 MB / 186.7 MB " [Timeout remaining time 178] 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.001771/0.001771, allocations: 156.6 kB / 256.3 MB, free: 13.18 MB / 250.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.03703/0.03703, allocations: 6.647 MB / 319.4 MB, free: 26.61 MB / 266.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 2.936e-06/2.936e-06, allocations: 0 / 390.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.881e-05/4.175e-05, allocations: 2.312 kB / 390.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.02713/0.02718, allocations: 14.36 MB / 405.3 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1975/0.2247, allocations: 5.29 MB / 410.6 MB, free: 68.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004342/0.229, allocations: 116.4 kB / 410.7 MB, free: 68.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005107/0.2341, allocations: 1.222 MB / 411.9 MB, free: 68.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007187/0.2413, allocations: 1.621 MB / 413.5 MB, free: 68.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.2448, allocations: 1.009 MB / 414.6 MB, free: 68.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008027/0.2528, allocations: 4.977 MB / 419.5 MB, free: 67.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003496/0.2563, allocations: 1.914 MB / 421.4 MB, free: 66.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008269/0.2646, allocations: 3.184 MB / 424.6 MB, free: 65.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005784/0.2704, allocations: 2.063 MB / 426.7 MB, free: 64.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002305/0.2727, allocations: 0.5681 MB / 427.3 MB, free: 64.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003926/0.2766, allocations: 0.7933 MB / 428.1 MB, free: 64.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002/0.2786, allocations: 1.321 MB / 429.4 MB, free: 63.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004204/0.2828, allocations: 1.666 MB / 431 MB, free: 62.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00902/0.2918, allocations: 7.621 MB / 438.7 MB, free: 55.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2919, allocations: 0 / 438.7 MB, free: 55.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2919, allocations: 0 / 438.7 MB, free: 55.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000235/0.2921, allocations: 0 / 438.7 MB, free: 55.82 MB / 330.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.01339/0.3055, allocations: 5 MB / 443.7 MB, free: 50.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.3055, allocations: 8.031 kB / 443.7 MB, free: 50.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006034/0.3116, allocations: 1.448 MB / 445.1 MB, free: 49.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005935/0.3175, allocations: 2.923 MB / 448 MB, free: 46.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.3177, allocations: 277.5 kB / 448.3 MB, free: 46.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007988/0.3185, allocations: 370.8 kB / 448.7 MB, free: 45.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00833/0.3268, allocations: 4.936 MB / 453.6 MB, free: 40.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-05/0.3269, allocations: 3.281 kB / 453.6 MB, free: 40.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/0.3272, allocations: 151.9 kB / 453.8 MB, free: 40.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.3274, allocations: 159.3 kB / 453.9 MB, free: 40.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006344/0.3337, allocations: 4.037 MB / 458 MB, free: 36.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02137/0.3551, allocations: 13.56 MB / 471.5 MB, free: 22.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004224/0.3593, allocations: 2.742 MB / 474.3 MB, free: 20.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003003/0.3623, allocations: 1.82 MB / 476.1 MB, free: 18.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007277/0.3696, allocations: 3.694 MB / 479.8 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.225e-05/0.3696, allocations: 55.86 kB / 479.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 5.029e-06/0.3696, allocations: 0 / 479.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01383/0.3835, allocations: 6.263 MB / 486.1 MB, free: 8.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.3835, allocations: 68.72 kB / 486.2 MB, free: 8.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/0.387, allocations: 2.012 MB / 488.2 MB, free: 6.418 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002294/0.3872, allocations: 56.89 kB / 488.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009243/0.3882, allocations: 1.803 MB / 490 MB, free: 4.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005384/0.3887, allocations: 0.5642 MB / 490.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006383/0.3893, allocations: 412 kB / 491 MB, free: 3.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.3894, allocations: 309.1 kB / 491.3 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.3907, allocations: 0.836 MB / 492.1 MB, free: 2.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.3923, allocations: 1.62 MB / 493.8 MB, free: 480 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004467/0.3967, allocations: 2.618 MB / 496.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.055e-05/0.3968, allocations: 8 kB / 496.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.007442/0.4042, allocations: 3.134 MB / 499.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.4043, allocations: 16 kB / 499.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.398e-05/0.4044, allocations: 24 kB / 499.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.4058, allocations: 372.7 kB / 499.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.408, allocations: 0.4939 MB / 0.4887 GB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007567/0.4156, allocations: 4.98 MB / 0.4935 GB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.4181, allocations: 103.8 kB / 0.4936 GB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004923/0.4186, allocations: 108 kB / 0.4937 GB, free: 4.348 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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 (261): * Single equations (assignments): 258 * 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,13,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003726/0.4223, allocations: 1.133 MB / 0.4949 GB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/0.4233, allocations: 282.5 kB / 0.4951 GB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005835/0.4292, allocations: 2.304 MB / 0.4974 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.4292, allocations: 12 kB / 0.4974 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.923e-05/0.4292, allocations: 8 kB / 0.4974 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.4292, allocations: 7.969 kB / 0.4974 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.4432, allocations: 4.846 MB / 0.5021 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.4432, allocations: 0 / 0.5021 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.4448, allocations: 275.8 kB / 0.5024 GB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.4463, allocations: 398.6 kB / 0.5028 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002793/0.4466, allocations: 39.92 kB / 0.5028 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.4576, allocations: 6.978 MB / 0.5096 GB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4576, allocations: 0 / 0.5096 GB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007884/0.4654, allocations: 3.479 MB / 0.513 GB, free: 196 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/0.4672, allocations: 410.9 kB / 0.5134 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007798/0.468, allocations: 35.92 kB / 0.5134 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/0.4696, allocations: 59.97 kB / 0.5135 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004729/0.4701, allocations: 125.2 kB / 0.5136 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/0.4703, allocations: 51.98 kB / 0.5137 GB, free: 15.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003884/0.4742, allocations: 1.315 MB / 0.515 GB, free: 14.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4742, allocations: 0 / 0.515 GB, free: 14.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00398/0.4782, allocations: 0.6523 MB / 0.5156 GB, free: 13.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (130): * Single equations (assignments): 127 * 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.0005993/0.4788, allocations: 169.5 kB / 0.5158 GB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005575/0.4843, allocations: 2.348 MB / 0.5181 GB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.4843, allocations: 0 / 0.5181 GB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002943/0.4873, allocations: 1.366 MB / 0.5194 GB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003816/0.4911, allocations: 0.5011 MB / 0.5199 GB, free: 9.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/0.5086, allocations: 6.489 MB / 0.5262 GB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004141/0.5127, allocations: 1.982 MB / 0.5281 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002644/0.5154, allocations: 498.5 kB / 0.5286 GB, free: 36 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000663/0.516, allocations: 156.4 kB / 0.5288 GB, free: 15.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.983e-06/0.516, allocations: 4 kB / 0.5288 GB, free: 15.88 MB / 394.7 MB Notification: Performance of Templates: time 0.2147/0.7307, allocations: 29.65 MB / 0.5577 GB, free: 118.7 MB / 394.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.444468868081458]