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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 246.2 MB, free: 13.57 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 189.8 kB / 301.4 MB, free: 9.078 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04018/0.04018, allocations: 8.935 MB / 365.5 MB, free: 9.215 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2999,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2999,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 83.08 kB / 489.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.144, allocations: 54.41 MB / 0.531 GB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.01981/0.1639, allocations: 15.92 MB / 0.5466 GB, free: 14.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.1766, allocations: 5.305 MB / 0.5518 GB, free: 9.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/0.1806, allocations: 91.69 kB / 0.5519 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005068/0.1857, allocations: 1.258 MB / 0.5531 GB, free: 7.992 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/SMEE_Synchronization1.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.007547/0.1932, allocations: 1.595 MB / 0.5546 GB, free: 6.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.1977, allocations: 0.9879 MB / 0.5556 GB, free: 5.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01055/0.2083, allocations: 4.689 MB / 0.5602 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006649/0.2149, allocations: 1.987 MB / 0.5621 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005414/0.2204, allocations: 2.118 MB / 0.5642 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006026/0.2264, allocations: 2.471 MB / 0.5666 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00263/0.229, allocations: 0.5742 MB / 0.5672 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003655/0.2327, allocations: 0.781 MB / 0.5679 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002954/0.2356, allocations: 1.297 MB / 0.5692 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006297/0.2419, allocations: 2.454 MB / 0.5716 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.2555, allocations: 7.517 MB / 0.5789 GB, free: 13.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.2555, allocations: 0 / 0.5789 GB, free: 13.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2555, allocations: 0 / 0.5789 GB, free: 13.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002959/0.2558, allocations: 3.938 kB / 0.5789 GB, free: 13.37 MB / 398.1 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.01963/0.2755, allocations: 5.086 MB / 0.5839 GB, free: 8.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.826e-05/0.2755, allocations: 8.031 kB / 0.5839 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007399/0.2829, allocations: 0.9741 MB / 0.5849 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009289/0.2922, allocations: 2.846 MB / 0.5877 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004224/0.2927, allocations: 275.8 kB / 0.5879 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/0.2943, allocations: 368.1 kB / 0.5883 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01471/0.3091, allocations: 4.776 MB / 0.5929 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002421/0.3093, allocations: 0 / 0.5929 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001781/0.3111, allocations: 148 kB / 0.5931 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002924/0.3114, allocations: 163.3 kB / 0.5932 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.3229, allocations: 4.042 MB / 0.5972 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03462/0.3575, allocations: 15.61 MB / 0.6124 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008072/0.3655, allocations: 6.781 MB / 0.619 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/0.3685, allocations: 1.383 MB / 0.6204 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009508/0.378, allocations: 4.153 MB / 0.6244 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.999e-05/0.3781, allocations: 51.88 kB / 0.6245 GB, free: 13.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=137): time 4.658e-06/0.3781, allocations: 0 / 0.6245 GB, free: 13.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.01526/0.3934, allocations: 6.422 MB / 0.6308 GB, free: 6.465 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.3934, allocations: 68.72 kB / 0.6308 GB, free: 6.387 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004988/0.3984, allocations: 2.195 MB / 0.633 GB, free: 4.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.3987, allocations: 49.7 kB / 0.633 GB, free: 4.105 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.4003, allocations: 1.779 MB / 0.6348 GB, free: 2.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007139/0.4011, allocations: 0.5771 MB / 0.6353 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008871/0.4019, allocations: 408 kB / 0.6357 GB, free: 1.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4021, allocations: 309 kB / 0.636 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.4038, allocations: 0.8281 MB / 0.6368 GB, free: 188 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.4064, allocations: 1.582 MB / 0.6384 GB, free: 14.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/0.4107, allocations: 2.588 MB / 0.6409 GB, free: 11.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.777e-05/0.4107, allocations: 8 kB / 0.6409 GB, free: 11.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006692/0.4174, allocations: 3.034 MB / 0.6439 GB, free: 8.238 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/0.4174, allocations: 26.27 kB / 0.6439 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.14e-05/0.4175, allocations: 24 kB / 0.6439 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.4185, allocations: 290.7 kB / 0.6442 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/0.4205, allocations: 0.5031 MB / 0.6447 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/0.4267, allocations: 4.87 MB / 0.6494 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/0.4293, allocations: 103.8 kB / 0.6495 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004384/0.4297, allocations: 99.98 kB / 0.6496 GB, free: 2.047 MB / 462.1 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 (264): * Single equations (assignments): 261 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003271/0.433, allocations: 1.13 MB / 0.6507 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009555/0.4339, allocations: 250.4 kB / 0.651 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3182/0.7521, allocations: 2.388 MB / 0.6533 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.7521, allocations: 15.47 kB / 0.6533 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.7521, allocations: 4.719 kB / 0.6533 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.7521, allocations: 9.609 kB / 0.6533 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.7635, allocations: 5.678 MB / 0.6589 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/0.7635, allocations: 4.891 kB / 0.6589 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.7647, allocations: 274.3 kB / 0.6591 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009146/0.7656, allocations: 320.9 kB / 0.6594 GB, free: 103.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.7658, allocations: 35.88 kB / 0.6595 GB, free: 103.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005613/0.7714, allocations: 7.022 MB / 0.6663 GB, free: 97.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7714, allocations: 3.938 kB / 0.6663 GB, free: 97.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/0.7761, allocations: 3.493 MB / 0.6697 GB, free: 96.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.7772, allocations: 0.5004 MB / 0.6702 GB, free: 95.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.7775, allocations: 31.75 kB / 0.6703 GB, free: 95.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.7785, allocations: 62.97 kB / 0.6703 GB, free: 95.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/0.7788, allocations: 124.3 kB / 0.6704 GB, free: 95.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/0.7789, allocations: 43.39 kB / 0.6705 GB, free: 95.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002111/0.781, allocations: 1.476 MB / 0.6719 GB, free: 95.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.781, allocations: 0 / 0.6719 GB, free: 95.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002442/0.7835, allocations: 0.65 MB / 0.6726 GB, free: 95.12 MB / 462.1 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 (133): * Single equations (assignments): 130 * 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,5,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.0003295/0.7838, allocations: 164.3 kB / 0.6727 GB, free: 95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003469/0.7873, allocations: 2.365 MB / 0.675 GB, free: 93.92 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7873, allocations: 3.906 kB / 0.675 GB, free: 93.92 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.789, allocations: 1.334 MB / 0.6763 GB, free: 93.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/0.7918, allocations: 0.5659 MB / 0.6769 GB, free: 93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.8042, allocations: 6.589 MB / 0.6833 GB, free: 88.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002311/0.8065, allocations: 2.519 MB / 0.6858 GB, free: 86.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002023/0.8085, allocations: 0.5157 MB / 0.6863 GB, free: 85.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.8089, allocations: 159.3 kB / 0.6864 GB, free: 85.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.603e-06/0.8089, allocations: 4 kB / 0.6864 GB, free: 85.69 MB / 462.1 MB Notification: Performance of Templates: time 0.05086/0.8598, allocations: 31.65 MB / 0.7174 GB, free: 54.43 MB / 462.1 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.650456145405769]