Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003415/0.003415, allocations: 201.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.685/1.685, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008549/0.0008548, allocations: 103.5 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 8 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3282, allocations: 51.42 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002014/0.3303, allocations: 1.718 MB / 413.8 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3313, allocations: 0.8527 MB / 414.6 MB, free: 23.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.3314, allocations: 0 / 414.6 MB, free: 23.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.3316, allocations: 22.25 kB / 414.6 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.165e-05/0.3317, allocations: 31.77 kB / 414.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.3319, allocations: 55.94 kB / 414.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.3321, allocations: 195.3 kB / 414.9 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.3323, allocations: 47.16 kB / 415 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3324, allocations: 67.7 kB / 415 MB, free: 22.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.3326, allocations: 75.73 kB / 415.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.3326, allocations: 8 kB / 415.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.3327, allocations: 19.98 kB / 415.1 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.3328, allocations: 23.91 kB / 415.2 MB, free: 22.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.3328, allocations: 97.34 kB / 415.3 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.333, allocations: 172.9 kB / 415.4 MB, free: 22.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3331, allocations: 7.984 kB / 415.4 MB, free: 22.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3331, allocations: 0 / 415.4 MB, free: 22.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3331, allocations: 0 / 415.4 MB, free: 22.47 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006947/0.3338, allocations: 464.8 kB / 415.9 MB, free: 21.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3338, allocations: 11.97 kB / 415.9 MB, free: 21.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.334, allocations: 20.75 kB / 415.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.3342, allocations: 212.1 kB / 416.1 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.372e-05/0.3343, allocations: 93.67 kB / 416.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.3343, allocations: 16.38 kB / 416.2 MB, free: 21.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.3346, allocations: 137.5 kB / 416.4 MB, free: 21.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3346, allocations: 0 / 416.4 MB, free: 21.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.3347, allocations: 8 kB / 416.4 MB, free: 21.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3347, allocations: 0 / 416.4 MB, free: 21.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.335, allocations: 122.2 kB / 416.5 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.3358, allocations: 0.5148 MB / 417 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.3362, allocations: 114.7 kB / 417.1 MB, free: 20.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3363, allocations: 60.83 kB / 417.2 MB, free: 20.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.3364, allocations: 0 / 417.2 MB, free: 20.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3364, allocations: 42.44 kB / 417.2 MB, free: 20.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.3364, allocations: 0 / 417.2 MB, free: 20.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007888/0.3372, allocations: 323.3 kB / 417.5 MB, free: 20.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.3372, allocations: 63.39 kB / 417.6 MB, free: 20.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.3373, allocations: 141.1 kB / 417.7 MB, free: 19.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3374, allocations: 29.7 kB / 417.8 MB, free: 19.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.3374, allocations: 119.8 kB / 417.9 MB, free: 19.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.3374, allocations: 27.64 kB / 417.9 MB, free: 19.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.3375, allocations: 0 / 417.9 MB, free: 19.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.3375, allocations: 322.8 kB / 418.2 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3377, allocations: 67.97 kB / 418.3 MB, free: 19.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3378, allocations: 86.47 kB / 418.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.3381, allocations: 152.2 kB / 418.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3381, allocations: 0 / 418.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004325/0.3386, allocations: 260 kB / 418.8 MB, free: 18.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.3386, allocations: 37.7 kB / 418.8 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3386, allocations: 3.938 kB / 418.8 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/0.3389, allocations: 76.86 kB / 418.9 MB, free: 18.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.339, allocations: 19.98 kB / 418.9 MB, free: 18.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.3402, allocations: 1.491 MB / 420.4 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.3406, allocations: 63.89 kB / 420.5 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.3406, allocations: 11.98 kB / 420.5 MB, free: 16.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (dcPowerSupply.cv,dcPowerSupply.cc,dcPowerSupply.cp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/0.3407, allocations: 129.7 kB / 420.6 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.3407, allocations: 7.906 kB / 420.6 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.3411, allocations: 179.6 kB / 420.8 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3411, allocations: 0 / 420.8 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-07/0.3411, allocations: 0 / 420.8 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3411, allocations: 4.078 kB / 420.8 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.3413, allocations: 225.5 kB / 421 MB, free: 16.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3413, allocations: 0 / 421 MB, free: 16.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.3414, allocations: 15.98 kB / 421 MB, free: 16.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001331/0.3415, allocations: 76.77 kB / 421.1 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3415, allocations: 4 kB / 421.1 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009784/0.3425, allocations: 1.488 MB / 422.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3425, allocations: 7.875 kB / 422.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.3429, allocations: 256.4 kB / 422.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.3429, allocations: 92.94 kB / 422.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.3429, allocations: 7.938 kB / 423 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3431, allocations: 15.98 kB / 423 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.3432, allocations: 19.92 kB / 423 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3432, allocations: 4 kB / 423 MB, free: 14.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.011e-05/0.3432, allocations: 109.9 kB / 423.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3433, allocations: 0 / 423.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.3435, allocations: 47.91 kB / 423.1 MB, free: 14.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.3437, allocations: 107.2 kB / 423.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005967/0.3443, allocations: 325.9 kB / 423.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3443, allocations: 0 / 423.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.3445, allocations: 174.8 kB / 423.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3449, allocations: 25.77 kB / 423.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.3454, allocations: 340.4 kB / 424.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.3455, allocations: 0.7087 MB / 424.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.311e-05/0.3456, allocations: 12.42 kB / 424.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.3456, allocations: 15.38 kB / 424.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3456, allocations: 0 / 424.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of Templates: time 0.005415/0.351, allocations: 2.596 MB / 427.4 MB, free: 9.691 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1)