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.00158/0.00158, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.242/1.242, allocations: 170.7 MB / 178.7 MB, free: 7.051 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.001585/0.001585, allocations: 105.2 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.843e-05/1.836e-05, allocations: 4 kB / 262.2 MB, free: 3.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2429, allocations: 38.76 MB / 301 MB, free: 39.12 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09081/0.3338, allocations: 74.91 MB / 375.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.334, allocations: 75.95 kB / 376 MB, free: 4.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04843/0.3825, allocations: 19.44 MB / 395.4 MB, free: 1.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3825, allocations: 0 / 395.4 MB, free: 1.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.281e-05/0.3826, allocations: 20 kB / 395.4 MB, free: 1.129 MB / 298.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.002734/0.3853, allocations: 1.091 MB / 396.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3854, allocations: 8.031 kB / 396.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005925/0.386, allocations: 142.6 kB / 396.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008267/0.3868, allocations: 0.4965 MB / 397.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.3869, allocations: 32 kB / 397.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.387, allocations: 55.98 kB / 397.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00117/0.3882, allocations: 0.5663 MB / 397.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.3895, allocations: 0.727 MB / 398.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.3896, allocations: 0 / 398.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.495e-05/0.3896, allocations: 4 kB / 398.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.3897, allocations: 23.95 kB / 398.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/0.3943, allocations: 3.089 MB / 401.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.3955, allocations: 0.8474 MB / 402.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.396, allocations: 297.1 kB / 402.8 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.396, allocations: 20.48 kB / 402.8 MB, free: 9.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005564/0.3966, allocations: 370.4 kB / 403.2 MB, free: 9.023 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.264e-06/0.3966, allocations: 7.938 kB / 403.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.001372/0.398, allocations: 0.6759 MB / 403.9 MB, free: 8.324 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.3981, allocations: 196.5 kB / 404.1 MB, free: 8.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.3985, allocations: 345.2 kB / 404.4 MB, free: 7.746 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.3985, allocations: 25.7 kB / 404.4 MB, free: 7.715 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.3988, allocations: 395.4 kB / 404.8 MB, free: 7.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.399, allocations: 212.8 kB / 405 MB, free: 7.109 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.399, allocations: 0 / 405 MB, free: 7.109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3991, allocations: 370.7 kB / 405.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.3994, allocations: 177.6 kB / 405.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.3999, allocations: 375.5 kB / 405.9 MB, free: 6.109 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.4002, allocations: 226 kB / 406.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.4003, allocations: 0 / 406.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001295/0.4016, allocations: 0.7543 MB / 406.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4016, allocations: 8 kB / 406.9 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4016, allocations: 5.125 kB / 406.9 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007767/0.4024, allocations: 256 kB / 407.2 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.4028, allocations: 127.8 kB / 407.3 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/0.4074, allocations: 4.2 MB / 411.5 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.4079, allocations: 75.36 kB / 411.6 MB, free: 236 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.408, allocations: 31.98 kB / 411.6 MB, free: 204 kB / 314.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 (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.0002174/0.4082, allocations: 124.8 kB / 411.7 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4083, allocations: 63.25 kB / 411.8 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.4097, allocations: 0.6993 MB / 412.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.4097, allocations: 4 kB / 412.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.4097, allocations: 8 kB / 412.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.4097, allocations: 3.984 kB / 412.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.412, allocations: 1.411 MB / 413.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.412, allocations: 7.938 kB / 413.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.4124, allocations: 75.89 kB / 414 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007068/0.4131, allocations: 247 kB / 414.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.4131, allocations: 11.98 kB / 414.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/0.4176, allocations: 4.167 MB / 418.4 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.4176, allocations: 11.97 kB / 418.4 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.4193, allocations: 1.042 MB / 419.4 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.4196, allocations: 190.5 kB / 419.6 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.4197, allocations: 8.188 kB / 419.6 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.4201, allocations: 35.97 kB / 419.7 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.4203, allocations: 60.45 kB / 419.7 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.4203, allocations: 27.98 kB / 419.8 MB, free: 7.668 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003015/0.4206, allocations: 259 kB / 420 MB, free: 7.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4206, allocations: 0 / 420 MB, free: 7.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001019/0.4217, allocations: 247.1 kB / 420.3 MB, free: 7.176 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0002419/0.4219, allocations: 135.1 kB / 420.4 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.4234, allocations: 0.8346 MB / 421.2 MB, free: 6.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4234, allocations: 0 / 421.2 MB, free: 6.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008603/0.4243, allocations: 0.5939 MB / 421.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.4248, allocations: 77.16 kB / 421.9 MB, free: 5.488 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.4271, allocations: 1.019 MB / 422.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/0.4278, allocations: 0.9854 MB / 423.9 MB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003382/0.4281, allocations: 56.72 kB / 424 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.4283, allocations: 31.44 kB / 424 MB, free: 3.336 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4283, allocations: 0 / 424 MB, free: 3.336 MB / 330.7 MB Notification: Performance of Templates: time 0.1965/0.6248, allocations: 9.162 MB / 433.1 MB, free: 92.08 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)