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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, 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.001073/0.001073, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.372/1.372, allocations: 205.1 MB / 222 MB, free: 4.73 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.001122/0.001122, allocations: 51.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2662, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006709/0.273, allocations: 6.237 MB / 330.9 MB, free: 13 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004706/0.2777, allocations: 2.156 MB / 333.1 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000594/0.2784, allocations: 21.31 kB / 333.1 MB, free: 11.24 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.2803, allocations: 0.6936 MB / 333.8 MB, free: 10.72 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.2821, allocations: 0.7174 MB / 334.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009684/0.283, allocations: 460.8 kB / 335 MB, free: 9.812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.2841, allocations: 1.126 MB / 336.1 MB, free: 8.727 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009605/0.2851, allocations: 0.6783 MB / 336.8 MB, free: 8.027 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.2856, allocations: 422.3 kB / 337.2 MB, free: 7.613 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.2861, allocations: 0.5211 MB / 337.7 MB, free: 7.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.2863, allocations: 68 kB / 337.8 MB, free: 7.023 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.2868, allocations: 231.7 kB / 338 MB, free: 6.797 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.287, allocations: 211.1 kB / 338.2 MB, free: 6.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.2874, allocations: 0.5012 MB / 338.7 MB, free: 6.086 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.2887, allocations: 1.398 MB / 340.1 MB, free: 4.684 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2887, allocations: 0 / 340.1 MB, free: 4.684 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2887, allocations: 0 / 340.1 MB, free: 4.684 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.2887, allocations: 0 / 340.1 MB, free: 4.684 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.002834/0.2915, allocations: 1.444 MB / 341.5 MB, free: 3.184 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2916, allocations: 12.03 kB / 341.5 MB, free: 3.172 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/0.2945, allocations: 479.2 kB / 342 MB, free: 2.703 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008843/0.2954, allocations: 0.5655 MB / 342.6 MB, free: 2.094 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/0.2955, allocations: 78.39 kB / 342.7 MB, free: 2.016 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.2956, allocations: 104.4 kB / 342.8 MB, free: 1.914 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.2975, allocations: 1.059 MB / 343.8 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.2975, allocations: 4 kB / 343.8 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-05/0.2976, allocations: 40 kB / 343.9 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.2977, allocations: 24 kB / 343.9 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.2993, allocations: 0.9135 MB / 344.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005315/0.3046, allocations: 3.75 MB / 348.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.3072, allocations: 2.482 MB / 351 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009051/0.3082, allocations: 471.5 kB / 351.5 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.3083, allocations: 93.73 kB / 351.6 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008588/0.3092, allocations: 0.4891 MB / 352.1 MB, free: 7.945 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 4.969e-06/0.3092, allocations: 4 kB / 352.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=86): time 0.004336/0.3135, allocations: 1.701 MB / 353.8 MB, free: 6.188 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/0.3136, allocations: 192.9 kB / 354 MB, free: 5.957 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.3142, allocations: 474 kB / 354.4 MB, free: 5.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/0.3142, allocations: 41.7 kB / 354.5 MB, free: 5.434 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.3146, allocations: 439.4 kB / 354.9 MB, free: 4.996 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.3148, allocations: 279.9 kB / 355.2 MB, free: 4.719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.3151, allocations: 162.6 kB / 355.3 MB, free: 4.555 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3152, allocations: 378.7 kB / 355.7 MB, free: 4.176 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.3158, allocations: 277.9 kB / 356 MB, free: 3.902 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007022/0.3165, allocations: 0.52 MB / 356.5 MB, free: 3.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.3177, allocations: 0.8109 MB / 357.3 MB, free: 2.379 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.3178, allocations: 0 / 357.3 MB, free: 2.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001891/0.3197, allocations: 1.084 MB / 358.4 MB, free: 1.281 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3197, allocations: 8 kB / 358.4 MB, free: 1.273 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3197, allocations: 4 kB / 358.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008696/0.3206, allocations: 274.2 kB / 358.7 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.3212, allocations: 167.7 kB / 358.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005647/0.3268, allocations: 4.383 MB / 363.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/0.3275, allocations: 111.1 kB / 363.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.3276, allocations: 47.92 kB / 363.4 MB, free: 12.03 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.0004228/0.328, allocations: 249.6 kB / 363.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3281, allocations: 63.25 kB / 363.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.33, allocations: 0.9713 MB / 364.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.33, allocations: 8 kB / 364.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.33, allocations: 0 / 364.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.33, allocations: 7.922 kB / 364.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.3331, allocations: 1.959 MB / 366.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3331, allocations: 4 kB / 366.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/0.3335, allocations: 95.89 kB / 366.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007636/0.3343, allocations: 269.5 kB / 367 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.3344, allocations: 19.98 kB / 367 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004474/0.3389, allocations: 4.346 MB / 371.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3389, allocations: 0 / 371.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.3412, allocations: 1.396 MB / 372.7 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.3415, allocations: 212 kB / 372.9 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.3416, allocations: 20 kB / 373 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.3421, allocations: 43.95 kB / 373 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.3423, allocations: 72.91 kB / 373.1 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.3423, allocations: 23.98 kB / 373.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003566/0.3427, allocations: 318.9 kB / 373.4 MB, free: 1.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3427, allocations: 0 / 373.4 MB, free: 1.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00108/0.3438, allocations: 315.1 kB / 373.7 MB, free: 1.258 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.0002865/0.3441, allocations: 159.1 kB / 373.9 MB, free: 1.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.346, allocations: 1.104 MB / 375 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.346, allocations: 0 / 375 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.3471, allocations: 0.7361 MB / 375.7 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.3478, allocations: 114.2 kB / 375.8 MB, free: 15.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.3512, allocations: 2.118 MB / 377.9 MB, free: 12.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.3518, allocations: 0.9905 MB / 378.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003801/0.3522, allocations: 85.66 kB / 379 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3524, allocations: 51.42 kB / 379.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3524, allocations: 0 / 379.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of Templates: time 0.02153/0.3739, allocations: 11.64 MB / 390.7 MB, free: 128 kB / 318.1 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)