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.001026/0.001025, allocations: 92.23 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.00813/0.00813, 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.9/1.9, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.0005825/0.0005828, allocations: 12 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3524, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01551/0.368, allocations: 11.08 MB / 338.1 MB, free: 8.254 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.3805, allocations: 3.899 MB / 342 MB, free: 4.344 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00426/0.3848, allocations: 51.75 kB / 342.1 MB, free: 4.293 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003133/0.388, allocations: 0.746 MB / 342.8 MB, free: 3.543 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.393, allocations: 0.8897 MB / 343.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.3946, allocations: 475.4 kB / 344.2 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006242/0.4009, allocations: 3.861 MB / 348 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/0.4044, allocations: 2.213 MB / 350.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/0.408, allocations: 1.167 MB / 351.4 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.411, allocations: 1.649 MB / 353 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004063/0.4114, allocations: 172 kB / 353.2 MB, free: 9.039 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.4126, allocations: 439.5 kB / 353.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009733/0.4136, allocations: 0.8719 MB / 354.5 MB, free: 7.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002013/0.4156, allocations: 1.556 MB / 356.1 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006286/0.4219, allocations: 5.021 MB / 361.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.422, allocations: 0 / 361.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.422, allocations: 0 / 361.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000221/0.4222, allocations: 0 / 361.1 MB, free: 1.125 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.009539/0.4318, allocations: 3.162 MB / 364.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.032e-05/0.4319, allocations: 8.031 kB / 364.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.434, allocations: 436.7 kB / 364.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004237/0.4383, allocations: 1.833 MB / 366.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.4385, allocations: 209.3 kB / 366.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004372/0.4389, allocations: 275.8 kB / 367 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008127/0.4471, allocations: 3.533 MB / 370.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.64e-05/0.4472, allocations: 8 kB / 370.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002825/0.4475, allocations: 112 kB / 370.6 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002225/0.4477, allocations: 125.2 kB / 370.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006164/0.4539, allocations: 2.995 MB / 373.8 MB, free: 4.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02149/0.4754, allocations: 11.17 MB / 384.9 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.4787, allocations: 2.303 MB / 387.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.481, allocations: 1.203 MB / 388.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/0.4813, allocations: 207.5 kB / 388.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.4814, allocations: 43.88 kB / 388.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.489e-06/0.4814, allocations: 0 / 388.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01983/0.5012, allocations: 7.638 MB / 396.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.5014, allocations: 72.7 kB / 396.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003945/0.5054, allocations: 1.975 MB / 398.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002164/0.5056, allocations: 53.64 kB / 398.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.5071, allocations: 1.308 MB / 399.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006781/0.5078, allocations: 0.5045 MB / 400.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.5081, allocations: 153.6 kB / 400.4 MB, free: 8.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.5084, allocations: 301.1 kB / 400.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.5102, allocations: 0.9017 MB / 401.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.5127, allocations: 1.388 MB / 403 MB, free: 6.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004827/0.5175, allocations: 2.421 MB / 405.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.5176, allocations: 4 kB / 405.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006809/0.5244, allocations: 3.009 MB / 408.4 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.5245, allocations: 12 kB / 408.4 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.79e-05/0.5245, allocations: 16 kB / 408.4 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.5261, allocations: 470.5 kB / 408.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.5282, allocations: 443.3 kB / 409.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008998/0.5372, allocations: 5.598 MB / 414.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.5401, allocations: 135.7 kB / 415.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003812/0.5405, allocations: 72 kB / 415.1 MB, free: 9.352 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.002308/0.5429, allocations: 0.8486 MB / 416 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008072/0.5437, allocations: 213.5 kB / 416.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005894/0.5496, allocations: 2.618 MB / 418.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000108/0.5497, allocations: 16 kB / 418.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.246e-05/0.5498, allocations: 4 kB / 418.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/0.5498, allocations: 12.06 kB / 418.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.5648, allocations: 5.677 MB / 424.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.5648, allocations: 4 kB / 424.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.5662, allocations: 296.1 kB / 424.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/0.5681, allocations: 0.4902 MB / 425.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/0.5683, allocations: 51.91 kB / 425.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.5796, allocations: 7.034 MB / 432.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.11e-05/0.5797, allocations: 15.88 kB / 432.4 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009297/0.589, allocations: 3.885 MB / 436.3 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002453/0.5915, allocations: 486.3 kB / 436.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/0.5927, allocations: 36.06 kB / 436.8 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.5943, allocations: 119.9 kB / 436.9 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003772/0.5947, allocations: 117 kB / 437 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.5948, allocations: 43.98 kB / 437.1 MB, free: 2.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002837/0.5976, allocations: 1.363 MB / 438.4 MB, free: 1.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5977, allocations: 0 / 438.4 MB, free: 1.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003223/0.6009, allocations: 0.5859 MB / 439 MB, free: 0.7031 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.0006637/0.6016, allocations: 218.9 kB / 439.2 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004943/0.6065, allocations: 2.629 MB / 441.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/0.6066, allocations: 4 kB / 441.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00306/0.6096, allocations: 1.63 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.003967/0.6136, allocations: 474.8 kB / 444 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.6268, allocations: 6.991 MB / 450.9 MB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/0.6291, allocations: 2.136 MB / 453.1 MB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001817/0.631, allocations: 465 kB / 453.5 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.6314, allocations: 139.4 kB / 453.7 MB, free: 1.844 MB / 382.1 MB Notification: Performance of SimCode: time 2.495e-06/0.6315, allocations: 4 kB / 453.7 MB, free: 1.84 MB / 382.1 MB Notification: Performance of Templates: time 0.3576/0.9891, allocations: 29.18 MB / 482.9 MB, free: 91.91 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)