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.001603/0.001603, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001935/0.001935, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 59.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2362, allocations: 50.54 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.0128/0.2491, allocations: 11.98 MB / 421.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.26, allocations: 6.561 MB / 428.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.2619, allocations: 63.75 kB / 428.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.2641, allocations: 0.8707 MB / 429.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.2666, allocations: 0.9391 MB / 430.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004185/0.2708, allocations: 1.971 MB / 432.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003932/0.2747, allocations: 3.449 MB / 435.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002515/0.2772, allocations: 2.171 MB / 438 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.2792, allocations: 1.464 MB / 439.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.2812, allocations: 1.704 MB / 441.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005105/0.2817, allocations: 360 kB / 441.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.2828, allocations: 0.5777 MB / 442.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008508/0.2836, allocations: 0.9777 MB / 443 MB, free: 344 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.2853, allocations: 1.664 MB / 444.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.2897, allocations: 4.751 MB / 449.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2897, allocations: 0 / 449.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2897, allocations: 0 / 449.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.046e-05/0.2898, allocations: 4 kB / 449.5 MB, free: 9.895 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.006547/0.2963, allocations: 3.438 MB / 452.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2964, allocations: 16.03 kB / 452.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.2977, allocations: 425 kB / 453.3 MB, free: 5.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/0.3009, allocations: 1.754 MB / 455.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.3011, allocations: 180.9 kB / 455.3 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.3014, allocations: 239.9 kB / 455.5 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004673/0.3061, allocations: 3.062 MB / 458.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.19e-05/0.3062, allocations: 11.89 kB / 458.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.3064, allocations: 96 kB / 458.7 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.3065, allocations: 108.5 kB / 458.8 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00421/0.3107, allocations: 2.536 MB / 461.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.3249, allocations: 10.14 MB / 471.4 MB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.3282, allocations: 2.722 MB / 474.2 MB, free: 444 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.3301, allocations: 1.231 MB / 475.4 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.3303, allocations: 126.3 kB / 475.5 MB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.3304, allocations: 52.34 kB / 475.6 MB, free: 15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=149): time 4.849e-06/0.3304, allocations: 0 / 475.6 MB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=166): time 0.01695/0.3474, allocations: 8.024 MB / 483.6 MB, free: 6.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.3475, allocations: 201.2 kB / 483.8 MB, free: 6.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.3501, allocations: 1.874 MB / 485.7 MB, free: 4.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.3503, allocations: 61.64 kB / 485.7 MB, free: 4.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008263/0.3511, allocations: 1.161 MB / 486.9 MB, free: 3.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/0.3516, allocations: 0.5622 MB / 487.4 MB, free: 2.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005107/0.3521, allocations: 339.3 kB / 487.8 MB, free: 2.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3522, allocations: 301.1 kB / 488.1 MB, free: 2.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.3535, allocations: 0.8753 MB / 488.9 MB, free: 1.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.3553, allocations: 1.319 MB / 490.3 MB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/0.3586, allocations: 2.258 MB / 492.5 MB, free: 13.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.3586, allocations: 4 kB / 492.5 MB, free: 13.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.005112/0.3637, allocations: 3.156 MB / 495.7 MB, free: 10.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.3637, allocations: 12 kB / 495.7 MB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.3638, allocations: 12 kB / 495.7 MB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/0.3657, allocations: 0.7898 MB / 496.5 MB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.3671, allocations: 363.4 kB / 496.8 MB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.3802, allocations: 12.99 MB / 0.4979 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.382, allocations: 111.8 kB / 0.498 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.3821, allocations: 68 kB / 0.4981 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002389/0.3845, allocations: 1.472 MB / 0.4995 GB, free: 9.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001621/0.3862, allocations: 1.312 MB / 0.5008 GB, free: 8.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002972/0.3891, allocations: 2.239 MB / 0.503 GB, free: 5.762 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.624e-06/0.3892, allocations: 0 / 0.503 GB, free: 5.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.005326/0.3945, allocations: 3.129 MB / 0.506 GB, free: 2.586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.3945, allocations: 18.91 kB / 0.506 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/0.3946, allocations: 19.94 kB / 0.5061 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.3964, allocations: 0.7928 MB / 0.5068 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.3977, allocations: 355.4 kB / 0.5072 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.4102, allocations: 13.01 MB / 0.5199 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.4119, allocations: 95.91 kB / 0.52 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.4121, allocations: 72 kB / 0.52 GB, free: 3.535 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.0004422/0.4125, allocations: 303.7 kB / 0.5203 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.4129, allocations: 217.4 kB / 0.5205 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/0.4176, allocations: 2.857 MB / 0.5233 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.4176, allocations: 11.91 kB / 0.5233 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4176, allocations: 0 / 0.5233 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.4186, allocations: 482.3 kB / 0.5238 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/0.4189, allocations: 36 kB / 0.5238 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.42, allocations: 99.89 kB / 0.5239 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.4202, allocations: 129.8 kB / 0.5241 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005525/0.4257, allocations: 2.958 MB / 0.5269 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004346/0.4301, allocations: 3.314 MB / 0.5302 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001187/0.4313, allocations: 0.9564 MB / 0.5311 GB, free: 8.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001798/0.4331, allocations: 1.281 MB / 0.5324 GB, free: 6.766 MB / 462.1 MB Notification: Performance of Backend: time 2.014e-06/0.4331, allocations: 0 / 0.5324 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00746/0.4406, allocations: 4.741 MB / 0.537 GB, free: 1.836 MB / 462.1 MB Notification: Performance of SimCode: time 0.1927/0.6333, allocations: 5.916 MB / 0.5428 GB, free: 122.7 MB / 462.1 MB Notification: Performance of Templates: time 0.0554/0.6887, allocations: 47.93 MB / 0.5896 GB, free: 84.12 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)