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.001223/0.001223, allocations: 95 kB / 15.05 MB, free: 1.109 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.001386/0.001386, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.0005177/0.0005181, allocations: 10.81 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3693, allocations: 47.59 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01221/0.3816, allocations: 9.534 MB / 336 MB, free: 9.914 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3921, allocations: 3.864 MB / 339.9 MB, free: 6.043 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.3956, allocations: 51.75 kB / 339.9 MB, free: 5.992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003691/0.3993, allocations: 0.692 MB / 340.6 MB, free: 5.297 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00583/0.4052, allocations: 0.849 MB / 341.5 MB, free: 4.445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.4074, allocations: 351.4 kB / 341.8 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006932/0.4143, allocations: 2.227 MB / 344 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003267/0.4177, allocations: 1.797 MB / 345.8 MB, free: 40 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/0.4205, allocations: 1.078 MB / 346.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.4239, allocations: 1.405 MB / 348.3 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006914/0.4246, allocations: 172 kB / 348.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.4261, allocations: 359.7 kB / 348.8 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.4272, allocations: 0.8295 MB / 349.6 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.4283, allocations: 0.6289 MB / 350.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005344/0.4337, allocations: 4.242 MB / 354.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4337, allocations: 0 / 354.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.529e-06/0.4337, allocations: 0 / 354.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002611/0.434, allocations: 0 / 354.5 MB, free: 7.305 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.008975/0.443, allocations: 3.173 MB / 357.7 MB, free: 4.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.4431, allocations: 16.03 kB / 357.7 MB, free: 4.051 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.4454, allocations: 435.7 kB / 358.1 MB, free: 3.621 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005026/0.4505, allocations: 1.786 MB / 359.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.4507, allocations: 213.4 kB / 360.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000557/0.4513, allocations: 263.9 kB / 360.4 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007327/0.4586, allocations: 3.498 MB / 363.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.634e-05/0.4588, allocations: 7.906 kB / 363.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000256/0.459, allocations: 112 kB / 364 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/0.4592, allocations: 117.3 kB / 364.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005876/0.4651, allocations: 2.983 MB / 367.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02248/0.4876, allocations: 11.14 MB / 378.2 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/0.4907, allocations: 2.296 MB / 380.5 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003619/0.4911, allocations: 211.4 kB / 380.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.4912, allocations: 47.83 kB / 380.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.588e-06/0.4912, allocations: 0 / 380.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01785/0.5091, allocations: 7.776 MB / 388.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.5092, allocations: 64.72 kB / 388.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003539/0.5128, allocations: 1.948 MB / 390.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002514/0.5131, allocations: 49.7 kB / 390.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.5142, allocations: 1.316 MB / 391.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006253/0.5149, allocations: 0.5083 MB / 392.4 MB, free: 356 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.915e-05/0.5149, allocations: 32 kB / 392.5 MB, free: 324 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.5152, allocations: 373.9 kB / 392.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.5169, allocations: 0.8979 MB / 393.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.5187, allocations: 1.375 MB / 395.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.5205, allocations: 1.096 MB / 396.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.5205, allocations: 4 kB / 396.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005634/0.5261, allocations: 2.97 MB / 399.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.5262, allocations: 12 kB / 399.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-05/0.5263, allocations: 16.38 kB / 399.2 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.5275, allocations: 442.1 kB / 399.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.5292, allocations: 451.3 kB / 400.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007069/0.5363, allocations: 5.473 MB / 405.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.5388, allocations: 135.8 kB / 405.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.5391, allocations: 76 kB / 405.8 MB, free: 2.504 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (202): * Single equations (assignments): 197 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00293/0.542, allocations: 0.8485 MB / 406.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/0.543, allocations: 213.4 kB / 406.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00527/0.5483, allocations: 2.595 MB / 409.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-05/0.5484, allocations: 20 kB / 409.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.5484, allocations: 4 kB / 409.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.5484, allocations: 7.969 kB / 409.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.5595, allocations: 5.62 MB / 415.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.5596, allocations: 4.406 kB / 415.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.5608, allocations: 295.6 kB / 415.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.5622, allocations: 482.2 kB / 415.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.5624, allocations: 39.98 kB / 415.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0081/0.5705, allocations: 7.001 MB / 422.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.5705, allocations: 4 kB / 422.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007493/0.578, allocations: 4.064 MB / 426.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/0.5799, allocations: 478.4 kB / 427.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/0.5802, allocations: 39.98 kB / 427.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.5814, allocations: 111.8 kB / 427.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000367/0.5817, allocations: 125 kB / 427.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.5819, allocations: 43.98 kB / 427.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002358/0.5843, allocations: 1.332 MB / 429.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5843, allocations: 0 / 429.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002638/0.5869, allocations: 0.5859 MB / 429.6 MB, free: 9.762 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (128): * Single equations (assignments): 123 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005792/0.5875, allocations: 189.4 kB / 429.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004764/0.5923, allocations: 2.6 MB / 432.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.5923, allocations: 3.938 kB / 432.4 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/0.5952, allocations: 1.612 MB / 434 MB, free: 5.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.598, allocations: 446.5 kB / 434.5 MB, free: 4.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.6109, allocations: 6.682 MB / 441.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002587/0.6135, allocations: 2.182 MB / 443.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002384/0.6159, allocations: 472.9 kB / 443.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.6164, allocations: 135.4 kB / 443.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of SimCode: time 7.514e-06/0.6164, allocations: 4 kB / 443.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of Templates: time 0.3217/0.9381, allocations: 28.38 MB / 472.3 MB, free: 102.4 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: