Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001305/0.001305, allocations: 177.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.831/1.831, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.000553/0.0005534, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3373, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01256/0.3499, allocations: 8.239 MB / 334.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00918/0.3591, allocations: 3.164 MB / 337.9 MB, free: 8.094 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.3615, allocations: 43.81 kB / 337.9 MB, free: 8.051 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.3636, allocations: 0.5752 MB / 338.5 MB, free: 7.473 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.367, allocations: 0.7166 MB / 339.2 MB, free: 6.754 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009618/0.368, allocations: 259.6 kB / 339.4 MB, free: 6.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004338/0.3723, allocations: 1.915 MB / 341.4 MB, free: 4.582 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00276/0.3751, allocations: 1.615 MB / 343 MB, free: 2.934 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.3774, allocations: 0.9301 MB / 343.9 MB, free: 2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.3791, allocations: 1.198 MB / 345.1 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002825/0.3794, allocations: 148 kB / 345.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007662/0.3802, allocations: 215.9 kB / 345.5 MB, free: 452 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009214/0.3811, allocations: 0.74 MB / 346.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.3823, allocations: 0.5471 MB / 346.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00394/0.3862, allocations: 3.697 MB / 350.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3862, allocations: 0 / 350.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3863, allocations: 8 kB / 350.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001329/0.3864, allocations: 0 / 350.4 MB, free: 11.43 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006005/0.3924, allocations: 2.777 MB / 353.2 MB, free: 8.586 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3925, allocations: 12.02 kB / 353.2 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008257/0.3933, allocations: 336.2 kB / 353.6 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/0.3964, allocations: 1.585 MB / 355.1 MB, free: 6.602 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.3966, allocations: 184.6 kB / 355.3 MB, free: 6.418 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/0.397, allocations: 231.9 kB / 355.6 MB, free: 6.191 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005943/0.403, allocations: 3.109 MB / 358.7 MB, free: 2.992 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-05/0.403, allocations: 8 kB / 358.7 MB, free: 2.984 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/0.4033, allocations: 92 kB / 358.8 MB, free: 2.895 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.4034, allocations: 112.5 kB / 358.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004703/0.4081, allocations: 2.7 MB / 361.6 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.4251, allocations: 9.747 MB / 371.3 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.4281, allocations: 2.185 MB / 373.5 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003536/0.4285, allocations: 203.2 kB / 373.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.4286, allocations: 47.56 kB / 373.8 MB, free: 3.391 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.457e-06/0.4286, allocations: 0 / 373.8 MB, free: 3.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=131): time 0.01819/0.4468, allocations: 6.926 MB / 380.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.4469, allocations: 68.7 kB / 380.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.4497, allocations: 1.692 MB / 382.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.4499, allocations: 45.7 kB / 382.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009329/0.4508, allocations: 1.155 MB / 383.6 MB, free: 9.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005042/0.4513, allocations: 449.5 kB / 384.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.4514, allocations: 32 kB / 384.1 MB, free: 8.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002594/0.4517, allocations: 369.9 kB / 384.5 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.453, allocations: 0.8081 MB / 385.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.4548, allocations: 1.208 MB / 386.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.4563, allocations: 0.9783 MB / 387.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.4564, allocations: 4 kB / 387.5 MB, free: 5.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004861/0.4612, allocations: 2.674 MB / 390.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.4613, allocations: 12 kB / 390.1 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.4613, allocations: 12 kB / 390.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.4625, allocations: 399.4 kB / 390.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.464, allocations: 371.4 kB / 390.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009898/0.4739, allocations: 6.374 MB / 397.3 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/0.4767, allocations: 111.9 kB / 397.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002766/0.477, allocations: 63.98 kB / 397.5 MB, free: 10.83 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002459/0.4795, allocations: 0.7939 MB / 398.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006946/0.4802, allocations: 193.6 kB / 398.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006852/0.4871, allocations: 2.387 MB / 400.8 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/0.4871, allocations: 12 kB / 400.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.4872, allocations: 4 kB / 400.8 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-05/0.4872, allocations: 11.92 kB / 400.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.5038, allocations: 5.071 MB / 405.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.504, allocations: 4.406 kB / 405.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.5057, allocations: 251.6 kB / 406.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/0.5074, allocations: 423 kB / 406.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.5076, allocations: 35.98 kB / 406.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/0.5192, allocations: 7.881 MB / 414.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.5193, allocations: 4.094 kB / 414.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008898/0.5282, allocations: 3.756 MB / 418.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/0.5299, allocations: 438.6 kB / 418.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/0.5303, allocations: 28 kB / 418.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.5317, allocations: 99.89 kB / 418.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004309/0.5321, allocations: 116.7 kB / 418.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.5323, allocations: 40 kB / 419 MB, free: 4.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00273/0.535, allocations: 1.151 MB / 420.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.535, allocations: 0 / 420.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002545/0.5376, allocations: 0.504 MB / 420.6 MB, free: 2.738 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 1,(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.0004233/0.538, allocations: 158.9 kB / 420.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005296/0.5433, allocations: 2.472 MB / 423.3 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5433, allocations: 0.875 kB / 423.3 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003611/0.547, allocations: 1.606 MB / 424.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/0.5499, allocations: 430.6 kB / 425.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.5621, allocations: 5.933 MB / 431.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002864/0.565, allocations: 2.048 MB / 433.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002018/0.5671, allocations: 447.2 kB / 433.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005908/0.5677, allocations: 123.4 kB / 433.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of SimCode: time 3.226e-06/0.5677, allocations: 4 kB / 433.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of Templates: time 0.2253/0.793, allocations: 25.13 MB / 459 MB, free: 111.5 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) Environment - environmentSimulation: