Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 192.7 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 51.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2374, allocations: 46.64 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.007066/0.2445, allocations: 6.246 MB / 330.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.2486, allocations: 2.152 MB / 333.1 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.2492, allocations: 20.75 kB / 333.1 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.251, allocations: 0.6895 MB / 333.8 MB, free: 10.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.2526, allocations: 0.7142 MB / 334.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000902/0.2535, allocations: 463.5 kB / 335 MB, free: 9.801 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009917/0.2545, allocations: 1.127 MB / 336.1 MB, free: 8.711 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009675/0.2555, allocations: 0.6783 MB / 336.8 MB, free: 8.012 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004729/0.256, allocations: 430.2 kB / 337.2 MB, free: 7.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006798/0.2567, allocations: 0.5171 MB / 337.7 MB, free: 7.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.2568, allocations: 68 kB / 337.8 MB, free: 7.004 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007473/0.2576, allocations: 219.9 kB / 338 MB, free: 6.789 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.2578, allocations: 211.1 kB / 338.2 MB, free: 6.582 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.2584, allocations: 0.5129 MB / 338.7 MB, free: 6.066 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.2598, allocations: 1.398 MB / 340.1 MB, free: 4.664 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2599, allocations: 0 / 340.1 MB, free: 4.664 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.2599, allocations: 0 / 340.1 MB, free: 4.664 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.2599, allocations: 0 / 340.1 MB, free: 4.664 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003094/0.263, allocations: 1.44 MB / 341.5 MB, free: 3.168 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.263, allocations: 12.03 kB / 341.5 MB, free: 3.156 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002974/0.266, allocations: 475.2 kB / 342 MB, free: 2.691 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/0.2669, allocations: 0.5616 MB / 342.6 MB, free: 2.086 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/0.267, allocations: 78.41 kB / 342.7 MB, free: 2.008 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.2672, allocations: 100.4 kB / 342.7 MB, free: 1.91 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.269, allocations: 1.063 MB / 343.8 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.269, allocations: 7.984 kB / 343.8 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/0.2691, allocations: 40 kB / 343.9 MB, free: 0.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.2692, allocations: 24 kB / 343.9 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.2709, allocations: 0.9213 MB / 344.8 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/0.2766, allocations: 3.746 MB / 348.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.2793, allocations: 2.486 MB / 351 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009494/0.2802, allocations: 463.5 kB / 351.5 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.2804, allocations: 101.7 kB / 351.6 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008584/0.2812, allocations: 0.493 MB / 352.1 MB, free: 7.922 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 2.525e-06/0.2812, allocations: 0 / 352.1 MB, free: 7.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=86): time 0.004445/0.2857, allocations: 1.69 MB / 353.8 MB, free: 6.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.2858, allocations: 200.9 kB / 354 MB, free: 5.941 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/0.2864, allocations: 477.9 kB / 354.4 MB, free: 5.461 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.2865, allocations: 45.69 kB / 354.5 MB, free: 5.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.2868, allocations: 427.4 kB / 354.9 MB, free: 4.984 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.287, allocations: 283.9 kB / 355.2 MB, free: 4.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.2873, allocations: 166.6 kB / 355.3 MB, free: 4.535 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2874, allocations: 378.7 kB / 355.7 MB, free: 4.156 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.288, allocations: 277.9 kB / 356 MB, free: 3.883 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007196/0.2887, allocations: 0.52 MB / 356.5 MB, free: 3.262 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.29, allocations: 0.8031 MB / 357.3 MB, free: 2.367 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.2901, allocations: 4 kB / 357.3 MB, free: 2.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002122/0.2922, allocations: 1.084 MB / 358.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2922, allocations: 8 kB / 358.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.2922, allocations: 7.984 kB / 358.4 MB, free: 1.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009306/0.2932, allocations: 274.2 kB / 358.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.2938, allocations: 163.7 kB / 358.8 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005101/0.2989, allocations: 4.391 MB / 363.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/0.2996, allocations: 107 kB / 363.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.2997, allocations: 39.94 kB / 363.4 MB, free: 12.02 MB / 302.1 MB 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,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean2.y,$PRE.iAC.mean2.y,iAC.mean1.y,$PRE.iAC.mean1.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004529/0.3001, allocations: 253.6 kB / 363.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3002, allocations: 67.19 kB / 363.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.3022, allocations: 0.9636 MB / 364.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3022, allocations: 8 kB / 364.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3022, allocations: 7.984 kB / 364.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3022, allocations: 7.984 kB / 364.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.3054, allocations: 1.951 MB / 366.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3054, allocations: 192 / 366.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.3058, allocations: 103.9 kB / 366.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007828/0.3066, allocations: 261.4 kB / 367 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.3067, allocations: 23.92 kB / 367 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004743/0.3114, allocations: 4.353 MB / 371.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3115, allocations: 0 / 371.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.314, allocations: 1.392 MB / 372.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.3143, allocations: 208 kB / 372.9 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.3144, allocations: 28 kB / 373 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.3148, allocations: 35.97 kB / 373 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.315, allocations: 72.89 kB / 373.1 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.3151, allocations: 27.98 kB / 373.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003561/0.3154, allocations: 318.9 kB / 373.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3154, allocations: 0 / 373.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001104/0.3165, allocations: 311.1 kB / 373.7 MB, free: 1.242 MB / 302.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003126/0.3169, allocations: 167.2 kB / 373.9 MB, free: 1.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.3189, allocations: 1.093 MB / 375 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3189, allocations: 4 kB / 375 MB, free: 15.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.32, allocations: 0.7315 MB / 375.7 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.3207, allocations: 122 kB / 375.8 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.3239, allocations: 2.118 MB / 377.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.3245, allocations: 0.9944 MB / 378.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003973/0.3249, allocations: 85.66 kB / 379 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.325, allocations: 51.42 kB / 379.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of SimCode: time 5.1e-07/0.325, allocations: 0 / 379.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of Templates: time 0.01927/0.3443, allocations: 11.64 MB / 390.7 MB, free: 112 kB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1)