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.001852/0.001852, 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.647/1.647, allocations: 177.1 MB / 199.7 MB, free: 5.824 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.002819/0.002819, allocations: 160.5 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.03709/0.03709, allocations: 6.651 MB / 319.4 MB, free: 26.59 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_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 1.793e-06/1.793e-06, allocations: 0 / 390.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.511e-05/3.69e-05, allocations: 2.312 kB / 390.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.02296/0.023, allocations: 14.35 MB / 405.3 MB, free: 4.555 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2193/0.2423, allocations: 5.294 MB / 410.6 MB, free: 68.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00409/0.2464, allocations: 116.9 kB / 410.7 MB, free: 68.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004639/0.251, allocations: 1.219 MB / 411.9 MB, free: 68.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006399/0.2574, allocations: 1.616 MB / 413.5 MB, free: 68.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.2609, allocations: 1.008 MB / 414.5 MB, free: 68.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008517/0.2694, allocations: 4.974 MB / 419.5 MB, free: 67.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004295/0.2737, allocations: 1.916 MB / 421.4 MB, free: 66.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007928/0.2816, allocations: 3.186 MB / 424.6 MB, free: 65.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005002/0.2866, allocations: 2.063 MB / 426.7 MB, free: 64.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002/0.2886, allocations: 0.5692 MB / 427.2 MB, free: 64.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.2917, allocations: 0.7921 MB / 428 MB, free: 64.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001566/0.2933, allocations: 1.322 MB / 429.4 MB, free: 63.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003932/0.2972, allocations: 1.666 MB / 431 MB, free: 62.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008869/0.3061, allocations: 7.622 MB / 438.6 MB, free: 55.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.3061, allocations: 0 / 438.6 MB, free: 55.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3061, allocations: 0 / 438.6 MB, free: 55.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002474/0.3063, allocations: 0 / 438.6 MB, free: 55.81 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.01316/0.3195, allocations: 4.995 MB / 443.6 MB, free: 50.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3195, allocations: 8.031 kB / 443.6 MB, free: 50.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005715/0.3253, allocations: 1.451 MB / 445.1 MB, free: 49.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005789/0.331, allocations: 2.926 MB / 448 MB, free: 46.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.3313, allocations: 275.8 kB / 448.3 MB, free: 46.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.3323, allocations: 372.2 kB / 448.7 MB, free: 45.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009088/0.3414, allocations: 4.926 MB / 453.6 MB, free: 40.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.3415, allocations: 4 kB / 453.6 MB, free: 40.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004923/0.342, allocations: 161.9 kB / 453.7 MB, free: 40.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.3421, allocations: 155.4 kB / 453.9 MB, free: 40.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007093/0.3492, allocations: 4.041 MB / 457.9 MB, free: 36.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02285/0.3721, allocations: 13.56 MB / 471.5 MB, free: 22.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004642/0.3767, allocations: 2.743 MB / 474.2 MB, free: 20.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/0.3799, allocations: 1.821 MB / 476.1 MB, free: 18.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007274/0.3872, allocations: 3.682 MB / 479.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.3872, allocations: 51.88 kB / 479.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 4.008e-06/0.3873, allocations: 0 / 479.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01357/0.4008, allocations: 6.269 MB / 486.1 MB, free: 8.543 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.4009, allocations: 68.72 kB / 486.1 MB, free: 8.465 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003593/0.4045, allocations: 2.006 MB / 488.1 MB, free: 6.418 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002216/0.4047, allocations: 53.7 kB / 488.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.4057, allocations: 1.806 MB / 490 MB, free: 4.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.4062, allocations: 0.5657 MB / 490.6 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006745/0.4069, allocations: 408 kB / 491 MB, free: 3.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.4069, allocations: 309.1 kB / 491.3 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.4082, allocations: 0.8398 MB / 492.1 MB, free: 2.434 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.4097, allocations: 1.626 MB / 493.7 MB, free: 476 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004611/0.4143, allocations: 2.615 MB / 496.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-05/0.4143, allocations: 8 kB / 496.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00687/0.4212, allocations: 3.128 MB / 499.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.4213, allocations: 20.12 kB / 499.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-05/0.4213, allocations: 24 kB / 499.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.4226, allocations: 369.7 kB / 499.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.4247, allocations: 0.5011 MB / 0.4887 GB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0074/0.4321, allocations: 4.982 MB / 0.4935 GB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.4343, allocations: 99.83 kB / 0.4936 GB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000367/0.4347, allocations: 104 kB / 0.4937 GB, free: 4.352 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.002902/0.4376, allocations: 1.137 MB / 0.4948 GB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009058/0.4385, allocations: 278.5 kB / 0.4951 GB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00558/0.4441, allocations: 2.306 MB / 0.4973 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.4441, allocations: 16 kB / 0.4974 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/0.4441, allocations: 8 kB / 0.4974 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.4441, allocations: 7.969 kB / 0.4974 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.4555, allocations: 4.846 MB / 0.5021 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.4555, allocations: 0 / 0.5021 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.4569, allocations: 263.7 kB / 0.5024 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.4582, allocations: 402.8 kB / 0.5027 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/0.4584, allocations: 35.98 kB / 0.5028 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009716/0.4681, allocations: 6.987 MB / 0.5096 GB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4681, allocations: 0 / 0.5096 GB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007709/0.4758, allocations: 3.477 MB / 0.513 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.4773, allocations: 410.7 kB / 0.5134 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006058/0.4779, allocations: 35.75 kB / 0.5134 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.4793, allocations: 63.95 kB / 0.5135 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/0.4797, allocations: 125 kB / 0.5136 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.4798, allocations: 43.98 kB / 0.5136 GB, free: 15.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003075/0.4829, allocations: 1.315 MB / 0.5149 GB, free: 14.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4829, allocations: 4 kB / 0.5149 GB, free: 14.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003343/0.4862, 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.000479/0.4867, allocations: 162 kB / 0.5157 GB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005116/0.4918, allocations: 2.356 MB / 0.518 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4918, allocations: 0 / 0.518 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003/0.4948, allocations: 1.37 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.003057/0.4979, allocations: 0.5043 MB / 0.5198 GB, free: 9.094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/0.5153, allocations: 6.485 MB / 0.5262 GB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003813/0.5191, allocations: 1.986 MB / 0.5281 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002129/0.5212, allocations: 498.5 kB / 0.5286 GB, free: 32 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006604/0.5219, allocations: 152.5 kB / 0.5287 GB, free: 15.88 MB / 394.7 MB Notification: Performance of SimCode: time 2.004e-06/0.5219, allocations: 0 / 0.5287 GB, free: 15.88 MB / 394.7 MB Notification: Performance of Templates: time 0.2222/0.7441, allocations: 29.64 MB / 0.5577 GB, free: 118.8 MB / 394.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.539510216913186]