Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.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_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.0009653, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001358/0.001358, allocations: 172.7 kB / 15.95 MB, free: 208 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.949/1.949, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0007291/0.0007296, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3785, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01233/0.3909, allocations: 10.56 MB / 337 MB, free: 8.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.4071, allocations: 6.248 MB / 343.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004035/0.4112, allocations: 55.75 kB / 343.3 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003706/0.415, allocations: 0.707 MB / 344 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.4203, allocations: 0.8037 MB / 344.9 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006916/0.4273, allocations: 1.4 MB / 346.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007086/0.4344, allocations: 3.476 MB / 349.7 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00371/0.4381, allocations: 1.372 MB / 351.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003095/0.4412, allocations: 1.117 MB / 352.2 MB, free: 9.664 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/0.4446, allocations: 1.412 MB / 353.6 MB, free: 8.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.4457, allocations: 156 kB / 353.8 MB, free: 8.094 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.4477, allocations: 351.6 kB / 354.1 MB, free: 7.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.4494, allocations: 0.7436 MB / 354.9 MB, free: 7.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.4512, allocations: 0.5744 MB / 355.4 MB, free: 6.422 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005468/0.4567, allocations: 3.724 MB / 359.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4567, allocations: 0 / 359.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4567, allocations: 4 kB / 359.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002178/0.4569, allocations: 0 / 359.2 MB, free: 2.684 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.01017/0.4671, allocations: 2.965 MB / 362.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.4672, allocations: 8.031 kB / 362.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.4698, allocations: 428 kB / 362.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005021/0.4748, allocations: 1.606 MB / 364.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002997/0.4752, allocations: 176.8 kB / 364.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008854/0.4761, allocations: 235.9 kB / 364.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008749/0.4848, allocations: 3.034 MB / 367.6 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-05/0.4849, allocations: 11.92 kB / 367.6 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.4852, allocations: 100 kB / 367.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.4853, allocations: 104.5 kB / 367.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005011/0.4904, allocations: 2.52 MB / 370.3 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01697/0.5074, allocations: 10.33 MB / 380.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003304/0.5107, allocations: 2.724 MB / 383.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/0.5126, allocations: 1.227 MB / 384.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/0.5129, allocations: 130.4 kB / 384.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/0.513, allocations: 51.81 kB / 384.8 MB, free: 8.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 2.625e-06/0.513, allocations: 0 / 384.8 MB, free: 8.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.01715/0.5302, allocations: 8.189 MB / 393 MB, free: 15.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.5303, allocations: 175.5 kB / 393.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.5333, allocations: 1.854 MB / 395 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.5334, allocations: 57.7 kB / 395.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009167/0.5343, allocations: 1.149 MB / 396.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005124/0.5348, allocations: 0.57 MB / 396.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.535, allocations: 36 kB / 396.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.5351, allocations: 381.9 kB / 397.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.5365, allocations: 0.855 MB / 398 MB, free: 10.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.5382, allocations: 1.319 MB / 399.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.5399, allocations: 1.044 MB / 400.4 MB, free: 8.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.5399, allocations: 4 kB / 400.4 MB, free: 8.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.005535/0.5454, allocations: 3.145 MB / 403.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005715/0.546, allocations: 459.2 kB / 404 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.432e-05/0.5461, allocations: 19.95 kB / 404 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00204/0.5481, allocations: 0.7972 MB / 404.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.5494, allocations: 359.3 kB / 405.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/0.5657, allocations: 11.84 MB / 417 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.5684, allocations: 99.95 kB / 417.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002859/0.5687, allocations: 76.14 kB / 417.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5687, allocations: 8.562 kB / 417.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005856/0.5746, allocations: 2.903 MB / 420.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.486e-05/0.5746, allocations: 15.98 kB / 420.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.5767, allocations: 0.7901 MB / 420.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.578, allocations: 363.4 kB / 421.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/0.5926, allocations: 11.83 MB / 433.1 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.595, allocations: 95.95 kB / 433.2 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004403/0.5955, allocations: 72 kB / 433.3 MB, free: 5.691 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 183 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002755/0.5982, allocations: 0.7972 MB / 434.1 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/0.5993, allocations: 225.3 kB / 434.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006571/0.6059, allocations: 2.857 MB / 437.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.606, allocations: 16 kB / 437.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/0.606, allocations: 4 kB / 437.1 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/0.606, allocations: 11.92 kB / 437.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.6191, allocations: 5.688 MB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.6192, allocations: 4 kB / 442.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.6203, allocations: 236.1 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002286/0.6226, allocations: 0.8205 MB / 443.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.6228, allocations: 39.98 kB / 443.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3295/0.9522, allocations: 13.29 MB / 457.2 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/0.9523, allocations: 7.688 kB / 457.2 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009259/0.9616, allocations: 4.039 MB / 461.3 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.9629, allocations: 481.6 kB / 461.7 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.9632, allocations: 47.38 kB / 461.8 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.9642, allocations: 99 kB / 461.9 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/0.9646, allocations: 144.8 kB / 462 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.578e-05/0.9647, allocations: 44.78 kB / 462.1 MB, free: 105.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002132/0.9668, allocations: 1.267 MB / 463.3 MB, free: 104.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9669, allocations: 0.5 kB / 463.3 MB, free: 104.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003815/0.9707, allocations: 1.086 MB / 464.4 MB, free: 104.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 114 * 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: 6 * 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%) 6,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005267/0.9712, allocations: 199.5 kB / 464.6 MB, free: 104.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006998/0.9782, allocations: 5.269 MB / 469.9 MB, free: 101.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.9783, allocations: 3.75 kB / 469.9 MB, free: 101.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.9809, allocations: 2.081 MB / 472 MB, free: 100.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/0.984, allocations: 0.5543 MB / 472.5 MB, free: 100.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008781/0.9928, allocations: 6.588 MB / 479.1 MB, free: 94.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/0.9943, allocations: 1.975 MB / 481.1 MB, free: 92.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001684/0.996, allocations: 0.4935 MB / 481.6 MB, free: 92.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.9963, allocations: 123.4 kB / 481.7 MB, free: 92.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.9963, allocations: 0 / 481.7 MB, free: 92.01 MB / 382.1 MB Notification: Performance of Templates: time 0.06222/1.059, allocations: 39.81 MB / 0.5093 GB, free: 52.16 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1)