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.001624/0.001624, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002422/0.002422, allocations: 194 kB / 16.14 MB, free: 6.707 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.74/1.74, allocations: 205.1 MB / 222 MB, free: 4.754 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.001361/0.001361, allocations: 47.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3245, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01683/0.3414, allocations: 11.66 MB / 336.3 MB, free: 8.461 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009404/0.3508, allocations: 3.938 MB / 340.3 MB, free: 4.512 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/0.3545, allocations: 51.75 kB / 340.3 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.3583, allocations: 0.7499 MB / 341.1 MB, free: 3.707 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.3637, allocations: 0.8897 MB / 342 MB, free: 2.812 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.3663, allocations: 479.5 kB / 342.4 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.008431/0.3748, allocations: 3.861 MB / 346.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005909/0.3807, allocations: 2.236 MB / 348.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/0.3848, allocations: 1.327 MB / 349.9 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004319/0.3891, allocations: 1.856 MB / 351.7 MB, free: 8.977 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002048/0.3912, allocations: 252 kB / 352 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.394, allocations: 0.4956 MB / 352.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.3953, allocations: 0.989 MB / 353.5 MB, free: 7.242 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002444/0.3978, allocations: 1.667 MB / 355.1 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005794/0.4036, allocations: 5.179 MB / 360.3 MB, free: 380 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.4036, allocations: 0 / 360.3 MB, free: 380 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4036, allocations: 0 / 360.3 MB, free: 380 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001327/0.4038, allocations: 3.938 kB / 360.3 MB, free: 376 kB / 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.01009/0.4139, allocations: 3.711 MB / 364 MB, free: 12.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4139, allocations: 8.031 kB / 364 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.4154, allocations: 432.7 kB / 364.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003493/0.4189, allocations: 1.829 MB / 366.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.4191, allocations: 217.3 kB / 366.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003974/0.4196, allocations: 271.9 kB / 366.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007458/0.427, allocations: 3.521 MB / 370.3 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.072e-05/0.4271, allocations: 3.906 kB / 370.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.4274, allocations: 112 kB / 370.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/0.4275, allocations: 129.2 kB / 370.5 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006034/0.4336, allocations: 2.964 MB / 373.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02184/0.4554, allocations: 11.1 MB / 384.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004197/0.4597, allocations: 2.284 MB / 386.9 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002962/0.4627, allocations: 1.172 MB / 388 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00045/0.4632, allocations: 215.5 kB / 388.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/0.4633, allocations: 51.81 kB / 388.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 5.24e-06/0.4633, allocations: 0 / 388.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.0274/0.4907, allocations: 7.49 MB / 395.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/0.4908, allocations: 72.66 kB / 395.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006408/0.4973, allocations: 1.971 MB / 397.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003561/0.4977, allocations: 53.7 kB / 397.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.4993, allocations: 1.304 MB / 399.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.5003, allocations: 0.5083 MB / 399.7 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/0.5017, allocations: 323.3 kB / 400 MB, free: 7.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5019, allocations: 305.1 kB / 400.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/0.5048, allocations: 0.8823 MB / 401.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/0.5081, allocations: 1.372 MB / 402.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006417/0.5146, allocations: 2.382 MB / 404.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-05/0.5146, allocations: 8 kB / 404.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007677/0.5223, allocations: 2.986 MB / 407.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.5224, allocations: 8 kB / 407.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.7e-05/0.5224, allocations: 16 kB / 407.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.5237, allocations: 466.5 kB / 408.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.5253, allocations: 423.3 kB / 408.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006888/0.5323, allocations: 5.59 MB / 414.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.535, allocations: 127.8 kB / 414.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004352/0.5354, allocations: 71.98 kB / 414.6 MB, free: 8.316 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.002412/0.5379, allocations: 0.8563 MB / 415.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008911/0.5388, allocations: 213.5 kB / 415.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/0.5439, allocations: 2.579 MB / 418.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.347e-05/0.544, allocations: 16 kB / 418.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/0.544, allocations: 8 kB / 418.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/0.544, allocations: 11.97 kB / 418.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.5577, allocations: 5.646 MB / 423.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.5577, allocations: 8.062 kB / 423.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.559, allocations: 275.6 kB / 424.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/0.5606, allocations: 0.4902 MB / 424.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.5608, allocations: 39.92 kB / 424.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008138/0.569, allocations: 7.046 MB / 431.8 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.569, allocations: 7.938 kB / 431.8 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006939/0.5759, allocations: 3.838 MB / 435.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/0.5775, allocations: 478.3 kB / 436.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006868/0.5782, allocations: 40 kB / 436.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/0.5798, allocations: 99.88 kB / 436.2 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004141/0.5802, allocations: 117 kB / 436.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.5804, allocations: 47.98 kB / 436.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003513/0.5839, allocations: 1.359 MB / 437.8 MB, free: 416 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5839, allocations: 0 / 437.8 MB, free: 416 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.003734/0.5877, allocations: 0.5938 MB / 438.3 MB, free: 15.81 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.0007537/0.5884, allocations: 222.8 kB / 438.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005052/0.5935, allocations: 2.601 MB / 441.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.5935, allocations: 0 / 441.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.5965, allocations: 1.615 MB / 442.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/0.6007, allocations: 462.6 kB / 443.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.6163, allocations: 6.857 MB / 450.1 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003786/0.6202, allocations: 2.136 MB / 452.2 MB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002633/0.6228, allocations: 473 kB / 452.7 MB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/0.6238, allocations: 131.4 kB / 452.8 MB, free: 1.141 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.6238, allocations: 0 / 452.8 MB, free: 1.141 MB / 382.1 MB Notification: Performance of Templates: time 0.3205/0.9443, allocations: 29.66 MB / 482.5 MB, free: 91.4 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)