Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0119/0.0119, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001901/0.001901, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.719/1.719, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.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.001248/0.001248, allocations: 50.55 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1576, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01703/0.1747, allocations: 11.75 MB / 384.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.1875, allocations: 3.975 MB / 388.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004168/0.1918, allocations: 55.75 kB / 389 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004138/0.196, allocations: 0.8618 MB / 389.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006873/0.2029, allocations: 0.9783 MB / 390.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.2054, allocations: 0.5304 MB / 391.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007056/0.2125, allocations: 3.448 MB / 394.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004439/0.217, allocations: 2.669 MB / 397.5 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/0.2216, allocations: 1.53 MB / 399 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004849/0.2265, allocations: 1.938 MB / 400.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001569/0.2281, allocations: 408 kB / 401.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.2303, allocations: 0.6441 MB / 402 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001529/0.2319, allocations: 1.145 MB / 403.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004334/0.2362, allocations: 1.835 MB / 404.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009564/0.2458, allocations: 5.374 MB / 410.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.2459, allocations: 4 kB / 410.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.047e-06/0.2459, allocations: 0 / 410.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002704/0.2462, allocations: 0 / 410.3 MB, free: 11.95 MB / 350.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.01398/0.2602, allocations: 3.707 MB / 414 MB, free: 8.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.721e-05/0.2603, allocations: 19.88 kB / 414 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.2624, allocations: 428.7 kB / 414.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004806/0.2673, allocations: 1.856 MB / 416.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.2676, allocations: 205.4 kB / 416.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009226/0.2685, allocations: 267.9 kB / 416.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.2801, allocations: 3.517 MB / 420.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001889/0.2803, allocations: 11.92 kB / 420.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007871/0.2811, allocations: 112 kB / 420.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002433/0.2814, allocations: 125.2 kB / 420.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009481/0.2909, allocations: 2.964 MB / 423.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0324/0.3234, allocations: 10.96 MB / 434.5 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/0.3273, allocations: 2.276 MB / 436.7 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002367/0.3297, allocations: 1.191 MB / 437.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/0.3302, allocations: 203.5 kB / 438.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/0.3303, allocations: 51.88 kB / 438.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 5.61e-06/0.3303, allocations: 4 kB / 438.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01916/0.3495, allocations: 7.486 MB / 445.7 MB, free: 7.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.3496, allocations: 68.72 kB / 445.7 MB, free: 7.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/0.354, allocations: 1.979 MB / 447.7 MB, free: 5.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002378/0.3542, allocations: 49.7 kB / 447.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.3557, allocations: 1.308 MB / 449.1 MB, free: 4.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/0.3564, allocations: 0.5045 MB / 449.6 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006927/0.3571, allocations: 327.2 kB / 449.9 MB, free: 3.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3572, allocations: 309 kB / 450.2 MB, free: 3.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.3589, allocations: 0.8823 MB / 451.1 MB, free: 2.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.3608, allocations: 1.372 MB / 452.5 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3469/0.7077, allocations: 2.375 MB / 454.8 MB, free: 68.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.587e-05/0.7078, allocations: 9.375 kB / 454.8 MB, free: 68.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007231/0.715, allocations: 2.973 MB / 457.8 MB, free: 67.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.794e-05/0.7151, allocations: 12 kB / 457.8 MB, free: 67.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.227e-05/0.7152, allocations: 15.22 kB / 457.8 MB, free: 67.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.7167, allocations: 462.8 kB / 458.3 MB, free: 67.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.7186, allocations: 426 kB / 458.7 MB, free: 67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007985/0.7266, allocations: 6.116 MB / 464.8 MB, free: 62.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.7293, allocations: 120.8 kB / 464.9 MB, free: 62.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/0.7296, allocations: 80.67 kB / 465 MB, free: 62.69 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.002405/0.732, allocations: 0.855 MB / 465.9 MB, free: 62.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000739/0.7327, allocations: 207.4 kB / 466.1 MB, free: 62.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004982/0.7377, allocations: 2.586 MB / 468.7 MB, free: 61.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.569e-05/0.7378, allocations: 18.38 kB / 468.7 MB, free: 61.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.7379, allocations: 4.312 kB / 468.7 MB, free: 61.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.7379, allocations: 7.734 kB / 468.7 MB, free: 61.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.7495, allocations: 5.613 MB / 474.3 MB, free: 58.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.7496, allocations: 3.969 kB / 474.3 MB, free: 58.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.7507, allocations: 280.8 kB / 474.6 MB, free: 58.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.752, allocations: 0.5004 MB / 475.1 MB, free: 58.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.733e-05/0.7521, allocations: 40.62 kB / 475.1 MB, free: 58.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007206/0.7593, allocations: 7.67 MB / 482.8 MB, free: 52.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-05/0.7593, allocations: 11.16 kB / 482.8 MB, free: 52.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006495/0.7658, allocations: 3.835 MB / 486.6 MB, free: 49.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/0.7673, allocations: 482.4 kB / 487.1 MB, free: 48.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/0.7676, allocations: 35.94 kB / 487.2 MB, free: 48.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.7688, allocations: 103.7 kB / 487.3 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/0.7691, allocations: 125 kB / 487.4 MB, free: 48.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.552e-05/0.7692, allocations: 43.98 kB / 487.4 MB, free: 48.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001914/0.7711, allocations: 1.359 MB / 488.8 MB, free: 46.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7711, allocations: 0 / 488.8 MB, free: 46.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002657/0.7738, allocations: 0.58 MB / 489.4 MB, free: 46.27 MB / 382.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.000538/0.7743, allocations: 223.1 kB / 489.6 MB, free: 46.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004237/0.7786, allocations: 2.617 MB / 492.2 MB, free: 43.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.7786, allocations: 8 kB / 492.2 MB, free: 43.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.781, allocations: 1.605 MB / 493.8 MB, free: 41.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.7838, allocations: 497 kB / 494.3 MB, free: 41.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.7949, allocations: 5.615 MB / 499.9 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/0.7965, allocations: 2.139 MB / 0.4903 GB, free: 33.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001959/0.7985, allocations: 465 kB / 0.4907 GB, free: 33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008082/0.7993, allocations: 139.4 kB / 0.4909 GB, free: 32.87 MB / 382.1 MB Notification: Performance of SimCode: time 3.046e-06/0.7993, allocations: 4 kB / 0.4909 GB, free: 32.86 MB / 382.1 MB Notification: Performance of Templates: time 0.0667/0.8661, allocations: 31.47 MB / 0.5216 GB, free: 1.363 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)