Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009936/0.0009937, allocations: 88.39 kB / 16.31 MB, free: 6.453 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.001273/0.001273, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.789/1.789, allocations: 205.4 MB / 223.4 MB, free: 5.793 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.0005193/0.0005194, allocations: 12 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3634, allocations: 47.59 MB / 327.7 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01551/0.379, allocations: 10.4 MB / 338.1 MB, free: 9.125 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.3896, allocations: 3.749 MB / 341.9 MB, free: 5.367 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.3927, allocations: 51.75 kB / 341.9 MB, free: 5.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.3951, allocations: 0.6954 MB / 342.6 MB, free: 4.617 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.3985, allocations: 0.835 MB / 343.5 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3998, allocations: 347.5 kB / 343.8 MB, free: 3.438 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005029/0.4048, allocations: 3.507 MB / 347.3 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.4074, allocations: 1.805 MB / 349.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.4097, allocations: 1.144 MB / 350.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.412, allocations: 1.588 MB / 351.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003392/0.4123, allocations: 176 kB / 352 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000995/0.4134, allocations: 367.7 kB / 352.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.4144, allocations: 0.8683 MB / 353.2 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008972/0.4153, allocations: 0.6289 MB / 353.9 MB, free: 9.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004097/0.4194, allocations: 4.27 MB / 358.1 MB, free: 5.016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4194, allocations: 4 kB / 358.1 MB, free: 5.012 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4194, allocations: 0 / 358.1 MB, free: 5.012 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.511e-05/0.4195, allocations: 0 / 358.1 MB, free: 5.012 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.007373/0.4269, allocations: 3.173 MB / 361.3 MB, free: 1.773 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/0.4269, allocations: 12.02 kB / 361.3 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.4286, allocations: 435.7 kB / 361.8 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003887/0.4325, allocations: 1.778 MB / 363.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.4328, allocations: 209.4 kB / 363.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004109/0.4332, allocations: 264 kB / 364 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007225/0.4404, allocations: 3.521 MB / 367.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.969e-05/0.4405, allocations: 15.78 kB / 367.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002729/0.4408, allocations: 112 kB / 367.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001808/0.441, allocations: 117.3 kB / 367.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006549/0.4475, allocations: 2.987 MB / 370.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02298/0.4706, allocations: 11.15 MB / 381.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/0.4741, allocations: 2.296 MB / 384.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.4765, allocations: 1.195 MB / 385.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/0.4769, allocations: 211.5 kB / 385.6 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.413e-05/0.477, allocations: 51.83 kB / 385.6 MB, free: 8.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 5.47e-06/0.477, allocations: 0 / 385.6 MB, free: 8.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01853/0.4955, allocations: 7.622 MB / 393.3 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.4957, allocations: 64.72 kB / 393.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004834/0.5005, allocations: 1.96 MB / 395.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.5007, allocations: 49.7 kB / 395.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.502, allocations: 1.319 MB / 396.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006556/0.5027, allocations: 0.5045 MB / 397.2 MB, free: 13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.5028, allocations: 28 kB / 397.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000272/0.5031, allocations: 377.9 kB / 397.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.5049, allocations: 0.8901 MB / 398.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.5071, allocations: 1.388 MB / 399.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.5093, allocations: 1.099 MB / 400.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/0.5094, allocations: 4 kB / 400.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006248/0.5156, allocations: 2.993 MB / 403.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.5157, allocations: 12.38 kB / 403.9 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.296e-05/0.5158, allocations: 23.98 kB / 404 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.5171, allocations: 462.2 kB / 404.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.5188, allocations: 443.3 kB / 404.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008064/0.5269, allocations: 5.583 MB / 410.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/0.5298, allocations: 123.9 kB / 410.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004265/0.5303, allocations: 75.98 kB / 410.6 MB, free: 15 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 (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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003046/0.5333, allocations: 0.8525 MB / 411.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/0.5344, allocations: 205.5 kB / 411.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/0.5402, allocations: 2.618 MB / 414.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/0.5402, allocations: 16 kB / 414.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-05/0.5403, allocations: 4 kB / 414.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.5403, allocations: 7.969 kB / 414.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.5541, allocations: 5.673 MB / 420 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.428e-05/0.5542, allocations: 7.938 kB / 420 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.5555, allocations: 291.6 kB / 420.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/0.557, allocations: 0.4944 MB / 420.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.5572, allocations: 39.98 kB / 420.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009156/0.5664, allocations: 7.035 MB / 427.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.5664, allocations: 4 kB / 427.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007427/0.5739, allocations: 3.885 MB / 431.8 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/0.5757, allocations: 490.3 kB / 432.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/0.576, allocations: 32 kB / 432.3 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.5772, allocations: 115.9 kB / 432.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/0.5776, allocations: 121 kB / 432.5 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.5777, allocations: 43.98 kB / 432.5 MB, free: 8.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002559/0.5802, allocations: 1.34 MB / 433.9 MB, free: 7 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5803, allocations: 0 / 433.9 MB, free: 7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00261/0.5829, allocations: 0.5898 MB / 434.5 MB, free: 6.41 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 (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%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004601/0.5833, allocations: 183 kB / 434.6 MB, free: 6.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004656/0.588, allocations: 2.617 MB / 437.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.588, allocations: 0 / 437.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002843/0.5909, allocations: 1.627 MB / 438.9 MB, free: 1.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/0.5937, allocations: 486.5 kB / 439.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.6059, allocations: 6.684 MB / 446 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.608, allocations: 2.128 MB / 448.2 MB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001834/0.6098, allocations: 473 kB / 448.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/0.6103, allocations: 139.4 kB / 448.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.6103, allocations: 4 kB / 448.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of Templates: time 0.2629/0.8732, allocations: 28.4 MB / 477.2 MB, free: 98.46 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)