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.0008006/0.0008006, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005384/0.005384, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.821/1.821, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004676/0.0004676, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.368, allocations: 47.59 MB / 327 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01409/0.3821, allocations: 11.09 MB / 338.1 MB, free: 8.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.3927, allocations: 3.892 MB / 342 MB, free: 4.348 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003378/0.3961, allocations: 51.75 kB / 342.1 MB, free: 4.297 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003341/0.3995, allocations: 0.7421 MB / 342.8 MB, free: 3.551 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005101/0.4046, allocations: 0.8897 MB / 343.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.4062, allocations: 475.5 kB / 344.2 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005787/0.412, allocations: 3.857 MB / 348 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/0.4149, allocations: 2.221 MB / 350.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.4172, allocations: 1.163 MB / 351.4 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.4198, allocations: 1.642 MB / 353 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003426/0.4202, allocations: 179.9 kB / 353.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.4212, allocations: 435.5 kB / 353.6 MB, free: 8.621 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008345/0.4221, allocations: 0.872 MB / 354.5 MB, free: 7.746 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.4239, allocations: 1.552 MB / 356.1 MB, free: 6.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005329/0.4293, allocations: 5.025 MB / 361.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4293, allocations: 0 / 361.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4293, allocations: 0 / 361.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001287/0.4295, allocations: 0 / 361.1 MB, free: 1.137 MB / 286.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.006864/0.4363, allocations: 3.162 MB / 364.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.4364, allocations: 8.031 kB / 364.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.4379, allocations: 440.6 kB / 364.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.4409, allocations: 1.837 MB / 366.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.4411, allocations: 209.3 kB / 366.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000413/0.4416, allocations: 275.9 kB / 367 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006779/0.4484, allocations: 3.537 MB / 370.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.648e-05/0.4485, allocations: 0 / 370.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/0.4487, allocations: 112 kB / 370.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.4489, allocations: 125.2 kB / 370.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005858/0.4548, allocations: 2.995 MB / 373.8 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02183/0.4766, allocations: 11.18 MB / 384.9 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.4801, allocations: 2.299 MB / 387.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.4823, allocations: 1.199 MB / 388.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/0.4827, allocations: 207.5 kB / 388.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.4828, allocations: 43.88 kB / 388.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.439e-06/0.4828, allocations: 0 / 388.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01756/0.5004, allocations: 7.642 MB / 396.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.5005, allocations: 68.72 kB / 396.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/0.5037, allocations: 1.987 MB / 398.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.5038, allocations: 53.64 kB / 398.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.5049, allocations: 1.304 MB / 399.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/0.5053, allocations: 0.5045 MB / 400.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.5056, allocations: 153.6 kB / 400.4 MB, free: 8.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5057, allocations: 301.1 kB / 400.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.5072, allocations: 0.8979 MB / 401.6 MB, free: 7.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.509, allocations: 1.388 MB / 403 MB, free: 6.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/0.5126, allocations: 2.417 MB / 405.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.5126, allocations: 4 kB / 405.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005312/0.5179, allocations: 3.013 MB / 408.4 MB, free: 360 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.518, allocations: 12 kB / 408.4 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.518, allocations: 16 kB / 408.4 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.5192, allocations: 458.5 kB / 408.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.5208, allocations: 443.3 kB / 409.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006541/0.5274, allocations: 5.601 MB / 414.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.5296, allocations: 135.7 kB / 415.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.5298, allocations: 75.98 kB / 415.1 MB, free: 9.359 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.002116/0.5319, allocations: 0.8485 MB / 416 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007117/0.5326, allocations: 209.5 kB / 416.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004902/0.5375, allocations: 2.626 MB / 418.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.023e-05/0.5376, allocations: 16 kB / 418.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.5376, allocations: 4 kB / 418.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.5376, allocations: 7.969 kB / 418.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.5477, allocations: 5.684 MB / 424.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.5478, allocations: 4 kB / 424.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.549, allocations: 300.1 kB / 424.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.5504, allocations: 0.4902 MB / 425.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.5505, allocations: 43.92 kB / 425.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00809/0.5586, allocations: 7.035 MB / 432.4 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-05/0.5587, allocations: 11.88 kB / 432.4 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00751/0.5662, allocations: 3.889 MB / 436.3 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.5676, allocations: 494.2 kB / 436.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.5679, allocations: 32 kB / 436.8 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.569, allocations: 115.9 kB / 436.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/0.5694, allocations: 113.1 kB / 437 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.5695, allocations: 47.92 kB / 437.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002268/0.5718, allocations: 1.363 MB / 438.4 MB, free: 1.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5718, allocations: 0 / 438.4 MB, free: 1.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002493/0.5743, allocations: 0.5859 MB / 439 MB, free: 0.707 MB / 366.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.0006934/0.575, allocations: 215 kB / 439.2 MB, free: 500 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004746/0.5797, allocations: 2.629 MB / 441.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/0.5798, allocations: 7.938 kB / 441.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002763/0.5825, allocations: 1.627 MB / 443.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/0.5862, allocations: 486.7 kB / 444 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.5997, allocations: 6.991 MB / 451 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.6022, allocations: 2.128 MB / 453.1 MB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002101/0.6043, allocations: 469 kB / 453.5 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.6048, allocations: 143.4 kB / 453.7 MB, free: 1.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.923e-06/0.6048, allocations: 4 kB / 453.7 MB, free: 1.836 MB / 382.1 MB Notification: Performance of Templates: time 0.3836/0.9884, allocations: 29.17 MB / 482.9 MB, free: 91.94 MB / 382.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)