Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 115.2 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001885/0.001885, allocations: 206.7 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2186, allocations: 50.54 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.01311/0.2318, allocations: 11.98 MB / 421.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.2425, allocations: 6.557 MB / 428.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.2441, allocations: 67.69 kB / 428.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.2463, allocations: 0.889 MB / 429.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.2485, allocations: 0.9821 MB / 430.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.2527, allocations: 1.967 MB / 432.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003984/0.2567, allocations: 3.453 MB / 435.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002528/0.2593, allocations: 2.167 MB / 438 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.2612, allocations: 1.464 MB / 439.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.2632, allocations: 1.704 MB / 441.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005524/0.2638, allocations: 356 kB / 441.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.265, allocations: 0.5777 MB / 442.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009265/0.2659, allocations: 0.9777 MB / 443.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.2677, allocations: 1.676 MB / 444.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004834/0.2725, allocations: 4.76 MB / 449.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2726, allocations: 0 / 449.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.574e-06/0.2726, allocations: 4 kB / 449.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.756e-05/0.2727, allocations: 0 / 449.5 MB, free: 9.777 MB / 366.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.006653/0.2793, allocations: 3.523 MB / 453.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2794, allocations: 8.031 kB / 453.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.2807, allocations: 442.7 kB / 453.5 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.2835, allocations: 1.771 MB / 455.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.2837, allocations: 180.9 kB / 455.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.284, allocations: 247.9 kB / 455.7 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/0.2886, allocations: 3.065 MB / 458.8 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.995e-05/0.2887, allocations: 0 / 458.8 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.2889, allocations: 107.9 kB / 458.9 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.697e-05/0.289, allocations: 100.6 kB / 459 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004244/0.2933, allocations: 2.536 MB / 461.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.3075, allocations: 10.18 MB / 471.7 MB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.3107, allocations: 2.71 MB / 474.4 MB, free: 184 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.3125, allocations: 1.239 MB / 475.6 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.3128, allocations: 126.9 kB / 475.7 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.3129, allocations: 51.81 kB / 475.8 MB, free: 14.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=149): time 3.407e-06/0.3129, allocations: 7.938 kB / 475.8 MB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=166): time 0.01672/0.3296, allocations: 8.056 MB / 483.9 MB, free: 6.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.3297, allocations: 197.2 kB / 484 MB, free: 6.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/0.3326, allocations: 1.881 MB / 485.9 MB, free: 4.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.3328, allocations: 53.7 kB / 486 MB, free: 4.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008308/0.3336, allocations: 1.187 MB / 487.2 MB, free: 3.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/0.334, allocations: 0.5887 MB / 487.8 MB, free: 2.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/0.3346, allocations: 343.5 kB / 488.1 MB, free: 2.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3347, allocations: 301.1 kB / 488.4 MB, free: 1.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.3361, allocations: 0.8714 MB / 489.3 MB, free: 0.9922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.3377, allocations: 1.327 MB / 490.6 MB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.3408, allocations: 2.254 MB / 492.8 MB, free: 13.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.3408, allocations: 4 kB / 492.8 MB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.005082/0.3459, allocations: 3.165 MB / 496 MB, free: 9.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3459, allocations: 8 kB / 496 MB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/0.346, allocations: 24.05 kB / 496 MB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.3479, allocations: 0.7936 MB / 496.8 MB, free: 9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.3492, allocations: 359.5 kB / 497.2 MB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.3622, allocations: 13 MB / 0.4982 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.3639, allocations: 103.9 kB / 0.4983 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.3641, allocations: 72 kB / 0.4984 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002392/0.3665, allocations: 1.472 MB / 0.4998 GB, free: 9.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001622/0.3681, allocations: 1.312 MB / 0.5011 GB, free: 7.805 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002931/0.371, allocations: 2.235 MB / 0.5033 GB, free: 5.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.093e-06/0.371, allocations: 4 kB / 0.5033 GB, free: 5.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.005021/0.3761, allocations: 3.142 MB / 0.5064 GB, free: 2.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3761, allocations: 15.88 kB / 0.5064 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.3761, allocations: 19.98 kB / 0.5064 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.3779, allocations: 0.7968 MB / 0.5072 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.3792, allocations: 359.4 kB / 0.5075 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.392, allocations: 13 MB / 0.5202 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.3938, allocations: 108 kB / 0.5203 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.394, allocations: 67.98 kB / 0.5204 GB, free: 3.152 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.0004517/0.3944, allocations: 295.8 kB / 0.5207 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/0.3948, allocations: 226.6 kB / 0.5209 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004855/0.3997, allocations: 2.861 MB / 0.5237 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.3997, allocations: 11.91 kB / 0.5237 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3997, allocations: 0 / 0.5237 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009367/0.4006, allocations: 495.5 kB / 0.5242 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.4009, allocations: 35.98 kB / 0.5242 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.402, allocations: 95.89 kB / 0.5243 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.4023, allocations: 125.8 kB / 0.5244 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005865/0.4082, allocations: 2.966 MB / 0.5273 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004697/0.4129, allocations: 3.327 MB / 0.5306 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001264/0.4142, allocations: 0.9524 MB / 0.5315 GB, free: 7.664 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001871/0.416, allocations: 1.289 MB / 0.5327 GB, free: 6.352 MB / 462.1 MB Notification: Performance of Backend: time 3.6e-07/0.4161, allocations: 3.938 kB / 0.5328 GB, free: 6.348 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007763/0.4238, allocations: 4.767 MB / 0.5374 GB, free: 1.391 MB / 462.1 MB Notification: Performance of SimCode: time 0.1796/0.6035, allocations: 6.009 MB / 0.5433 GB, free: 122.9 MB / 462.1 MB Notification: Performance of Templates: time 0.06039/0.6639, allocations: 47.93 MB / 0.5901 GB, free: 83.97 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)