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.0009062/0.0009064, allocations: 90.52 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.00671/0.00671, allocations: 170.2 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.939/1.939, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.0004776/0.0004778, allocations: 16 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.324, allocations: 47.58 MB / 327 MB, free: 1.543 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01195/0.336, allocations: 9.534 MB / 336.6 MB, free: 9.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007912/0.344, allocations: 3.218 MB / 339.8 MB, free: 6.699 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.3468, allocations: 47.75 kB / 339.8 MB, free: 6.652 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.3493, allocations: 0.5981 MB / 340.4 MB, free: 6.051 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005298/0.3546, allocations: 0.7615 MB / 341.2 MB, free: 5.285 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.3569, allocations: 371.6 kB / 341.6 MB, free: 4.922 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007172/0.364, allocations: 3.367 MB / 344.9 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003846/0.368, allocations: 2.045 MB / 347 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.3704, allocations: 1.007 MB / 348 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003446/0.3739, allocations: 1.447 MB / 349.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000545/0.3745, allocations: 148 kB / 349.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.3756, allocations: 263.8 kB / 349.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009106/0.3765, allocations: 0.7669 MB / 350.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.3784, allocations: 1.369 MB / 352 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005149/0.3836, allocations: 4.36 MB / 356.3 MB, free: 6.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.3836, allocations: 0 / 356.3 MB, free: 6.043 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.27e-06/0.3836, allocations: 0 / 356.3 MB, free: 6.043 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001501/0.3838, allocations: 0 / 356.3 MB, free: 6.043 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.007014/0.3908, allocations: 2.766 MB / 359.1 MB, free: 3.211 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.3909, allocations: 12.03 kB / 359.1 MB, free: 3.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.3921, allocations: 333.2 kB / 359.4 MB, free: 2.871 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.3954, allocations: 1.635 MB / 361.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.3956, allocations: 185 kB / 361.2 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004745/0.3961, allocations: 239.8 kB / 361.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006592/0.4027, allocations: 3.149 MB / 364.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.86e-05/0.4028, allocations: 0 / 364.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.4031, allocations: 100 kB / 364.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.4032, allocations: 112.5 kB / 364.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.4085, allocations: 2.715 MB / 367.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/0.4265, allocations: 9.79 MB / 377.3 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.4295, allocations: 2.186 MB / 379.5 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.4316, allocations: 1.14 MB / 380.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003442/0.432, allocations: 199.2 kB / 380.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.432, allocations: 59.55 kB / 380.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.176e-06/0.432, allocations: 0 / 380.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.0167/0.4487, allocations: 6.818 MB / 387.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.4488, allocations: 68.72 kB / 387.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.4521, allocations: 1.743 MB / 389.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002617/0.4524, allocations: 45.7 kB / 389.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.4535, allocations: 1.155 MB / 390.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005574/0.4541, allocations: 453.4 kB / 391.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.4543, allocations: 133.6 kB / 391.3 MB, free: 2.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4544, allocations: 305.1 kB / 391.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.4559, allocations: 0.8042 MB / 392.4 MB, free: 1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.4576, allocations: 1.218 MB / 393.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003036/0.4606, allocations: 2.122 MB / 395.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.4606, allocations: 4 kB / 395.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005574/0.4662, allocations: 2.698 MB / 398.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.4663, allocations: 16.06 kB / 398.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/0.4663, allocations: 15.98 kB / 398.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.4674, allocations: 415.1 kB / 398.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.4687, allocations: 363.4 kB / 399.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007161/0.4759, allocations: 6.495 MB / 405.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.4777, allocations: 115.9 kB / 405.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.4779, allocations: 63.98 kB / 405.9 MB, free: 2.691 MB / 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.001707/0.4796, allocations: 0.79 MB / 406.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004202/0.48, allocations: 185.7 kB / 406.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00425/0.4843, allocations: 2.395 MB / 409.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.4843, allocations: 16 kB / 409.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.4843, allocations: 4 kB / 409.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.4843, allocations: 3.984 kB / 409.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00847/0.4928, allocations: 5.145 MB / 414.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.4929, allocations: 4.469 kB / 414.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.4942, allocations: 247.6 kB / 414.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.4957, allocations: 451.4 kB / 415.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-05/0.4958, allocations: 35.92 kB / 415.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007913/0.5037, allocations: 7.943 MB / 423.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.5037, allocations: 7.938 kB / 423.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006049/0.5098, allocations: 3.566 MB / 426.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.5111, allocations: 438.6 kB / 427.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.5113, allocations: 35.98 kB / 427.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009745/0.5123, allocations: 95.97 kB / 427.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003315/0.5126, allocations: 124.8 kB / 427.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.393e-05/0.5127, allocations: 40 kB / 427.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002029/0.5148, allocations: 1.202 MB / 428.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5148, allocations: 3.938 kB / 428.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001916/0.5167, allocations: 0.5078 MB / 429.1 MB, free: 10.62 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.0004583/0.5172, allocations: 187 kB / 429.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004856/0.522, allocations: 2.476 MB / 431.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.5221, allocations: 0 / 431.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002766/0.5248, allocations: 1.634 MB / 433.4 MB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/0.5286, allocations: 450.2 kB / 433.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.5388, allocations: 6.235 MB / 440.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/0.5409, allocations: 1.997 MB / 442.1 MB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001927/0.5429, allocations: 443.5 kB / 442.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.5433, allocations: 123.4 kB / 442.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.924e-06/0.5433, allocations: 0 / 442.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of Templates: time 0.2674/0.8108, allocations: 26.16 MB / 468.8 MB, free: 105.6 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (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)