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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01079/0.01079, allocations: 107.6 kB / 15.06 MB, free: 6.027 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.001176/0.001176, allocations: 182.5 kB / 15.95 MB, free: 5.953 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 1.918/1.918, allocations: 194.5 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.426/2.426, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004748, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6736/0.6741, allocations: 98.72 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005129/0.6793, allocations: 3.02 MB / 0.6864 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003488/0.6828, allocations: 1.624 MB / 0.688 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.6831, allocations: 7.031 kB / 0.688 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.6833, allocations: 35.88 kB / 0.688 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.6839, allocations: 128.7 kB / 0.6881 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008435/0.6848, allocations: 192.7 kB / 0.6883 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.6852, allocations: 220 kB / 0.6885 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009817/0.6862, allocations: 374.5 kB / 0.6889 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.6866, allocations: 123.2 kB / 0.689 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.6869, allocations: 134.7 kB / 0.6891 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.687, allocations: 13.28 kB / 0.6891 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.6875, allocations: 127.5 kB / 0.6893 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.6876, allocations: 82.23 kB / 0.6893 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.415e-05/0.6877, allocations: 71.58 kB / 0.6894 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000763/0.6885, allocations: 335.3 kB / 0.6897 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.6885, allocations: 0 / 0.6897 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6886, allocations: 4 kB / 0.6897 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.6886, allocations: 0 / 0.6897 GB, free: 12.87 MB / 0.5261 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.001533/0.6901, allocations: 0.606 MB / 0.6903 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.6902, allocations: 12.34 kB / 0.6903 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.6903, allocations: 60.81 kB / 0.6904 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.6914, allocations: 99.03 kB / 0.6905 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.6919, allocations: 283.1 kB / 0.6908 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.692, allocations: 16.41 kB / 0.6908 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.6921, allocations: 23.48 kB / 0.6908 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.6933, allocations: 422.6 kB / 0.6912 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.6934, allocations: 0.6562 kB / 0.6912 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.6935, allocations: 14.66 kB / 0.6912 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-05/0.6935, allocations: 26.03 kB / 0.6912 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.6951, allocations: 418.2 kB / 0.6916 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.6978, allocations: 1.619 MB / 0.6932 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.6998, allocations: 488.6 kB / 0.6937 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.7001, allocations: 90.2 kB / 0.6938 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009579/0.701, allocations: 277.9 kB / 0.694 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.677e-06/0.7011, allocations: 1.094 kB / 0.694 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.003316/0.7044, allocations: 0.7778 MB / 0.6948 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.7045, allocations: 84.78 kB / 0.6949 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.7048, allocations: 229.2 kB / 0.6951 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.7049, allocations: 32.45 kB / 0.6951 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.7051, allocations: 164.5 kB / 0.6953 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.7052, allocations: 90.56 kB / 0.6954 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.7052, allocations: 9.156 kB / 0.6954 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.7053, allocations: 332.9 kB / 0.6957 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007757/0.7061, allocations: 186.2 kB / 0.6959 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008419/0.707, allocations: 253.2 kB / 0.6961 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/0.7078, allocations: 231.5 kB / 0.6963 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.7078, allocations: 1.031 kB / 0.6963 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002036/0.7099, allocations: 0.5525 MB / 0.6969 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.7101, allocations: 0.9134 MB / 0.6978 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.7102, allocations: 1.344 kB / 0.6978 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/0.7106, allocations: 44 kB / 0.6978 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/0.7114, allocations: 91.02 kB / 0.6979 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.7132, allocations: 1.521 MB / 0.6994 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/0.7139, allocations: 53.7 kB / 0.6994 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.714, allocations: 21.23 kB / 0.6995 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.714, allocations: 4.125 kB / 0.6995 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001873/0.7159, allocations: 0.4936 MB / 0.6999 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.716, allocations: 2.75 kB / 0.7 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.7162, allocations: 43.19 kB / 0.7 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.7169, allocations: 83.55 kB / 0.7001 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.7185, allocations: 1.496 MB / 0.7015 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/0.7191, allocations: 49.09 kB / 0.7016 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.7192, allocations: 17.98 kB / 0.7016 GB, free: 4.168 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.0003229/0.7195, allocations: 238.9 kB / 0.7018 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.7196, allocations: 32.16 kB / 0.7019 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.7214, allocations: 498.8 kB / 0.7023 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.7215, allocations: 7.203 kB / 0.7023 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7215, allocations: 1.125 kB / 0.7023 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.7215, allocations: 3.984 kB / 0.7023 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009848/0.7225, allocations: 0.5644 MB / 0.7029 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.7225, allocations: 2.219 kB / 0.7029 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007069/0.7232, allocations: 77.77 kB / 0.703 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/0.7235, allocations: 43.19 kB / 0.703 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.7235, allocations: 10.52 kB / 0.703 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.7248, allocations: 1.42 MB / 0.7044 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7249, allocations: 5.359 kB / 0.7044 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.7267, allocations: 0.5972 MB / 0.705 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.727, allocations: 139.9 kB / 0.7051 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.7271, allocations: 6.25 kB / 0.7051 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.7277, allocations: 48.75 kB / 0.7052 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.7279, allocations: 31.92 kB / 0.7052 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.7279, allocations: 19.67 kB / 0.7052 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002322/0.7282, allocations: 166.9 kB / 0.7054 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.8e-07/0.7282, allocations: 0 / 0.7054 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009532/0.7291, allocations: 128.8 kB / 0.7055 GB, free: 0.9219 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.002161/0.7313, allocations: 1.36 MB / 0.7068 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003296/0.7347, allocations: 1.01 MB / 0.7078 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.7347, allocations: 0 / 0.7078 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.7358, allocations: 338.8 kB / 0.7082 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.7364, allocations: 42.83 kB / 0.7082 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/0.743, allocations: 3.331 MB / 0.7114 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.7436, allocations: 0.7961 MB / 0.7122 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006256/0.7442, allocations: 89.92 kB / 0.7123 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.7445, allocations: 86.91 kB / 0.7124 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of SimCode: time 1.423e-06/0.7445, allocations: 1.094 kB / 0.7124 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04051/0.7851, allocations: 6.571 MB / 0.7188 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/0.7855, allocations: 242.5 kB / 0.719 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.368, allocations: 4 kB / 0.719 GB, free: 7.973 MB / 0.5417 GB