Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007667/0.0007667, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0007916/0.0007916, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.36/1.36, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.0004567/0.0004567, allocations: 12.38 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09105, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.01709/0.1082, allocations: 15.81 MB / 344.1 MB, free: 3.863 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.123, allocations: 8.37 MB / 352.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.1255, allocations: 87.62 kB / 352.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003341/0.1288, allocations: 1.081 MB / 353.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.1339, allocations: 1.441 MB / 355.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005861/0.1397, allocations: 2.094 MB / 357.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007946/0.1477, allocations: 5.313 MB / 362.5 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/0.151, allocations: 2.686 MB / 365.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.1532, allocations: 1.579 MB / 366.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.1554, allocations: 1.991 MB / 368.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004276/0.1559, allocations: 236 kB / 369 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.1572, allocations: 0.5775 MB / 369.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007087/0.1579, allocations: 0.8792 MB / 370.5 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.1599, allocations: 2.069 MB / 372.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007154/0.1671, allocations: 7.081 MB / 379.6 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.1671, allocations: 0 / 379.6 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1671, allocations: 0 / 379.6 MB, free: 208 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002657/0.1674, allocations: 0 / 379.6 MB, free: 208 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.1779/0.3453, allocations: 4.385 MB / 384 MB, free: 49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3453, allocations: 9.781 kB / 384 MB, free: 49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006298/0.3516, allocations: 0.9927 MB / 385 MB, free: 48.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006971/0.3586, allocations: 2.591 MB / 387.6 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/0.3591, allocations: 275.5 kB / 387.9 MB, free: 47.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.3606, allocations: 372.2 kB / 388.2 MB, free: 47.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/0.3724, allocations: 4.733 MB / 393 MB, free: 45.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.742e-05/0.3726, allocations: 6 kB / 393 MB, free: 45.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.3729, allocations: 155 kB / 393.1 MB, free: 44.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.3731, allocations: 150.5 kB / 393.3 MB, free: 44.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006673/0.3798, allocations: 4.014 MB / 397.3 MB, free: 42.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.4012, allocations: 16.04 MB / 413.3 MB, free: 28.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005382/0.4066, allocations: 7.896 MB / 421.2 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/0.4089, allocations: 1.782 MB / 423 MB, free: 17.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007528/0.4164, allocations: 5.219 MB / 428.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.4165, allocations: 52.56 kB / 428.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=180): time 3.547e-06/0.4165, allocations: 0 / 428.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=183): time 0.01168/0.4282, allocations: 7.237 MB / 435.5 MB, free: 4.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.4283, allocations: 172.2 kB / 435.7 MB, free: 4.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/0.431, allocations: 2.265 MB / 437.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.4312, allocations: 57.7 kB / 438 MB, free: 2.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008912/0.4321, allocations: 1.686 MB / 439.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.4325, allocations: 0.623 MB / 440.3 MB, free: 120 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.4327, allocations: 178.2 kB / 440.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4328, allocations: 313.1 kB / 440.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.4342, allocations: 0.8711 MB / 441.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/0.4361, allocations: 1.529 MB / 443.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003282/0.4394, allocations: 2.472 MB / 445.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.4394, allocations: 4 kB / 445.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.005166/0.4446, allocations: 3.121 MB / 448.8 MB, free: 7.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004915/0.4451, allocations: 0.6541 MB / 449.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.4452, allocations: 20 kB / 449.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.4462, allocations: 475.7 kB / 449.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.448, allocations: 491.2 kB / 450.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007701/0.4557, allocations: 8.09 MB / 458.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.458, allocations: 95.86 kB / 458.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.4582, allocations: 96.09 kB / 458.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.4582, allocations: 4 kB / 458.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004626/0.4628, allocations: 2.841 MB / 461.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.213e-05/0.4629, allocations: 20 kB / 461.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.4639, allocations: 472.3 kB / 462 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.4656, allocations: 487.2 kB / 462.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007587/0.4732, allocations: 8.082 MB / 470.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.4751, allocations: 83.97 kB / 470.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.4753, allocations: 95.98 kB / 470.7 MB, free: 15.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].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 (258): * Single equations (assignments): 251 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002266/0.4775, allocations: 1.153 MB / 471.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004777/0.478, allocations: 256.9 kB / 472.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/0.4827, allocations: 2.846 MB / 475 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.4828, allocations: 23.98 kB / 475 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4828, allocations: 7.938 kB / 475 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.4828, allocations: 12.44 kB / 475 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009353/0.4922, allocations: 6.057 MB / 481.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.4922, allocations: 0 / 481.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.4934, allocations: 255.7 kB / 481.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.495, allocations: 0.6569 MB / 482 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.4951, allocations: 43.98 kB / 482 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.5085, allocations: 12.65 MB / 494.7 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.5085, allocations: 4 kB / 494.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006424/0.515, allocations: 3.983 MB / 498.7 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/0.517, allocations: 0.5135 MB / 499.2 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000804/0.5178, allocations: 44 kB / 499.2 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.5191, allocations: 84.41 kB / 499.3 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003716/0.5195, allocations: 145.7 kB / 499.4 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.5196, allocations: 47.98 kB / 499.5 MB, free: 1.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00244/0.5221, allocations: 1.542 MB / 0.4893 GB, free: 252 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5221, allocations: 0 / 0.4893 GB, free: 252 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.004125/0.5262, allocations: 1.289 MB / 0.4906 GB, free: 14.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,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 (130): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005479/0.5268, allocations: 222.7 kB / 0.4908 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0078/0.5346, allocations: 4.855 MB / 0.4955 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.5346, allocations: 3.938 kB / 0.4955 GB, free: 9.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003063/0.5377, allocations: 1.986 MB / 0.4974 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004104/0.5418, allocations: 0.6573 MB / 0.4981 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.5547, allocations: 8.703 MB / 0.5066 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002348/0.5571, allocations: 2.512 MB / 0.509 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002605/0.5598, allocations: 0.6102 MB / 0.5096 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/0.5602, allocations: 155.4 kB / 0.5098 GB, free: 10.96 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5602, allocations: 0 / 0.5098 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Templates: time 0.2499/0.8101, allocations: 42.12 MB / 0.5509 GB, free: 129.2 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)