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.0009478/0.0009512, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009433/0.0009434, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004564/0.0004564, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2844, allocations: 47.58 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.005896/0.2904, allocations: 5.062 MB / 331.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.2942, allocations: 2.078 MB / 333.6 MB, free: 11.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005161/0.2947, allocations: 16.31 kB / 333.6 MB, free: 11.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.2953, allocations: 206 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.297, allocations: 0.7127 MB / 334.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.2978, allocations: 364.3 kB / 334.9 MB, free: 10.81 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.299, allocations: 0.7872 MB / 335.7 MB, free: 10.28 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.3004, allocations: 0.9218 MB / 336.6 MB, free: 9.309 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.3008, allocations: 366.6 kB / 336.9 MB, free: 8.949 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.3014, allocations: 465.9 kB / 337.4 MB, free: 8.492 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.78e-05/0.3015, allocations: 48 kB / 337.4 MB, free: 8.445 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004143/0.3019, allocations: 179.8 kB / 337.6 MB, free: 8.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.3021, allocations: 175.3 kB / 337.8 MB, free: 8.098 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.3023, allocations: 209.1 kB / 338 MB, free: 7.887 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.3033, allocations: 1.067 MB / 339.1 MB, free: 6.816 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3033, allocations: 0 / 339.1 MB, free: 6.816 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3033, allocations: 0 / 339.1 MB, free: 6.816 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.3033, allocations: 0 / 339.1 MB, free: 6.816 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.002849/0.3062, allocations: 1.265 MB / 340.3 MB, free: 5.496 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.3063, allocations: 12.02 kB / 340.3 MB, free: 5.484 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.3091, allocations: 478.3 kB / 340.8 MB, free: 5.016 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008262/0.3099, allocations: 0.5529 MB / 341.4 MB, free: 4.422 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/0.31, allocations: 77.98 kB / 341.4 MB, free: 4.344 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3101, allocations: 104 kB / 341.5 MB, free: 4.242 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.3119, allocations: 1.055 MB / 342.6 MB, free: 3.137 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.3119, allocations: 0 / 342.6 MB, free: 3.137 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.312, allocations: 44 kB / 342.6 MB, free: 3.094 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.3121, allocations: 24 kB / 342.7 MB, free: 3.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.3137, allocations: 0.933 MB / 343.6 MB, free: 2.141 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005312/0.319, allocations: 3.777 MB / 347.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/0.3216, allocations: 2.494 MB / 349.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.68e-05/0.3217, allocations: 93.75 kB / 350 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008001/0.3225, allocations: 0.5085 MB / 350.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 2.465e-06/0.3225, allocations: 0 / 350.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=86): time 0.004167/0.3267, allocations: 1.681 MB / 352.1 MB, free: 8.945 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.3268, allocations: 200.9 kB / 352.3 MB, free: 8.703 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.3273, allocations: 466 kB / 352.8 MB, free: 8.234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.3274, allocations: 41.7 kB / 352.8 MB, free: 8.188 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.3277, allocations: 439.3 kB / 353.3 MB, free: 7.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.3279, allocations: 276 kB / 353.5 MB, free: 7.477 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.3279, allocations: 16 kB / 353.5 MB, free: 7.461 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3281, allocations: 378.7 kB / 353.9 MB, free: 7.082 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.3286, allocations: 289.9 kB / 354.2 MB, free: 6.801 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/0.3293, allocations: 0.5239 MB / 354.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/0.3299, allocations: 347 kB / 355.1 MB, free: 5.832 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.33, allocations: 0 / 355.1 MB, free: 5.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001846/0.3318, allocations: 1.1 MB / 356.2 MB, free: 4.719 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.3318, allocations: 8 kB / 356.2 MB, free: 4.711 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3319, allocations: 4 kB / 356.2 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008413/0.3327, allocations: 279.8 kB / 356.4 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.3333, allocations: 159.8 kB / 356.6 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/0.3381, allocations: 4.469 MB / 361.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.3387, allocations: 111.2 kB / 361.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.3388, allocations: 39.98 kB / 361.2 MB, free: 15.39 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,$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 () * 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 (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 prepare postOptimizeDAE: time 0.0003455/0.3391, allocations: 249.6 kB / 361.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.343e-05/0.3392, allocations: 71.16 kB / 361.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.3411, allocations: 0.9873 MB / 362.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.3411, allocations: 12 kB / 362.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.3411, allocations: 3.938 kB / 362.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.3411, allocations: 7.984 kB / 362.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.344, allocations: 1.958 MB / 364.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.344, allocations: 0 / 364.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.3444, allocations: 107.9 kB / 364.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007057/0.3452, allocations: 273.9 kB / 364.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.3452, allocations: 16 kB / 364.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004596/0.3498, allocations: 4.427 MB / 369.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3498, allocations: 3.938 kB / 369.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.3522, allocations: 1.415 MB / 370.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.3524, allocations: 224 kB / 371 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.25e-05/0.3525, allocations: 19.95 kB / 371 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.353, allocations: 47.97 kB / 371 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.3531, allocations: 68.89 kB / 371.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.3532, allocations: 28 kB / 371.1 MB, free: 5.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003468/0.3535, allocations: 314.9 kB / 371.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3536, allocations: 0 / 371.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001177/0.3547, allocations: 315.1 kB / 371.7 MB, free: 4.465 MB / 302.1 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) * 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 (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.0003152/0.3551, allocations: 155.4 kB / 371.9 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.3569, allocations: 1.127 MB / 373 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3569, allocations: 1.25 kB / 373 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.358, allocations: 0.7509 MB / 373.8 MB, free: 2.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.3585, allocations: 93.86 kB / 373.9 MB, free: 2.285 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.3615, allocations: 2.055 MB / 375.9 MB, free: 196 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.3621, allocations: 1.014 MB / 376.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003463/0.3624, allocations: 85.67 kB / 377 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3626, allocations: 47.42 kB / 377.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3626, allocations: 0 / 377.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of Templates: time 0.01771/0.3803, allocations: 11.12 MB / 388.2 MB, free: 3.891 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: