Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.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.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001598, allocations: 109 kB / 18.36 MB, free: 4.844 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.001982/0.001983, allocations: 183.1 kB / 19.29 MB, free: 3.918 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.307/1.307, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.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.001488/0.001488, allocations: 59.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1015, allocations: 46.61 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005426/0.107, allocations: 4.196 MB / 380 MB, free: 384 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1654/0.2724, allocations: 0.9462 MB / 380.9 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.2727, allocations: 11.62 kB / 380.9 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.273, allocations: 101.2 kB / 381 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.2734, allocations: 188.2 kB / 381.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.2737, allocations: 166.6 kB / 381.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006007/0.2743, allocations: 0.7306 MB / 382.1 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.2746, allocations: 226.6 kB / 382.3 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.2749, allocations: 285.5 kB / 382.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.2753, allocations: 333.4 kB / 382.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.952e-05/0.2754, allocations: 59.78 kB / 383 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.2756, allocations: 60.84 kB / 383.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.2757, allocations: 145.3 kB / 383.2 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.2761, allocations: 332.9 kB / 383.5 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006547/0.2767, allocations: 0.707 MB / 384.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2767, allocations: 0.6562 kB / 384.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2767, allocations: 0 / 384.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.2768, allocations: 0 / 384.2 MB, free: 9.039 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001435/0.2782, allocations: 0.9026 MB / 385.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.2783, allocations: 8.5 kB / 385.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.2784, allocations: 71.06 kB / 385.2 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/0.2789, allocations: 387.8 kB / 385.6 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.2789, allocations: 38.22 kB / 385.6 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.279, allocations: 52.81 kB / 385.7 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008637/0.2799, allocations: 0.5482 MB / 386.2 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.2799, allocations: 7.875 kB / 386.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.545e-05/0.2799, allocations: 20.38 kB / 386.3 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.28, allocations: 12.5 kB / 386.3 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008265/0.2808, allocations: 445.7 kB / 386.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.2833, allocations: 2.031 MB / 388.7 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008363/0.2841, allocations: 0.6361 MB / 389.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/0.2847, allocations: 397.5 kB / 389.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.2848, allocations: 6.531 kB / 389.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.2848, allocations: 47.05 kB / 389.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.044e-06/0.2848, allocations: 0 / 389.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004196/0.289, allocations: 2.032 MB / 391.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.289, allocations: 57.56 kB / 391.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.2894, allocations: 368.4 kB / 392.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.2894, allocations: 37.3 kB / 392.3 MB, free: 4.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2895, allocations: 232.5 kB / 392.5 MB, free: 4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.2896, allocations: 193.6 kB / 392.7 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.2898, allocations: 94.17 kB / 392.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.2898, allocations: 355.4 kB / 393.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.2902, allocations: 169.2 kB / 393.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.2905, allocations: 212.2 kB / 393.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.2912, allocations: 387.4 kB / 393.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2912, allocations: 0 / 393.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001114/0.2923, allocations: 0.6638 MB / 394.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2923, allocations: 5.656 kB / 394.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2923, allocations: 8.625 kB / 394.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007044/0.2931, allocations: 258.2 kB / 394.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.2934, allocations: 66.88 kB / 394.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00593/0.2993, allocations: 7.491 MB / 402.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.2996, allocations: 21.69 kB / 402.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.2997, allocations: 15.5 kB / 402.4 MB, free: 11.85 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.2999, allocations: 176.5 kB / 402.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/0.3, allocations: 52.16 kB / 402.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.3001, allocations: 64.28 kB / 402.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.3001, allocations: 5.922 kB / 402.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3001, allocations: 0 / 402.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.3003, allocations: 162.1 kB / 402.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.3004, allocations: 11.59 kB / 402.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.3007, allocations: 21.22 kB / 402.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.3008, allocations: 45.84 kB / 402.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002072/0.3029, allocations: 0.8253 MB / 403.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001345/0.3042, allocations: 0.9051 MB / 404.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003815/0.3046, allocations: 196.5 kB / 404.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.3049, allocations: 256.6 kB / 405.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.3049, allocations: 0 / 405.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.3065, allocations: 0.968 MB / 406.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of SimCode: time 0.002017/0.3085, allocations: 1.794 MB / 407.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of Templates: time 0.01397/0.3225, allocations: 8.369 MB / 416.3 MB, free: 4.852 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)