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.001653/0.001653, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.00193, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.728/1.728, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.001382/0.001382, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2821, allocations: 46.64 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.0144/0.2965, allocations: 10.14 MB / 335.5 MB, free: 9.754 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007652/0.3042, allocations: 3.28 MB / 338.7 MB, free: 6.461 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.3064, allocations: 51.75 kB / 338.8 MB, free: 6.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.3083, allocations: 0.6946 MB / 339.5 MB, free: 5.711 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.3109, allocations: 0.8386 MB / 340.3 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009825/0.3119, allocations: 411.4 kB / 340.7 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002873/0.3148, allocations: 2.961 MB / 343.7 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.3174, allocations: 2.437 MB / 346.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.3191, allocations: 1.332 MB / 347.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.3211, allocations: 1.705 MB / 349.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004561/0.3215, allocations: 352 kB / 349.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000852/0.3224, allocations: 455.8 kB / 349.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001101/0.3235, allocations: 1.021 MB / 351 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002419/0.326, allocations: 1.606 MB / 352.6 MB, free: 8.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00692/0.3329, allocations: 4.615 MB / 357.2 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.3329, allocations: 3.938 kB / 357.2 MB, free: 3.887 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3329, allocations: 0 / 357.2 MB, free: 3.887 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001682/0.3331, allocations: 0 / 357.2 MB, free: 3.887 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.01295/0.3461, allocations: 3.257 MB / 360.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.046e-05/0.3462, allocations: 15.88 kB / 360.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.3479, allocations: 333.1 kB / 360.8 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004817/0.3527, allocations: 1.635 MB / 362.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003307/0.3531, allocations: 185 kB / 362.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005629/0.3536, allocations: 235.9 kB / 362.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.3646, allocations: 3.133 MB / 366 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.3648, allocations: 11.92 kB / 366 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000557/0.3653, allocations: 99.98 kB / 366.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002254/0.3656, allocations: 104.6 kB / 366.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.3762, allocations: 2.688 MB / 368.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0357/0.412, allocations: 9.735 MB / 378.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006244/0.4183, allocations: 2.169 MB / 380.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003954/0.4223, allocations: 1.125 MB / 381.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/0.4229, allocations: 203.2 kB / 382.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.231e-05/0.423, allocations: 51.55 kB / 382.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 6.452e-06/0.4231, allocations: 0 / 382.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.02925/0.4523, allocations: 6.693 MB / 388.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.4525, allocations: 68.72 kB / 388.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006992/0.4595, allocations: 1.735 MB / 390.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003661/0.4599, allocations: 45.7 kB / 390.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002134/0.4621, allocations: 1.155 MB / 391.8 MB, free: 308 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.4634, allocations: 453.6 kB / 392.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.465, allocations: 291.3 kB / 392.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003169/0.4653, allocations: 309.1 kB / 392.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/0.4685, allocations: 0.7886 MB / 393.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003094/0.4716, allocations: 1.206 MB / 394.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005732/0.4773, allocations: 2.091 MB / 396.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/0.4774, allocations: 4 kB / 397 MB, free: 10.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.009042/0.4864, allocations: 2.67 MB / 399.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.4866, allocations: 12 kB / 399.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/0.4866, allocations: 15.94 kB / 399.7 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.4883, allocations: 427.4 kB / 400.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.4906, allocations: 359.4 kB / 400.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008014/0.4986, allocations: 7.069 MB / 407.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.5006, allocations: 107.9 kB / 407.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003485/0.501, allocations: 60 kB / 407.7 MB, free: 15.64 MB / 350.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.00254/0.5036, allocations: 0.7939 MB / 408.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007958/0.5044, allocations: 189.6 kB / 408.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/0.5095, allocations: 2.371 MB / 411 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.5096, allocations: 19.94 kB / 411 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/0.5096, allocations: 4 kB / 411 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.5096, allocations: 11.97 kB / 411 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.5216, allocations: 5.126 MB / 416.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.851e-05/0.5217, allocations: 4 kB / 416.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5228, allocations: 227.7 kB / 416.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.5242, allocations: 451.5 kB / 416.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.5244, allocations: 43.97 kB / 416.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009594/0.534, allocations: 8.627 MB / 425.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.534, allocations: 4 kB / 425.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007088/0.5411, allocations: 3.527 MB / 429 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.5428, allocations: 438.8 kB / 429.5 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009112/0.5438, allocations: 31.98 kB / 429.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/0.5454, allocations: 87.91 kB / 429.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/0.5459, allocations: 120.7 kB / 429.7 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.5461, allocations: 43.98 kB / 429.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003001/0.5491, allocations: 1.194 MB / 430.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5491, allocations: 4 kB / 430.9 MB, free: 7.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003053/0.5522, allocations: 0.5038 MB / 431.4 MB, free: 6.969 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.0007465/0.5529, allocations: 199 kB / 431.6 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006734/0.5597, allocations: 3.098 MB / 434.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.5597, allocations: 0 / 434.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003005/0.5627, allocations: 1.622 MB / 436.4 MB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/0.5662, allocations: 490.7 kB / 436.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.5777, allocations: 5.054 MB / 441.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/0.5811, allocations: 2.009 MB / 443.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002378/0.5835, allocations: 439.5 kB / 444.3 MB, free: 9.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007625/0.5843, allocations: 135.4 kB / 444.5 MB, free: 9.715 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.5844, allocations: 0 / 444.5 MB, free: 9.715 MB / 382.1 MB Notification: Performance of Templates: time 0.2702/0.8546, allocations: 27.74 MB / 472.2 MB, free: 102.2 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)