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.001374/0.001374, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.791/1.791, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001453/0.001454, allocations: 47.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3291, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.0178/0.347, allocations: 11.75 MB / 337.1 MB, free: 8.121 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.3591, allocations: 3.965 MB / 341 MB, free: 4.145 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005004/0.3643, allocations: 55.75 kB / 341.1 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004254/0.3685, allocations: 0.85 MB / 341.9 MB, free: 3.234 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006562/0.3751, allocations: 0.9899 MB / 342.9 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.3776, allocations: 0.5227 MB / 343.5 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007777/0.3854, allocations: 3.436 MB / 346.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004242/0.3896, allocations: 2.676 MB / 349.6 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.3938, allocations: 1.53 MB / 351.1 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004912/0.3987, allocations: 1.934 MB / 353 MB, free: 8.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.4001, allocations: 408 kB / 353.4 MB, free: 7.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.4024, allocations: 0.6441 MB / 354.1 MB, free: 7.008 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.4037, allocations: 1.149 MB / 355.2 MB, free: 5.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003132/0.4069, allocations: 1.839 MB / 357.1 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007897/0.4148, allocations: 5.304 MB / 362.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.4148, allocations: 0 / 362.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4148, allocations: 8 kB / 362.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001678/0.415, allocations: 0 / 362.4 MB, free: 14.68 MB / 302.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.01331/0.4283, allocations: 3.695 MB / 366.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.4284, allocations: 23.77 kB / 366.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.4302, allocations: 436.7 kB / 366.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004164/0.4344, allocations: 1.825 MB / 368.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.4347, allocations: 217.3 kB / 368.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006128/0.4353, allocations: 263.9 kB / 368.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.4458, allocations: 3.525 MB / 372.3 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/0.446, allocations: 11.89 kB / 372.3 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004664/0.4465, allocations: 112 kB / 372.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002441/0.4467, allocations: 117.3 kB / 372.6 MB, free: 4.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008405/0.4552, allocations: 2.968 MB / 375.5 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/0.4833, allocations: 11.1 MB / 386.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003852/0.4872, allocations: 2.28 MB / 388.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/0.4898, allocations: 1.18 MB / 390.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004808/0.4903, allocations: 211.4 kB / 390.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.73e-05/0.4905, allocations: 51.81 kB / 390.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 5.821e-06/0.4905, allocations: 0 / 390.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.02042/0.5109, allocations: 7.49 MB / 397.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/0.5111, allocations: 68.72 kB / 397.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006157/0.5172, allocations: 1.971 MB / 399.9 MB, free: 8.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003899/0.5177, allocations: 53.7 kB / 399.9 MB, free: 8.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.5192, allocations: 1.304 MB / 401.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008987/0.5201, allocations: 0.5122 MB / 401.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009581/0.5211, allocations: 323.3 kB / 402.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5213, allocations: 305.1 kB / 402.4 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/0.5233, allocations: 0.8784 MB / 403.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002349/0.5257, allocations: 1.372 MB / 404.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004292/0.53, allocations: 2.382 MB / 407 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/0.5301, allocations: 4 kB / 407 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007377/0.5374, allocations: 2.982 MB / 410 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.5375, allocations: 8 kB / 410 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.527e-05/0.5376, allocations: 16.38 kB / 410 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/0.5391, allocations: 470.2 kB / 410.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/0.5411, allocations: 431.3 kB / 410.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009382/0.5505, allocations: 6.112 MB / 417 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003391/0.5539, allocations: 119.8 kB / 417.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006153/0.5546, allocations: 76 kB / 417.2 MB, free: 6.098 MB / 350.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.003506/0.5581, allocations: 0.8563 MB / 418.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/0.5593, allocations: 217.3 kB / 418.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006822/0.5661, allocations: 2.579 MB / 420.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.007e-05/0.5662, allocations: 16 kB / 420.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/0.5662, allocations: 4 kB / 420.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.5663, allocations: 7.969 kB / 420.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/0.5844, allocations: 5.65 MB / 426.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/0.5845, allocations: 8 kB / 426.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.586, allocations: 279.6 kB / 426.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.5877, allocations: 0.4942 MB / 427.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.5879, allocations: 35.98 kB / 427.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.5984, allocations: 7.675 MB / 435 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.5984, allocations: 11.88 kB / 435 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009165/0.6076, allocations: 3.842 MB / 438.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/0.6096, allocations: 478.4 kB / 439.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008951/0.6106, allocations: 39.94 kB / 439.4 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.6123, allocations: 103.9 kB / 439.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/0.6127, allocations: 113.1 kB / 439.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.6129, allocations: 47.98 kB / 439.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003488/0.6164, allocations: 1.367 MB / 441 MB, free: 13.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.52e-07/0.6164, allocations: 0 / 441 MB, free: 13.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003784/0.6202, allocations: 0.5821 MB / 441.6 MB, free: 12.94 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.0008226/0.621, allocations: 223 kB / 441.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007736/0.6288, allocations: 3.343 MB / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.6288, allocations: 8.188 kB / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003327/0.6322, allocations: 1.611 MB / 446.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/0.636, allocations: 498.4 kB / 447.2 MB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.6497, allocations: 5.684 MB / 452.9 MB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2122/0.8619, allocations: 2.134 MB / 455.1 MB, free: 110.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002426/0.8644, allocations: 472.9 kB / 455.5 MB, free: 110.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/0.865, allocations: 140.3 kB / 455.7 MB, free: 110.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.865, allocations: 0 / 455.7 MB, free: 110.6 MB / 382.1 MB Notification: Performance of Templates: time 0.0526/0.9176, allocations: 30.91 MB / 486.6 MB, free: 88.21 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)