Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004341/0.004346, allocations: 234 kB / 15.8 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001118/0.001118, allocations: 179.2 kB / 16.68 MB, free: 5.473 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.895/3.895, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.367/4.367, allocations: 472.3 MB / 0.9024 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004799, allocations: 15.98 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2231, allocations: 98.72 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003877/0.227, allocations: 2.614 MB / 1.107 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.2304, allocations: 1.632 MB / 1.109 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.2306, allocations: 4 kB / 1.109 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.2308, allocations: 38.58 kB / 1.109 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005644/0.2314, allocations: 139.2 kB / 1.109 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.2322, allocations: 189.8 kB / 1.109 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004897/0.2327, allocations: 414.6 kB / 1.11 GB, free: 37.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009264/0.2336, allocations: 386.7 kB / 1.11 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.2339, allocations: 123.5 kB / 1.11 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.2342, allocations: 167.4 kB / 1.11 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.2343, allocations: 12 kB / 1.11 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.2348, allocations: 143.7 kB / 1.11 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2349, allocations: 87.19 kB / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.084e-05/0.235, allocations: 77.52 kB / 1.11 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.2354, allocations: 339.4 kB / 1.111 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2355, allocations: 0 / 1.111 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2355, allocations: 0 / 1.111 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2355, allocations: 0 / 1.111 GB, free: 35.78 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001449/0.237, allocations: 0.6008 MB / 1.111 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.237, allocations: 12.03 kB / 1.111 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.2381, allocations: 100.1 kB / 1.111 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.2385, allocations: 274.6 kB / 1.112 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.2386, allocations: 20.44 kB / 1.112 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.2387, allocations: 19.98 kB / 1.112 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.2398, allocations: 429.8 kB / 1.112 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.2398, allocations: 3.906 kB / 1.112 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.2398, allocations: 9.312 kB / 1.112 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.083e-05/0.2399, allocations: 27.8 kB / 1.112 GB, free: 34.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.2413, allocations: 413.5 kB / 1.113 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.2436, allocations: 1.609 MB / 1.114 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.2454, allocations: 491.9 kB / 1.115 GB, free: 31.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/0.2462, allocations: 205.8 kB / 1.115 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.2464, allocations: 93.08 kB / 1.115 GB, free: 31.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007937/0.2472, allocations: 279.9 kB / 1.115 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.888e-06/0.2472, allocations: 0 / 1.115 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.002903/0.2501, allocations: 0.7837 MB / 1.116 GB, free: 30.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.2502, allocations: 83.67 kB / 1.116 GB, free: 30.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.2504, allocations: 221 kB / 1.116 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.2505, allocations: 29.7 kB / 1.116 GB, free: 29.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2506, allocations: 168.3 kB / 1.116 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/0.2507, allocations: 98.58 kB / 1.117 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.2508, allocations: 6.562 kB / 1.117 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.2508, allocations: 338.8 kB / 1.117 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/0.2515, allocations: 183.2 kB / 1.117 GB, free: 29.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007164/0.2523, allocations: 258.3 kB / 1.117 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007065/0.253, allocations: 232.5 kB / 1.118 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.253, allocations: 4 kB / 1.118 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001829/0.2548, allocations: 0.5615 MB / 1.118 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.92e-05/0.2549, allocations: 183.9 kB / 1.118 GB, free: 27.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.255, allocations: 4 kB / 1.118 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/0.2553, allocations: 41.72 kB / 1.118 GB, free: 27.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.256, allocations: 94.86 kB / 1.118 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.2576, allocations: 1.493 MB / 1.12 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.2583, allocations: 54.08 kB / 1.12 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.2583, allocations: 15.98 kB / 1.12 GB, free: 25.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.2583, allocations: 4 kB / 1.12 GB, free: 25.91 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001672/0.26, allocations: 0.4924 MB / 1.12 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.26, allocations: 7.438 kB / 1.12 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.2603, allocations: 42.14 kB / 1.12 GB, free: 25.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/0.2609, allocations: 87.86 kB / 1.121 GB, free: 25.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.2623, allocations: 1.478 MB / 1.122 GB, free: 23.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.2629, allocations: 51.3 kB / 1.122 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.2629, allocations: 19.98 kB / 1.122 GB, free: 23.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000276/0.2632, allocations: 236.9 kB / 1.122 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.2633, allocations: 23.72 kB / 1.122 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.265, allocations: 494.4 kB / 1.123 GB, free: 22.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.265, allocations: 7.984 kB / 1.123 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.265, allocations: 128 / 1.123 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.2652, allocations: 133.3 kB / 1.123 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.2653, allocations: 8.719 kB / 1.123 GB, free: 22.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.2659, allocations: 58.91 kB / 1.123 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.266, allocations: 27.95 kB / 1.123 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001962/0.268, allocations: 0.6466 MB / 1.124 GB, free: 21.96 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00215/0.2702, allocations: 0.8855 MB / 1.124 GB, free: 21.07 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006594/0.2709, allocations: 194.9 kB / 1.125 GB, free: 20.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002071/0.2711, allocations: 168.5 kB / 1.125 GB, free: 20.73 MB / 0.6042 GB Notification: Performance of Backend: time 5.81e-07/0.2711, allocations: 2.844 kB / 1.125 GB, free: 20.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002989/0.2741, allocations: 0.9923 MB / 1.126 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001462/0.2756, allocations: 1.083 MB / 1.127 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.01676/0.2924, allocations: 6.483 MB / 1.133 GB, free: 12.45 MB / 0.6042 GB