Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Rectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009019/0.000902, allocations: 175 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.03951/0.03951, allocations: 8.924 MB / 25.11 MB, free: 3.617 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.7 MB / 253.7 MB, free: 5.195 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007792/0.0007792, allocations: 96.64 kB / 307 MB, free: 2.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 8 kB / 370.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2895, allocations: 52.56 MB / 422.8 MB, free: 47.9 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.004563/0.2941, allocations: 3.918 MB / 426.8 MB, free: 45.1 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.2967, allocations: 1.176 MB / 427.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004644/0.2972, allocations: 23.06 kB / 428 MB, free: 44.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.2975, allocations: 141.9 kB / 428.1 MB, free: 44.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.2987, allocations: 333.2 kB / 428.4 MB, free: 43.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.2992, allocations: 146.2 kB / 428.6 MB, free: 43.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002482/0.3017, allocations: 1.922 MB / 430.5 MB, free: 43.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.303, allocations: 0.9649 MB / 431.4 MB, free: 42.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.3041, allocations: 0.5224 MB / 432 MB, free: 42.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.3053, allocations: 0.7102 MB / 432.7 MB, free: 42.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.3055, allocations: 75.22 kB / 432.8 MB, free: 42.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.3058, allocations: 78.44 kB / 432.8 MB, free: 42.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004882/0.3063, allocations: 374.6 kB / 433.2 MB, free: 41.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009051/0.3072, allocations: 0.6969 MB / 433.9 MB, free: 41.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.3094, allocations: 2.176 MB / 436.1 MB, free: 40.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3094, allocations: 1.188 kB / 436.1 MB, free: 40.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3094, allocations: 0 / 436.1 MB, free: 40.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.495e-05/0.3094, allocations: 0 / 436.1 MB, free: 40.45 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.002924/0.3124, allocations: 1.579 MB / 437.7 MB, free: 39.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.3124, allocations: 9.438 kB / 437.7 MB, free: 39.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.3127, allocations: 151.9 kB / 437.8 MB, free: 39.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.3141, allocations: 0.9515 MB / 438.8 MB, free: 38.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.3142, allocations: 84.38 kB / 438.8 MB, free: 38.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.3144, allocations: 113.6 kB / 439 MB, free: 38.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.3174, allocations: 1.687 MB / 440.6 MB, free: 37.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.3175, allocations: 3.938 kB / 440.6 MB, free: 37.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.3176, allocations: 46.78 kB / 440.7 MB, free: 37.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.781e-05/0.3177, allocations: 55.55 kB / 440.7 MB, free: 37.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.3203, allocations: 1.563 MB / 442.3 MB, free: 36.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006749/0.3271, allocations: 5.049 MB / 447.4 MB, free: 31.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.3292, allocations: 2.58 MB / 449.9 MB, free: 28.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009807/0.3302, allocations: 0.8527 MB / 450.8 MB, free: 27.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.3303, allocations: 13 kB / 450.8 MB, free: 27.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3303, allocations: 47.56 kB / 450.8 MB, free: 27.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 3.607e-06/0.3303, allocations: 0 / 450.8 MB, free: 27.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.007185/0.3375, allocations: 4.137 MB / 455 MB, free: 23.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.3376, allocations: 60.41 kB / 455 MB, free: 23.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.3387, allocations: 0.8754 MB / 455.9 MB, free: 22.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.3388, allocations: 41.7 kB / 456 MB, free: 22.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.3391, allocations: 0.496 MB / 456.5 MB, free: 21.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.3392, allocations: 315.4 kB / 456.8 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.3393, allocations: 20 kB / 456.8 MB, free: 21.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.3393, allocations: 341.9 kB / 457.1 MB, free: 20.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/0.34, allocations: 0.4977 MB / 457.6 MB, free: 20.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/0.3407, allocations: 0.5801 MB / 458.2 MB, free: 19.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.342, allocations: 1.081 MB / 459.3 MB, free: 18.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.342, allocations: 0 / 459.3 MB, free: 18.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002152/0.3442, allocations: 1.581 MB / 460.9 MB, free: 17.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3442, allocations: 7.938 kB / 460.9 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3442, allocations: 4 kB / 460.9 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009603/0.3452, allocations: 491 kB / 461.3 MB, free: 16.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.3457, allocations: 139.8 kB / 461.5 MB, free: 16.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006443/0.3522, allocations: 8.736 MB / 470.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/0.353, allocations: 51.95 kB / 470.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.3531, allocations: 23.98 kB / 470.3 MB, free: 7.199 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * 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.0008817/0.354, allocations: 0.5015 MB / 470.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.3541, allocations: 98.88 kB / 470.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.3544, allocations: 137.3 kB / 471 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3544, allocations: 8 kB / 471 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.3544, allocations: 128 / 471 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3544, allocations: 7.984 kB / 471 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/0.3586, allocations: 3.227 MB / 474.3 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3586, allocations: 0 / 474.3 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.3591, allocations: 119.9 kB / 474.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008634/0.36, allocations: 494.9 kB / 474.9 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.3601, allocations: 23.98 kB / 474.9 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008067/0.3682, allocations: 8.654 MB / 483.5 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3682, allocations: 3.938 kB / 483.6 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.372, allocations: 2.374 MB / 485.9 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006588/0.3727, allocations: 291.9 kB / 486.2 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.3728, allocations: 20.19 kB / 486.2 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/0.3733, allocations: 71.92 kB / 486.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.3736, allocations: 84.88 kB / 486.4 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.3737, allocations: 24 kB / 486.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009069/0.3746, allocations: 0.6278 MB / 487 MB, free: 5.766 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3746, allocations: 0 / 487 MB, free: 5.766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00144/0.3761, allocations: 308 kB / 487.3 MB, free: 5.465 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * 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 Backend phase and start with SimCode phase: time 0.0002305/0.3763, allocations: 143.7 kB / 487.5 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002823/0.3791, allocations: 1.792 MB / 489.3 MB, free: 3.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3791, allocations: 0 / 489.3 MB, free: 3.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.3809, allocations: 1.269 MB / 490.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.3823, allocations: 268.2 kB / 490.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.3882, allocations: 3.442 MB / 494.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.3895, allocations: 1.408 MB / 495.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006469/0.3902, allocations: 191.8 kB / 495.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3903, allocations: 55.44 kB / 495.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3903, allocations: 0 / 495.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.03389/0.4242, allocations: 19.33 MB / 0.5031 GB, free: 9.582 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile (rm -f HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Rectifier.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Rectifier.sim & ./HanserModelica_HanserModelica.Electrical.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1)