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.001159/0.001159, allocations: 96.25 kB / 15.05 MB, free: 1.113 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.001035/0.001035, allocations: 181.3 kB / 15.95 MB, free: 220 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.793/1.793, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005163/0.0005164, allocations: 10.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3717, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01262/0.3844, allocations: 9.531 MB / 336 MB, free: 9.957 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.3949, allocations: 3.871 MB / 339.9 MB, free: 6.078 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/0.3989, allocations: 51.75 kB / 339.9 MB, free: 6.027 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.4018, allocations: 0.6803 MB / 340.6 MB, free: 5.344 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004379/0.4062, allocations: 0.849 MB / 341.4 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.4078, allocations: 347.5 kB / 341.8 MB, free: 4.152 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00517/0.413, allocations: 2.239 MB / 344 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.4154, allocations: 1.801 MB / 345.8 MB, free: 76 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.4175, allocations: 1.07 MB / 346.9 MB, free: 15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.42, allocations: 1.401 MB / 348.3 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004402/0.4204, allocations: 172 kB / 348.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009917/0.4214, allocations: 371.7 kB / 348.8 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008629/0.4223, allocations: 0.8217 MB / 349.6 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008462/0.4232, allocations: 0.6251 MB / 350.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.4276, allocations: 4.246 MB / 354.5 MB, free: 7.348 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4276, allocations: 4 kB / 354.5 MB, free: 7.344 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4276, allocations: 0 / 354.5 MB, free: 7.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001475/0.4277, allocations: 0 / 354.5 MB, free: 7.344 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.008213/0.436, allocations: 3.177 MB / 357.7 MB, free: 4.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/0.4361, allocations: 8.031 kB / 357.7 MB, free: 4.094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.4379, allocations: 443.7 kB / 358.1 MB, free: 3.656 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004081/0.4419, allocations: 1.786 MB / 359.9 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.4422, allocations: 209.4 kB / 360.1 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004933/0.4427, allocations: 263.9 kB / 360.4 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007205/0.4499, allocations: 3.501 MB / 363.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/0.45, allocations: 7.906 kB / 363.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/0.4503, allocations: 108 kB / 364 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.4505, allocations: 121.2 kB / 364.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006025/0.4565, allocations: 2.983 MB / 367.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0237/0.4803, allocations: 11.15 MB / 378.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.4834, allocations: 2.292 MB / 380.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.4838, allocations: 203.5 kB / 380.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.4838, allocations: 55.81 kB / 380.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 5.019e-06/0.4839, allocations: 0 / 380.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01692/0.5008, allocations: 7.78 MB / 388.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.5009, allocations: 64.72 kB / 388.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.5041, allocations: 1.948 MB / 390.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002542/0.5044, allocations: 45.7 kB / 390.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.5056, allocations: 1.308 MB / 391.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005443/0.5061, allocations: 0.5044 MB / 392.4 MB, free: 400 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.5062, allocations: 39.98 kB / 392.5 MB, free: 360 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.5065, allocations: 381.9 kB / 392.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.508, allocations: 0.894 MB / 393.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.5098, allocations: 1.375 MB / 395.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.5115, allocations: 1.092 MB / 396.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.5115, allocations: 8 kB / 396.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00546/0.517, allocations: 2.97 MB / 399.2 MB, free: 9.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.517, allocations: 12 kB / 399.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-05/0.5171, allocations: 12 kB / 399.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.5183, allocations: 446.2 kB / 399.6 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.5201, allocations: 447.3 kB / 400.1 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006686/0.5268, allocations: 5.481 MB / 405.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/0.5295, allocations: 127.8 kB / 405.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/0.5297, allocations: 79.98 kB / 405.8 MB, free: 2.535 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.002363/0.5321, allocations: 0.8446 MB / 406.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000611/0.5327, allocations: 213.4 kB / 406.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00453/0.5373, allocations: 2.587 MB / 409.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/0.5373, allocations: 19.98 kB / 409.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.5373, allocations: 8 kB / 409.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.5374, allocations: 7.969 kB / 409.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009963/0.5473, allocations: 5.62 MB / 415.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.5474, allocations: 4 kB / 415.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.5486, allocations: 299.8 kB / 415.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.55, allocations: 478.3 kB / 415.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.5501, allocations: 47.97 kB / 415.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008956/0.5591, allocations: 6.993 MB / 422.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5592, allocations: 4 kB / 422.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007784/0.567, allocations: 4.076 MB / 426.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/0.5685, allocations: 478.4 kB / 427.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.5689, allocations: 40.05 kB / 427.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.57, allocations: 115.8 kB / 427.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.5704, allocations: 121 kB / 427.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.5705, allocations: 43.98 kB / 427.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002504/0.573, allocations: 1.336 MB / 429.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.573, allocations: 0 / 429.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002514/0.5755, allocations: 0.5781 MB / 429.6 MB, free: 9.797 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.0004669/0.576, allocations: 193.3 kB / 429.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004842/0.5808, allocations: 2.601 MB / 432.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.5809, allocations: 8.062 kB / 432.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002798/0.5837, allocations: 1.599 MB / 434 MB, free: 5.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/0.5863, allocations: 458.7 kB / 434.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.5988, allocations: 6.662 MB / 441.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/0.6013, allocations: 2.194 MB / 443.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001943/0.6032, allocations: 473 kB / 443.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.6037, allocations: 139.4 kB / 443.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of SimCode: time 3.156e-06/0.6037, allocations: 0 / 443.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of Templates: time 0.2684/0.8722, allocations: 28.37 MB / 472.3 MB, free: 102.9 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: