Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001819/0.001818, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.003288/0.003288, allocations: 189.3 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.1 MB / 222.1 MB, free: 4.664 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.002121/0.002121, allocations: 55.91 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3235, allocations: 46.62 MB / 324.9 MB, free: 2.137 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01489/0.3385, allocations: 10.07 MB / 334.9 MB, free: 10.15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009958/0.3485, allocations: 3.241 MB / 338.2 MB, free: 6.895 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004149/0.3528, allocations: 47.75 kB / 338.2 MB, free: 6.848 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003934/0.3568, allocations: 0.6215 MB / 338.8 MB, free: 6.223 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005473/0.3623, allocations: 0.746 MB / 339.6 MB, free: 5.473 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.3645, allocations: 363.7 kB / 339.9 MB, free: 5.117 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005986/0.3705, allocations: 2.961 MB / 342.9 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004317/0.3749, allocations: 2.441 MB / 345.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/0.3789, allocations: 1.351 MB / 346.7 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004654/0.3837, allocations: 1.736 MB / 348.4 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001317/0.385, allocations: 352 kB / 348.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.387, allocations: 451.8 kB / 349.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.3887, allocations: 1.021 MB / 350.2 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004765/0.3935, allocations: 1.606 MB / 351.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008469/0.402, allocations: 4.623 MB / 356.5 MB, free: 4.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.4021, allocations: 0 / 356.5 MB, free: 4.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.4021, allocations: 0 / 356.5 MB, free: 4.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0003013/0.4024, allocations: 4 kB / 356.5 MB, free: 4.477 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.0122/0.4146, allocations: 3.26 MB / 359.7 MB, free: 1.148 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.202e-05/0.4147, allocations: 15.89 kB / 359.7 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.416, allocations: 325.2 kB / 360.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/0.4206, allocations: 1.643 MB / 361.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.421, allocations: 181 kB / 361.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006427/0.4217, allocations: 235.9 kB / 362.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008429/0.4301, allocations: 3.133 MB / 365.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.623e-05/0.4303, allocations: 7.984 kB / 365.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/0.4306, allocations: 92 kB / 365.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/0.4307, allocations: 104.6 kB / 365.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00611/0.4368, allocations: 2.7 MB / 368.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02239/0.4593, allocations: 9.735 MB / 377.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/0.4627, allocations: 2.173 MB / 380 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.4649, allocations: 1.113 MB / 381.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000357/0.4653, allocations: 203.2 kB / 381.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/0.4653, allocations: 47.55 kB / 381.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 4.038e-06/0.4653, allocations: 0 / 381.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01781/0.4831, allocations: 6.705 MB / 388.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.4833, allocations: 64.72 kB / 388.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.4871, allocations: 1.739 MB / 389.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002796/0.4874, allocations: 45.7 kB / 390 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.4886, allocations: 1.159 MB / 391.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005928/0.4892, allocations: 457.4 kB / 391.6 MB, free: 448 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005468/0.4897, allocations: 287.3 kB / 391.8 MB, free: 156 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4899, allocations: 309.1 kB / 392.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.4915, allocations: 0.7885 MB / 392.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.4934, allocations: 1.206 MB / 394.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.4965, allocations: 2.098 MB / 396.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.4966, allocations: 0 / 396.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00497/0.5015, allocations: 2.667 MB / 398.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.5016, allocations: 15.97 kB / 398.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.5016, allocations: 12 kB / 398.9 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.5027, allocations: 419.1 kB / 399.3 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.504, allocations: 355.4 kB / 399.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007381/0.5114, allocations: 7.08 MB / 406.8 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.5131, allocations: 99.89 kB / 406.9 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.5133, allocations: 60.16 kB / 406.9 MB, free: 248 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00153/0.5149, allocations: 0.8096 MB / 407.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004565/0.5153, allocations: 189.7 kB / 407.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004036/0.5194, allocations: 2.364 MB / 410.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.5194, allocations: 15.94 kB / 410.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5194, allocations: 4 kB / 410.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.5194, allocations: 12.05 kB / 410.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009653/0.5291, allocations: 5.11 MB / 415.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.5291, allocations: 4 kB / 415.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000972/0.5301, allocations: 240.1 kB / 415.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.5313, allocations: 451 kB / 416.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.5315, allocations: 39.97 kB / 416.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008695/0.5402, allocations: 8.631 MB / 424.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/0.5402, allocations: 8 kB / 424.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005709/0.5459, allocations: 3.523 MB / 428.3 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.5472, allocations: 430.8 kB / 428.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/0.5475, allocations: 31.98 kB / 428.8 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.5486, allocations: 91.91 kB / 428.8 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.549, allocations: 120.7 kB / 429 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.5491, allocations: 43.98 kB / 429 MB, free: 9.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002205/0.5513, allocations: 1.198 MB / 430.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5513, allocations: 0 / 430.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002779/0.5541, allocations: 0.5078 MB / 430.7 MB, free: 7.566 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.0004997/0.5546, allocations: 203 kB / 430.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006484/0.5611, allocations: 3.098 MB / 434 MB, free: 4.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/0.5612, allocations: 4 kB / 434 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002998/0.5642, allocations: 1.618 MB / 435.6 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.5674, allocations: 490.3 kB / 436.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.579, allocations: 6.082 MB / 442.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/0.5811, allocations: 2.009 MB / 444.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001773/0.5829, allocations: 443.5 kB / 444.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/0.5833, allocations: 127.4 kB / 444.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5834, allocations: 0 / 444.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of Templates: time 0.2618/0.8451, allocations: 27.59 MB / 472.3 MB, free: 102.4 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)