Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.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.00135/0.00135, 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.509/1.509, 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.00186/0.00186, allocations: 156.7 kB / 256.3 MB, free: 13.19 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.03652/0.03652, allocations: 6.657 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_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 390.9 MB, free: 2.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.075e-05, allocations: 2.312 kB / 390.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.02225/0.02228, allocations: 14.36 MB / 405.3 MB, free: 4.523 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1952/0.2175, allocations: 5.292 MB / 410.6 MB, free: 69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003738/0.2212, allocations: 116.1 kB / 410.7 MB, free: 69 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004893/0.2261, allocations: 1.222 MB / 411.9 MB, free: 68.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006959/0.233, allocations: 1.617 MB / 413.6 MB, free: 68.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.2371, allocations: 1.008 MB / 414.6 MB, free: 68.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01014/0.2472, allocations: 4.979 MB / 419.5 MB, free: 67.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005636/0.2529, allocations: 1.912 MB / 421.5 MB, free: 66.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009521/0.2624, allocations: 3.186 MB / 424.6 MB, free: 65.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005592/0.268, allocations: 2.067 MB / 426.7 MB, free: 64.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002334/0.2703, allocations: 0.5699 MB / 427.3 MB, free: 64.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.2743, allocations: 0.7861 MB / 428.1 MB, free: 64.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002562/0.2768, allocations: 1.325 MB / 429.4 MB, free: 63.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005657/0.2825, allocations: 1.669 MB / 431.1 MB, free: 62.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.2942, allocations: 7.61 MB / 438.7 MB, free: 55.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.2942, allocations: 4 kB / 438.7 MB, free: 55.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.2942, allocations: 0 / 438.7 MB, free: 55.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002994/0.2945, allocations: 0 / 438.7 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.01538/0.3099, allocations: 4.999 MB / 443.7 MB, free: 50.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.31, allocations: 12.03 kB / 443.7 MB, free: 50.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005679/0.3156, allocations: 1.453 MB / 445.1 MB, free: 49.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006146/0.3218, allocations: 2.917 MB / 448 MB, free: 46.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.322, allocations: 274 kB / 448.3 MB, free: 46.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.3231, allocations: 375.1 kB / 448.7 MB, free: 45.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009954/0.3331, allocations: 4.923 MB / 453.6 MB, free: 40.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.57e-05/0.3332, allocations: 8.5 kB / 453.6 MB, free: 40.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000435/0.3336, allocations: 158 kB / 453.8 MB, free: 40.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.3337, allocations: 151.4 kB / 453.9 MB, free: 40.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007798/0.3415, allocations: 4.049 MB / 458 MB, free: 36.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02288/0.3644, allocations: 13.55 MB / 471.5 MB, free: 22.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/0.3686, allocations: 2.752 MB / 474.3 MB, free: 20.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.3715, allocations: 1.813 MB / 476.1 MB, free: 18.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006469/0.378, allocations: 3.692 MB / 479.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.378, allocations: 47.88 kB / 479.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 3.316e-06/0.3781, allocations: 0 / 479.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01194/0.39, allocations: 6.268 MB / 486.1 MB, free: 8.543 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.39, allocations: 68.72 kB / 486.2 MB, free: 8.465 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.3928, allocations: 2.006 MB / 488.2 MB, free: 6.418 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001841/0.393, allocations: 53.7 kB / 488.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008298/0.3938, allocations: 1.801 MB / 490 MB, free: 4.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.3942, allocations: 0.5661 MB / 490.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005692/0.3948, allocations: 412 kB / 491 MB, free: 3.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.227e-05/0.3949, allocations: 309 kB / 491.3 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.396, allocations: 0.8438 MB / 492.1 MB, free: 2.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.3975, allocations: 1.627 MB / 493.8 MB, free: 468 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004311/0.4018, allocations: 2.617 MB / 496.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-05/0.4019, allocations: 8 kB / 496.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006881/0.4087, allocations: 3.123 MB / 499.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.4088, allocations: 20.22 kB / 499.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.924e-05/0.4088, allocations: 24 kB / 499.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.41, allocations: 370.3 kB / 499.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.412, allocations: 0.4992 MB / 0.4887 GB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007244/0.4193, allocations: 4.986 MB / 0.4936 GB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/0.4218, allocations: 103.9 kB / 0.4937 GB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003685/0.4222, allocations: 104 kB / 0.4937 GB, free: 4.332 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.003124/0.4253, allocations: 1.133 MB / 0.4949 GB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009522/0.4262, allocations: 282.5 kB / 0.4951 GB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005565/0.4318, allocations: 2.3 MB / 0.4974 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/0.4318, allocations: 20 kB / 0.4974 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/0.4318, allocations: 4 kB / 0.4974 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/0.4319, allocations: 7.969 kB / 0.4974 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.4446, allocations: 4.843 MB / 0.5021 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.4446, allocations: 4 kB / 0.5021 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.4459, allocations: 263.7 kB / 0.5024 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.4472, allocations: 394.3 kB / 0.5028 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/0.4474, allocations: 39.98 kB / 0.5028 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009356/0.4567, allocations: 6.982 MB / 0.5096 GB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.4567, allocations: 0 / 0.5096 GB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007833/0.4645, allocations: 3.478 MB / 0.513 GB, free: 192 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/0.4663, allocations: 412.5 kB / 0.5134 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008297/0.4672, allocations: 35.94 kB / 0.5134 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.4688, allocations: 71.89 kB / 0.5135 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004231/0.4692, allocations: 113.1 kB / 0.5136 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/0.4694, allocations: 47.98 kB / 0.5137 GB, free: 15.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003348/0.4727, allocations: 1.319 MB / 0.515 GB, free: 14.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4727, allocations: 0 / 0.515 GB, free: 14.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003817/0.4766, allocations: 0.6562 MB / 0.5156 GB, free: 13.53 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.0005935/0.4771, allocations: 161.7 kB / 0.5157 GB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005272/0.4824, allocations: 2.355 MB / 0.518 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.4824, allocations: 0 / 0.518 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003254/0.4857, allocations: 1.371 MB / 0.5194 GB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/0.4891, allocations: 0.4986 MB / 0.5199 GB, free: 9.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.5039, allocations: 6.492 MB / 0.5262 GB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003783/0.5077, allocations: 1.982 MB / 0.5281 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002059/0.5097, allocations: 0.4907 MB / 0.5286 GB, free: 16 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/0.5103, allocations: 152.5 kB / 0.5288 GB, free: 15.87 MB / 394.7 MB Notification: Performance of SimCode: time 1.663e-06/0.5103, allocations: 0 / 0.5288 GB, free: 15.87 MB / 394.7 MB Notification: Performance of Templates: time 0.2198/0.7301, allocations: 29.64 MB / 0.5577 GB, free: 118.7 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.765860015992075]