Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00201/0.00201, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.408/1.408, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001846/0.001846, allocations: 121.9 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.224e-05/1.226e-05, allocations: 0 / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08506/0.08509, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3101/0.3952, allocations: 81.59 MB / 424.2 MB, free: 14.31 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.3955, allocations: 80.45 kB / 424.2 MB, free: 14.27 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04897/0.4444, allocations: 21.92 MB / 446.2 MB, free: 12.54 MB / 331.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4445, allocations: 0 / 446.2 MB, free: 12.54 MB / 331.1 MB Notification: Performance of Transformations before backend: time 4.494e-05/0.4445, allocations: 20 kB / 446.2 MB, free: 12.52 MB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.00246/0.447, allocations: 1.137 MB / 447.3 MB, free: 11.42 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.447, allocations: 12.88 kB / 447.3 MB, free: 11.41 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.4491, allocations: 371.8 kB / 447.7 MB, free: 11.07 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008832/0.45, allocations: 0.5322 MB / 448.2 MB, free: 10.61 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.4501, allocations: 36 kB / 448.3 MB, free: 10.57 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.4502, allocations: 56 kB / 448.3 MB, free: 10.52 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001327/0.4516, allocations: 0.7865 MB / 449.1 MB, free: 10.02 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.453, allocations: 0.8399 MB / 449.9 MB, free: 9.375 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.453, allocations: 3.906 kB / 449.9 MB, free: 9.371 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.4531, allocations: 4 kB / 450 MB, free: 9.367 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.4531, allocations: 28.78 kB / 450 MB, free: 9.34 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00539/0.4585, allocations: 3.597 MB / 453.6 MB, free: 6.359 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.4608, allocations: 2.408 MB / 456 MB, free: 3.914 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.4614, allocations: 368 kB / 456.3 MB, free: 3.676 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.4615, allocations: 89.89 kB / 456.4 MB, free: 3.57 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000637/0.4621, allocations: 439 kB / 456.9 MB, free: 3.227 MB / 331.1 MB Notification: Performance of pre-optimization done (n=86): time 2.164e-06/0.4621, allocations: 3.938 kB / 456.9 MB, free: 3.223 MB / 331.1 MB Notification: Performance of matching and sorting (n=86): time 0.001779/0.4639, allocations: 0.8199 MB / 457.7 MB, free: 2.59 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.946e-05/0.464, allocations: 192.7 kB / 457.9 MB, free: 2.359 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.4645, allocations: 368.7 kB / 458.2 MB, free: 2.078 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/0.4645, allocations: 29.7 kB / 458.3 MB, free: 2.043 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.4649, allocations: 426.4 kB / 458.7 MB, free: 1.703 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.4651, allocations: 271.6 kB / 458.9 MB, free: 1.469 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.4651, allocations: 0 / 458.9 MB, free: 1.469 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.4653, allocations: 371.3 kB / 459.3 MB, free: 1.121 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.4657, allocations: 226.5 kB / 459.5 MB, free: 0.9922 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.4663, allocations: 471.4 kB / 460 MB, free: 0.543 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.467, allocations: 341 kB / 460.3 MB, free: 324 kB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.467, allocations: 7.984 kB / 460.3 MB, free: 316 kB / 331.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001836/0.4688, allocations: 0.9695 MB / 461.3 MB, free: 15.56 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.4689, allocations: 8 kB / 461.3 MB, free: 15.55 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4689, allocations: 4 kB / 461.3 MB, free: 15.55 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007467/0.4697, allocations: 258.3 kB / 461.6 MB, free: 15.36 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.4702, allocations: 163.6 kB / 461.7 MB, free: 15.2 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004513/0.4748, allocations: 4.202 MB / 465.9 MB, free: 10.96 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/0.4755, allocations: 91.23 kB / 466 MB, free: 10.88 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.4756, allocations: 43.98 kB / 466.1 MB, free: 10.83 MB / 347.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: rectifierQS.vQS.re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real rectifierQS.vQS.im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 17,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.4758, allocations: 133.5 kB / 466.2 MB, free: 10.7 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.476, allocations: 75.16 kB / 466.3 MB, free: 10.62 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.4778, allocations: 0.8682 MB / 467.1 MB, free: 9.738 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4779, allocations: 12.94 kB / 467.1 MB, free: 9.727 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.4779, allocations: 0 / 467.1 MB, free: 9.727 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.4779, allocations: 8.078 kB / 467.1 MB, free: 9.719 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.4808, allocations: 1.756 MB / 468.9 MB, free: 7.906 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.4808, allocations: 4 kB / 468.9 MB, free: 7.902 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.4813, allocations: 103.9 kB / 469 MB, free: 7.801 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007212/0.482, allocations: 242.7 kB / 469.2 MB, free: 7.559 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.4821, allocations: 7.984 kB / 469.3 MB, free: 7.551 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00463/0.4867, allocations: 4.192 MB / 473.4 MB, free: 3.121 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4868, allocations: 4.062 kB / 473.4 MB, free: 3.117 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.4892, allocations: 1.26 MB / 474.7 MB, free: 1.828 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/0.4895, allocations: 212.1 kB / 474.9 MB, free: 1.602 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/0.4896, allocations: 4 kB / 474.9 MB, free: 1.598 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.4901, allocations: 31.97 kB / 475 MB, free: 1.566 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.4902, allocations: 80.62 kB / 475 MB, free: 1.488 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.4903, allocations: 23.98 kB / 475.1 MB, free: 1.465 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0003519/0.4907, allocations: 271 kB / 475.3 MB, free: 1.203 MB / 347.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4907, allocations: 0 / 475.3 MB, free: 1.203 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.001221/0.4919, allocations: 283.2 kB / 475.6 MB, free: 0.9258 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (currentSensorQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002806/0.4922, allocations: 147.1 kB / 475.7 MB, free: 0.7734 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.4939, allocations: 0.9755 MB / 476.7 MB, free: 15.78 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.494, allocations: 0 / 476.7 MB, free: 15.78 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009106/0.4949, allocations: 0.6622 MB / 477.4 MB, free: 15.1 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.4954, allocations: 72.86 kB / 477.4 MB, free: 15.04 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.4995, allocations: 1.638 MB / 479.1 MB, free: 13.36 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.5002, allocations: 1.022 MB / 480.1 MB, free: 12.31 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0003903/0.5006, allocations: 77.34 kB / 480.2 MB, free: 12.23 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.5007, allocations: 51.42 kB / 480.2 MB, free: 12.18 MB / 363.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5007, allocations: 0 / 480.2 MB, free: 12.18 MB / 363.1 MB Notification: Performance of Templates: time 0.01817/0.5189, allocations: 10.1 MB / 490.3 MB, free: 2.117 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1)