Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.01085/0.01085, allocations: 220.4 kB / 15.17 MB, free: 6 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.001171/0.001171, allocations: 178.8 kB / 16.06 MB, free: 5.871 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 4.02/4.02, allocations: 389.1 MB / 405.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.763/3.763, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007908/0.0007911, allocations: 12 kB / 1.008 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.5106, allocations: 98.71 MB / 1.104 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003554/0.5142, allocations: 3.09 MB / 1.107 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.5168, allocations: 1.635 MB / 1.109 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.517, allocations: 8.75 kB / 1.109 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.5172, allocations: 35.7 kB / 1.109 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.5177, allocations: 146.5 kB / 1.109 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.5183, allocations: 184.9 kB / 1.109 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.5187, allocations: 418.4 kB / 1.109 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000796/0.5195, allocations: 377.5 kB / 1.11 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.5197, allocations: 123.5 kB / 1.11 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.52, allocations: 175.3 kB / 1.11 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.5201, allocations: 12.56 kB / 1.11 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.5205, allocations: 144.7 kB / 1.11 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.5206, allocations: 79.72 kB / 1.11 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.812e-05/0.5207, allocations: 69.58 kB / 1.11 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.5211, allocations: 345.3 kB / 1.111 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.452e-06/0.5211, allocations: 0 / 1.111 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.016e-06/0.5211, allocations: 0.5 kB / 1.111 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.246e-06/0.5211, allocations: 2.062 kB / 1.111 GB, free: 3.879 MB / 0.5105 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.001047/0.5222, allocations: 0.6039 MB / 1.111 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.5222, allocations: 11.97 kB / 1.111 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.5231, allocations: 108.2 kB / 1.111 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.5235, allocations: 272.2 kB / 1.112 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.5235, allocations: 20.42 kB / 1.112 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.5236, allocations: 20 kB / 1.112 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009219/0.5245, allocations: 423.5 kB / 1.112 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.5246, allocations: 0 / 1.112 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.5246, allocations: 12 kB / 1.112 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/0.5247, allocations: 29.38 kB / 1.112 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.5258, allocations: 417.5 kB / 1.113 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.5277, allocations: 1.623 MB / 1.114 GB, free: 136 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.5292, allocations: 480.5 kB / 1.115 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006033/0.5298, allocations: 217.4 kB / 1.115 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.53, allocations: 89.09 kB / 1.115 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007235/0.5308, allocations: 274.5 kB / 1.115 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.267e-06/0.5308, allocations: 0 / 1.115 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.002559/0.5333, allocations: 0.7811 MB / 1.116 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.5334, allocations: 85.09 kB / 1.116 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.5338, allocations: 228.9 kB / 1.116 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.5338, allocations: 29.7 kB / 1.116 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.534, allocations: 164.3 kB / 1.116 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.5341, allocations: 94.73 kB / 1.116 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.5342, allocations: 8 kB / 1.116 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.5344, allocations: 334.8 kB / 1.117 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/0.535, allocations: 184.1 kB / 1.117 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006157/0.5356, allocations: 253.3 kB / 1.117 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/0.5362, allocations: 231.3 kB / 1.117 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.652e-06/0.5363, allocations: 0 / 1.117 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001645/0.5379, allocations: 0.5627 MB / 1.118 GB, free: 12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.5381, allocations: 190.5 kB / 1.118 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5381, allocations: 4 kB / 1.118 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003092/0.5384, allocations: 40.77 kB / 1.118 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.539, allocations: 91.86 kB / 1.118 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.541, allocations: 1.505 MB / 1.12 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.5415, allocations: 55.73 kB / 1.12 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.5415, allocations: 12 kB / 1.12 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.5416, allocations: 4 kB / 1.12 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/0.5431, allocations: 0.4982 MB / 1.12 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.128e-06/0.5431, allocations: 3.938 kB / 1.12 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.5434, allocations: 48.77 kB / 1.12 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.5438, allocations: 88.03 kB / 1.12 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.5456, allocations: 1.489 MB / 1.122 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.5461, allocations: 43.81 kB / 1.122 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.5461, allocations: 19.98 kB / 1.122 GB, free: 7.582 MB / 0.5261 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.0003253/0.5465, allocations: 229 kB / 1.122 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.5466, allocations: 27.81 kB / 1.122 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.548, allocations: 0.491 MB / 1.123 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.534e-06/0.548, allocations: 4 kB / 1.123 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.545e-06/0.5481, allocations: 0 / 1.123 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.5481, allocations: 11.98 kB / 1.123 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.549, allocations: 0.5584 MB / 1.123 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.806e-06/0.5491, allocations: 0 / 1.123 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.5496, allocations: 79.86 kB / 1.123 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001769/0.5498, allocations: 36.92 kB / 1.123 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.5498, allocations: 11.98 kB / 1.123 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.5514, allocations: 1.416 MB / 1.125 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.5515, allocations: 4.031 kB / 1.125 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.5529, allocations: 0.5615 MB / 1.125 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.5531, allocations: 140.7 kB / 1.125 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.5532, allocations: 8 kB / 1.125 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.5536, allocations: 43.95 kB / 1.125 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.5537, allocations: 31.91 kB / 1.126 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.5538, allocations: 12 kB / 1.126 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002358/0.554, allocations: 176.5 kB / 1.126 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.32e-07/0.554, allocations: 0 / 1.126 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008064/0.5548, allocations: 132 kB / 1.126 GB, free: 3.367 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0002088/0.5551, allocations: 111.3 kB / 1.126 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002483/0.5576, allocations: 1.022 MB / 1.127 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.375e-06/0.5576, allocations: 0 / 1.127 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008577/0.5585, allocations: 338.8 kB / 1.127 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.5591, allocations: 48.34 kB / 1.127 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.5607, allocations: 0.7426 MB / 1.128 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.5613, allocations: 0.7878 MB / 1.129 GB, free: 200 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004166/0.5617, allocations: 94.2 kB / 1.129 GB, free: 104 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.5618, allocations: 23.44 kB / 1.129 GB, free: 80 kB / 0.5261 GB Notification: Performance of SimCode: time 1.706e-06/0.5618, allocations: 0 / 1.129 GB, free: 80 kB / 0.5261 GB Notification: Performance of Templates: time 0.01135/0.5732, allocations: 4.046 MB / 1.133 GB, free: 12.05 MB / 0.5417 GB