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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.000945/0.0009451, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.161/1.161, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001527/0.001527, allocations: 111.4 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.291e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08446/0.08452, allocations: 38.78 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2909/0.3755, allocations: 75.57 MB / 383.2 MB, free: 0.707 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.3757, allocations: 84.27 kB / 383.3 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04892/0.4247, allocations: 19.66 MB / 402.9 MB, free: 352 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4247, allocations: 0 / 402.9 MB, free: 352 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.019e-05/0.4247, allocations: 24 kB / 403 MB, free: 328 kB / 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.002183/0.4269, allocations: 1.087 MB / 404.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.427, allocations: 8.031 kB / 404.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.4275, allocations: 142.5 kB / 404.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/0.4282, allocations: 0.4957 MB / 404.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.4283, allocations: 70.38 kB / 404.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.4284, allocations: 94.42 kB / 404.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.4298, allocations: 0.854 MB / 405.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.4299, allocations: 4 kB / 405.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-05/0.4299, allocations: 43 kB / 405.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.43, allocations: 20 kB / 405.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.431, allocations: 0.6217 MB / 406.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00447/0.4355, allocations: 3.259 MB / 409.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.4367, allocations: 0.8713 MB / 410.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/0.4373, allocations: 365.8 kB / 410.9 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/0.4374, allocations: 12.55 kB / 410.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005944/0.438, allocations: 399.8 kB / 411.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=69): time 2.345e-06/0.438, allocations: 0 / 411.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=69): time 0.001454/0.4395, allocations: 0.73 MB / 412 MB, free: 9.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.4396, allocations: 188.5 kB / 412.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.44, allocations: 381.4 kB / 412.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.4401, allocations: 40.64 kB / 412.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.4404, allocations: 400.5 kB / 413 MB, free: 8.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.4406, allocations: 227.5 kB / 413.2 MB, free: 7.941 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.4406, allocations: 10.19 kB / 413.2 MB, free: 7.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.4408, allocations: 367.8 kB / 413.6 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.4411, allocations: 194.3 kB / 413.8 MB, free: 7.484 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.4417, allocations: 396.8 kB / 414.2 MB, free: 7.094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.4421, allocations: 240.7 kB / 414.4 MB, free: 6.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4421, allocations: 0 / 414.4 MB, free: 6.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001589/0.4437, allocations: 0.8403 MB / 415.3 MB, free: 6.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.4437, allocations: 8 kB / 415.3 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.4438, allocations: 7.984 kB / 415.3 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000898/0.4447, allocations: 263.7 kB / 415.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.4452, allocations: 115.8 kB / 415.6 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00533/0.4505, allocations: 4.396 MB / 420 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.4512, allocations: 91.39 kB / 420.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/0.4512, allocations: 32 kB / 420.2 MB, free: 0.8438 MB / 298.7 MB 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 (65): * Single equations (assignments): 63 * 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.0002583/0.4515, allocations: 156.8 kB / 420.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.4516, allocations: 67.23 kB / 420.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.4532, allocations: 0.7563 MB / 421.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.4532, allocations: 4 kB / 421.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4532, allocations: 4 kB / 421.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.4532, allocations: 3.984 kB / 421.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.4558, allocations: 1.599 MB / 422.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4558, allocations: 0 / 422.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.4562, allocations: 79.92 kB / 422.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007581/0.457, allocations: 257.6 kB / 423.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.457, allocations: 20 kB / 423.1 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004609/0.4616, allocations: 4.326 MB / 427.4 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4617, allocations: 7.969 kB / 427.4 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.4635, allocations: 1.116 MB / 428.5 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.4638, allocations: 208.1 kB / 428.7 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.4639, allocations: 12 kB / 428.8 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.4643, allocations: 51.97 kB / 428.8 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.4645, allocations: 56.47 kB / 428.9 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.4645, allocations: 20 kB / 428.9 MB, free: 7.695 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003408/0.4649, allocations: 293.2 kB / 429.2 MB, free: 7.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4649, allocations: 4 kB / 429.2 MB, free: 7.406 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009649/0.4659, allocations: 283.2 kB / 429.4 MB, free: 7.129 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.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 (40): * Single equations (assignments): 35 * 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.0002512/0.4661, allocations: 147.1 kB / 429.6 MB, free: 6.973 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.4676, allocations: 0.8852 MB / 430.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4676, allocations: 4 kB / 430.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.4685, allocations: 0.628 MB / 431.1 MB, free: 5.402 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.469, allocations: 107.2 kB / 431.2 MB, free: 5.297 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.471, allocations: 1.072 MB / 432.3 MB, free: 4.191 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.4716, allocations: 0.9891 MB / 433.3 MB, free: 3.176 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.4719, allocations: 60.88 kB / 433.3 MB, free: 3.113 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.472, allocations: 39.44 kB / 433.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.472, allocations: 0 / 433.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of Templates: time 0.01785/0.4898, allocations: 10.27 MB / 443.6 MB, free: 8.797 MB / 330.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)