Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00986/0.00986, allocations: 99.73 kB / 15.73 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 197.2 kB / 16.67 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 56.39 kB / 326.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1386, allocations: 46.61 MB / 373.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.3579/0.4965, allocations: 11.75 MB / 384.9 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.51, allocations: 3.982 MB / 388.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004997/0.5152, allocations: 56.59 kB / 389 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005253/0.5205, allocations: 0.8845 MB / 389.8 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007702/0.5282, allocations: 1.023 MB / 390.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.5318, allocations: 0.5219 MB / 391.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009516/0.5414, allocations: 3.452 MB / 394.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008009/0.5494, allocations: 2.67 MB / 397.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005956/0.5554, allocations: 1.546 MB / 399.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006108/0.5616, allocations: 1.932 MB / 401 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002902/0.5645, allocations: 409 kB / 401.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005152/0.5697, allocations: 0.6433 MB / 402 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003578/0.5733, allocations: 1.146 MB / 403.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007849/0.5811, allocations: 1.836 MB / 405 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.5926, allocations: 5.37 MB / 410.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5926, allocations: 0 / 410.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5926, allocations: 1.125 kB / 410.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001993/0.5928, allocations: 4 kB / 410.4 MB, free: 8.414 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01085/0.6037, allocations: 3.71 MB / 414.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.767e-05/0.6038, allocations: 17.45 kB / 414.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.6054, allocations: 430 kB / 414.5 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003822/0.6092, allocations: 1.854 MB / 416.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.6094, allocations: 205.3 kB / 416.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004374/0.6099, allocations: 271.9 kB / 416.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006915/0.6168, allocations: 3.517 MB / 420.4 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.259e-05/0.6169, allocations: 3.938 kB / 420.4 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.6171, allocations: 116 kB / 420.5 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/0.6173, allocations: 125.3 kB / 420.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005504/0.6229, allocations: 2.965 MB / 423.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01964/0.6425, allocations: 10.97 MB / 434.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.6457, allocations: 2.284 MB / 436.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.6477, allocations: 1.183 MB / 438 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003898/0.6481, allocations: 207.5 kB / 438.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/0.6482, allocations: 51.81 kB / 438.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 6.242e-06/0.6482, allocations: 4 kB / 438.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01766/0.6658, allocations: 7.489 MB / 445.8 MB, free: 6.074 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.6659, allocations: 68.72 kB / 445.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004677/0.6706, allocations: 1.979 MB / 447.8 MB, free: 3.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.6708, allocations: 49.7 kB / 447.9 MB, free: 3.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.6721, allocations: 1.308 MB / 449.2 MB, free: 2.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005835/0.6727, allocations: 0.5122 MB / 449.7 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006769/0.6734, allocations: 327.2 kB / 450 MB, free: 1.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6736, allocations: 301.1 kB / 450.3 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.6753, allocations: 0.8862 MB / 451.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.6774, allocations: 1.372 MB / 452.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/0.6813, allocations: 2.382 MB / 454.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/0.6814, allocations: 4 kB / 454.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006359/0.6877, allocations: 2.978 MB / 457.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.6878, allocations: 16.88 kB / 457.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/0.6879, allocations: 16.38 kB / 457.9 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.6891, allocations: 462.2 kB / 458.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.6908, allocations: 427.3 kB / 458.8 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008062/0.6989, allocations: 6.1 MB / 464.9 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/0.7018, allocations: 127.8 kB / 465 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/0.7021, allocations: 68 kB / 465.1 MB, free: 1.887 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (199): * Single equations (assignments): 194 * Array equations: 2 * 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 {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002358/0.7044, allocations: 0.8602 MB / 466 MB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009732/0.7054, allocations: 213.4 kB / 466.2 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005717/0.7111, allocations: 2.576 MB / 468.7 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.242e-05/0.7112, allocations: 23.98 kB / 468.8 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.553e-05/0.7112, allocations: 8 kB / 468.8 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.7113, allocations: 7.969 kB / 468.8 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.7259, allocations: 5.619 MB / 474.4 MB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.7259, allocations: 4 kB / 474.4 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.7272, allocations: 288.1 kB / 474.7 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.7288, allocations: 494.3 kB / 475.2 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.7289, allocations: 39.97 kB / 475.2 MB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.739, allocations: 7.672 MB / 482.9 MB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/0.739, allocations: 7.938 kB / 482.9 MB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008197/0.7472, allocations: 3.839 MB / 486.7 MB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/0.7492, allocations: 482.4 kB / 487.2 MB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/0.7504, allocations: 36 kB / 487.2 MB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/0.7525, allocations: 103.9 kB / 487.3 MB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/0.753, allocations: 117 kB / 487.4 MB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.7531, allocations: 43.98 kB / 487.5 MB, free: 10.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003774/0.7569, allocations: 1.363 MB / 488.9 MB, free: 9.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7569, allocations: 0 / 488.9 MB, free: 9.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003449/0.7604, allocations: 0.5859 MB / 489.4 MB, free: 8.773 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.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 (126): * Single equations (assignments): 121 * Array equations: 2 * 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 {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007873/0.7612, allocations: 218.9 kB / 489.7 MB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00524/0.7664, allocations: 2.612 MB / 492.3 MB, free: 5.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7664, allocations: 448 / 492.3 MB, free: 5.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002989/0.7694, allocations: 1.619 MB / 493.9 MB, free: 4.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/0.7731, allocations: 0.4913 MB / 494.4 MB, free: 3.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.7883, allocations: 5.607 MB / 500 MB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002712/0.7911, allocations: 2.136 MB / 0.4904 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002067/0.7932, allocations: 469 kB / 0.4908 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/0.7937, allocations: 139.4 kB / 0.4909 GB, free: 11.29 MB / 430.1 MB Notification: Performance of SimCode: time 1.283e-06/0.7937, allocations: 0 / 0.4909 GB, free: 11.29 MB / 430.1 MB Notification: Performance of Templates: time 0.06926/0.863, allocations: 31.49 MB / 0.5217 GB, free: 11.74 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)