Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.543/2.543, allocations: 255 MB / 269.9 MB, free: 9.629 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 200.2 kB / 329.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.568/2.568, allocations: 225.6 MB / 0.6001 GB, free: 2.258 MB / 426.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.0009161/0.0009159, allocations: 95.23 kB / 0.7074 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006149/0.0006153, allocations: 11.91 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2097, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004379/0.2142, allocations: 2.932 MB / 0.9336 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003846/0.2181, allocations: 2.016 MB / 0.9356 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.2183, allocations: 4 kB / 0.9356 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.2186, allocations: 43.64 kB / 0.9356 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006534/0.2192, allocations: 179.1 kB / 0.9358 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009221/0.2202, allocations: 215.5 kB / 0.936 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005775/0.2208, allocations: 442.4 kB / 0.9364 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006844/0.2215, allocations: 337.3 kB / 0.9368 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.2217, allocations: 127.5 kB / 0.9369 GB, free: 18.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000382/0.2221, allocations: 163.4 kB / 0.937 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.2222, allocations: 12 kB / 0.9371 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000767/0.223, allocations: 267.6 kB / 0.9373 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.2231, allocations: 83.77 kB / 0.9374 GB, free: 18.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.2232, allocations: 73.52 kB / 0.9375 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.2238, allocations: 379.3 kB / 0.9378 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2239, allocations: 4 kB / 0.9378 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2239, allocations: 0 / 0.9378 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2239, allocations: 0 / 0.9378 GB, free: 17.83 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001104/0.225, allocations: 0.5575 MB / 0.9384 GB, free: 17.22 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2251, allocations: 16.02 kB / 0.9384 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.2263, allocations: 120.4 kB / 0.9385 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.2268, allocations: 276.3 kB / 0.9388 GB, free: 16.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.2268, allocations: 24.8 kB / 0.9388 GB, free: 16.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.199e-05/0.2269, allocations: 24.31 kB / 0.9388 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009011/0.2278, allocations: 427.6 kB / 0.9392 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2279, allocations: 0 / 0.9392 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.2279, allocations: 11.98 kB / 0.9392 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-05/0.228, allocations: 32.55 kB / 0.9393 GB, free: 16.24 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009415/0.2289, allocations: 361.9 kB / 0.9396 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.2322, allocations: 2.058 MB / 0.9416 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.2335, allocations: 345.1 kB / 0.9419 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/0.2341, allocations: 209.6 kB / 0.9421 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.2343, allocations: 85.05 kB / 0.9422 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.2343, allocations: 42.56 kB / 0.9423 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 2.524e-06/0.2344, allocations: 0 / 0.9423 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.008538/0.2429, allocations: 1.749 MB / 0.944 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.243, allocations: 85.05 kB / 0.9441 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.2433, allocations: 232.9 kB / 0.9443 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.2433, allocations: 33.7 kB / 0.9443 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2434, allocations: 180 kB / 0.9445 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.2435, allocations: 122.3 kB / 0.9446 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.2436, allocations: 12 kB / 0.9446 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.2437, allocations: 334.8 kB / 0.9449 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.2443, allocations: 196.8 kB / 0.9451 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.245, allocations: 317 kB / 0.9454 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/0.2457, allocations: 243.8 kB / 0.9457 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2457, allocations: 3.938 kB / 0.9457 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001989/0.2477, allocations: 0.6681 MB / 0.9463 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-05/0.2478, allocations: 180.3 kB / 0.9465 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.2478, allocations: 4 kB / 0.9465 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007568/0.2486, allocations: 151.2 kB / 0.9466 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.2493, allocations: 107.8 kB / 0.9467 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/0.2524, allocations: 3.957 MB / 0.9506 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.253, allocations: 44.11 kB / 0.9506 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.2531, allocations: 16 kB / 0.9507 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.365e-06/0.2531, allocations: 4 kB / 0.9507 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001896/0.255, allocations: 0.6239 MB / 0.9513 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.255, allocations: 4 kB / 0.9513 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/0.2556, allocations: 135.3 kB / 0.9514 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.2564, allocations: 100 kB / 0.9515 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006453/0.2571, allocations: 1.109 MB / 0.9526 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.2576, allocations: 48.16 kB / 0.9526 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.2577, allocations: 16 kB / 0.9526 GB, free: 1.699 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002807/0.258, allocations: 241 kB / 0.9529 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2581, allocations: 31.62 kB / 0.9529 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.26, allocations: 0.6397 MB / 0.9535 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.2601, allocations: 4 kB / 0.9535 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2601, allocations: 4 kB / 0.9535 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2601, allocations: 0 / 0.9535 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.2636, allocations: 1.335 MB / 0.9548 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.2636, allocations: 4 kB / 0.9548 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/0.2642, allocations: 67.83 kB / 0.9549 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007677/0.2649, allocations: 159.5 kB / 0.9551 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.265, allocations: 8 kB / 0.9551 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00406/0.2691, allocations: 3.965 MB / 0.9589 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.2691, allocations: 0 / 0.9589 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.2712, allocations: 0.786 MB / 0.9597 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.2715, allocations: 148.6 kB / 0.9598 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.2716, allocations: 8 kB / 0.9599 GB, free: 9.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.2721, allocations: 35.97 kB / 0.9599 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.2723, allocations: 35.89 kB / 0.9599 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.2723, allocations: 16 kB / 0.9599 GB, free: 9.684 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002462/0.2726, allocations: 168.5 kB / 0.9601 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2726, allocations: 0 / 0.9601 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001065/0.2737, allocations: 163.9 kB / 0.9603 GB, free: 9.359 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003003/0.274, allocations: 147.7 kB / 0.9604 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003327/0.2773, allocations: 1.19 MB / 0.9616 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.2774, allocations: 0 / 0.9616 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.2786, allocations: 499.4 kB / 0.962 GB, free: 7.438 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.2795, allocations: 58.41 kB / 0.9621 GB, free: 7.383 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.2814, allocations: 0.8642 MB / 0.9629 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.2819, allocations: 0.8084 MB / 0.9637 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006319/0.2826, allocations: 114.8 kB / 0.9638 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.2827, allocations: 23.44 kB / 0.9639 GB, free: 5.484 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.2827, allocations: 3.938 kB / 0.9639 GB, free: 5.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.01629/0.299, allocations: 5.534 MB / 0.9693 GB, free: 15.95 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)