Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004007/0.004007, allocations: 177.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.429/1.429, allocations: 170.6 MB / 178.4 MB, free: 15.36 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001819/0.001819, allocations: 119.8 kB / 217.7 MB, free: 8.133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.506e-06/8.546e-06, allocations: 0 / 261.7 MB, free: 26.63 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08108/0.0811, allocations: 38.76 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2761/0.3573, allocations: 74.84 MB / 375.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.3576, allocations: 77.17 kB / 375.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.05525/0.4128, allocations: 19.19 MB / 394.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.229e-05/0.413, allocations: 16 kB / 394.6 MB, free: 10.16 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003528/0.4165, allocations: 1.109 MB / 395.7 MB, free: 9.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.4166, allocations: 8.031 kB / 395.7 MB, free: 9.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000767/0.4173, allocations: 141.5 kB / 395.9 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.4185, allocations: 0.4946 MB / 396.4 MB, free: 8.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.4186, allocations: 28 kB / 396.4 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.4188, allocations: 55.91 kB / 396.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001417/0.4202, allocations: 0.5726 MB / 397 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.4217, allocations: 0.7234 MB / 397.7 MB, free: 7.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.4217, allocations: 7.938 kB / 397.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/0.4218, allocations: 0 / 397.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.4219, allocations: 24 kB / 397.8 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005893/0.4278, allocations: 3.089 MB / 400.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.4288, allocations: 0.5367 MB / 401.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.4295, allocations: 321 kB / 401.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.063e-05/0.4295, allocations: 8.656 kB / 401.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006386/0.4302, allocations: 364.6 kB / 402.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=69): time 4.599e-06/0.4302, allocations: 0 / 402.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=69): time 0.00162/0.4318, allocations: 0.6868 MB / 402.8 MB, free: 3.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.432, allocations: 196.1 kB / 403 MB, free: 3.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.4325, allocations: 337.7 kB / 403.3 MB, free: 3.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.4325, allocations: 33.64 kB / 403.3 MB, free: 2.965 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.4328, allocations: 346.3 kB / 403.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.4331, allocations: 209.7 kB / 403.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.4331, allocations: 0 / 403.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4333, allocations: 366.8 kB / 404.2 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.4336, allocations: 183.4 kB / 404.4 MB, free: 2.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.4341, allocations: 385.3 kB / 404.8 MB, free: 1.656 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/0.4346, allocations: 223.8 kB / 405 MB, free: 1.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/0.4346, allocations: 4 kB / 405 MB, free: 1.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001673/0.4363, allocations: 0.773 MB / 405.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4363, allocations: 11.94 kB / 405.8 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.4364, allocations: 7.984 kB / 405.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009384/0.4373, allocations: 270.4 kB / 406.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/0.4378, allocations: 123.4 kB / 406.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00674/0.4446, allocations: 4.061 MB / 410.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.4457, allocations: 79.27 kB / 410.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.4458, allocations: 35.98 kB / 410.4 MB, free: 12.26 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: rectifierQS.vQS.re:VARIABLE(unit = "V" ) type: Real rectifierQS.vQS.im:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (64): * Single equations (assignments): 62 * 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 18,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003463/0.4462, allocations: 128.8 kB / 410.5 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.4464, allocations: 63.25 kB / 410.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.4488, allocations: 0.7025 MB / 411.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.4488, allocations: 8 kB / 411.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4489, allocations: 7.906 kB / 411.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.4489, allocations: 3.984 kB / 411.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.4504, allocations: 0.6434 MB / 411.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4505, allocations: 0 / 411.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.4511, allocations: 83.83 kB / 412 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.4523, allocations: 277.7 kB / 412.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.4524, allocations: 3.984 kB / 412.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006262/0.4586, allocations: 4.051 MB / 416.3 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4587, allocations: 0 / 416.3 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0026/0.4613, allocations: 1.038 MB / 417.4 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004487/0.4617, allocations: 200.1 kB / 417.5 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.4619, allocations: 4 kB / 417.6 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.4625, allocations: 43.97 kB / 417.6 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.4626, allocations: 44.58 kB / 417.6 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.4627, allocations: 16 kB / 417.7 MB, free: 4.602 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0005002/0.4632, allocations: 263.2 kB / 417.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001365/0.4646, allocations: 239.1 kB / 418.1 MB, free: 4.113 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x,voltageQS.pin_p.reference.gamma) * 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 (iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003818/0.465, allocations: 139.1 kB / 418.3 MB, free: 3.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.4667, allocations: 0.7896 MB / 419.1 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4668, allocations: 0 / 419.1 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.4678, allocations: 0.5518 MB / 419.6 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.4684, allocations: 67.14 kB / 419.7 MB, free: 2.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.4716, allocations: 1.048 MB / 420.7 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008814/0.4725, allocations: 1.004 MB / 421.7 MB, free: 416 kB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4725, allocations: 0 / 421.7 MB, free: 416 kB / 298.7 MB Notification: Performance of Templates: time 0.02133/0.4939, allocations: 10.41 MB / 432.2 MB, free: 5.977 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1)