Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.001551, allocations: 105.2 kB / 17.74 MB, free: 5.336 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.001798/0.001798, allocations: 186.5 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 43.94 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2293, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.01194/0.2412, allocations: 11.95 MB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008982/0.2503, allocations: 6.499 MB / 419.9 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008602/0.2511, allocations: 63.75 kB / 419.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.2529, allocations: 0.8812 MB / 420.8 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.2547, allocations: 0.9782 MB / 421.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.2584, allocations: 1.961 MB / 423.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003115/0.2615, allocations: 3.453 MB / 427.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/0.2638, allocations: 2.167 MB / 429.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.2653, allocations: 1.464 MB / 430.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.267, allocations: 1.708 MB / 432.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004345/0.2675, allocations: 356 kB / 432.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009308/0.2684, allocations: 0.5738 MB / 433.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008196/0.2692, allocations: 0.9738 MB / 434.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.2707, allocations: 1.664 MB / 436.1 MB, free: 6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003804/0.2745, allocations: 4.751 MB / 440.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2745, allocations: 0 / 440.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2745, allocations: 0 / 440.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.241e-05/0.2745, allocations: 0 / 440.9 MB, free: 1.234 MB / 350.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.005847/0.2804, allocations: 3.44 MB / 444.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2804, allocations: 8.031 kB / 444.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.2817, allocations: 421 kB / 444.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.2845, allocations: 1.758 MB / 446.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.2846, allocations: 184.9 kB / 446.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003234/0.285, allocations: 239.9 kB / 446.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004565/0.2895, allocations: 3.049 MB / 449.9 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.166e-05/0.2896, allocations: 7.984 kB / 450 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.2898, allocations: 99.98 kB / 450.1 MB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.349e-05/0.2899, allocations: 108.6 kB / 450.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/0.2939, allocations: 2.536 MB / 452.7 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.3075, allocations: 10.13 MB / 462.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003125/0.3107, allocations: 2.707 MB / 465.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.3125, allocations: 1.255 MB / 466.8 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.3128, allocations: 126.4 kB / 466.9 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.3128, allocations: 51.81 kB / 467 MB, free: 6.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=149): time 3.175e-06/0.3128, allocations: 4 kB / 467 MB, free: 6.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=166): time 0.01604/0.3289, allocations: 8.012 MB / 475 MB, free: 14.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.329, allocations: 175.5 kB / 475.1 MB, free: 13.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.3313, allocations: 1.865 MB / 477 MB, free: 12.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.3314, allocations: 57.7 kB / 477.1 MB, free: 12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007661/0.3322, allocations: 1.149 MB / 478.2 MB, free: 10.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.3326, allocations: 0.5622 MB / 478.8 MB, free: 10.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005013/0.3332, allocations: 339.3 kB / 479.1 MB, free: 9.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.3332, allocations: 305.1 kB / 479.4 MB, free: 9.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.3346, allocations: 0.8753 MB / 480.3 MB, free: 8.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.3363, allocations: 1.322 MB / 481.6 MB, free: 7.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/0.3392, allocations: 2.258 MB / 483.9 MB, free: 4.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.3393, allocations: 7.938 kB / 483.9 MB, free: 4.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.00496/0.3442, allocations: 3.148 MB / 487 MB, free: 1.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.3443, allocations: 12 kB / 487 MB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/0.3443, allocations: 16.33 kB / 487 MB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.3462, allocations: 0.7972 MB / 487.8 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.3475, allocations: 359.5 kB / 488.2 MB, free: 432 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.3605, allocations: 12.99 MB / 0.4894 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.362, allocations: 107.9 kB / 0.4895 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.3621, allocations: 76 kB / 0.4896 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002193/0.3643, allocations: 1.472 MB / 0.4911 GB, free: 1.074 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001542/0.3659, allocations: 1.303 MB / 0.4923 GB, free: 15.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002874/0.3688, allocations: 2.235 MB / 0.4945 GB, free: 13.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.364e-06/0.3688, allocations: 4 kB / 0.4945 GB, free: 13.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.004796/0.3736, allocations: 3.129 MB / 0.4976 GB, free: 10 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3736, allocations: 8 kB / 0.4976 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.3737, allocations: 19.98 kB / 0.4976 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.3754, allocations: 0.7882 MB / 0.4984 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.3767, allocations: 363.4 kB / 0.4987 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.3894, allocations: 12.99 MB / 0.5114 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.3907, allocations: 96.52 kB / 0.5115 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.3908, allocations: 83.86 kB / 0.5116 GB, free: 10.96 MB / 446.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 (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 (191): * Single equations (assignments): 183 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 2 systems {(3,16,100.0%), (1,6,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.0003545/0.3912, allocations: 295.8 kB / 0.5119 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.3915, allocations: 217.4 kB / 0.5121 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/0.3963, allocations: 2.86 MB / 0.5149 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.3964, allocations: 7.969 kB / 0.5149 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3964, allocations: 8 kB / 0.5149 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009294/0.3973, allocations: 482.3 kB / 0.5153 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/0.3976, allocations: 36 kB / 0.5154 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.3988, allocations: 103.9 kB / 0.5155 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/0.3991, allocations: 121.8 kB / 0.5156 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006074/0.4052, allocations: 2.966 MB / 0.5185 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004582/0.4098, allocations: 3.314 MB / 0.5217 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001259/0.411, allocations: 0.9564 MB / 0.5226 GB, free: 15.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00192/0.413, allocations: 1.273 MB / 0.5239 GB, free: 14.2 MB / 462.1 MB Notification: Performance of Backend: time 3.61e-07/0.413, allocations: 3.938 kB / 0.5239 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00752/0.4205, allocations: 4.744 MB / 0.5285 GB, free: 9.266 MB / 462.1 MB Notification: Performance of SimCode: time 0.008646/0.4291, allocations: 5.917 MB / 0.5343 GB, free: 3.301 MB / 462.1 MB Notification: Performance of Templates: time 0.227/0.6561, allocations: 47.88 MB / 0.5811 GB, free: 96.73 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)