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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.947/3.947, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.202e-05/4.218e-05, allocations: 4.297 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2137, allocations: 98.73 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7965/1.01, allocations: 146.3 MB / 0.7776 GB, free: 55.85 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/1.011, allocations: 94.05 kB / 0.7777 GB, free: 55.85 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07217/1.083, allocations: 16.9 MB / 0.7942 GB, free: 54.28 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.463e-06/1.083, allocations: 1.031 kB / 0.7942 GB, free: 54.28 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.735e-05/1.083, allocations: 8.656 kB / 0.7942 GB, free: 54.28 MB / 0.6511 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.001526/1.084, allocations: 0.6146 MB / 0.7948 GB, free: 53.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.085, allocations: 8.875 kB / 0.7948 GB, free: 53.79 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/1.085, allocations: 59.78 kB / 0.7948 GB, free: 53.75 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/1.086, allocations: 98.67 kB / 0.7949 GB, free: 53.74 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/1.086, allocations: 280.5 kB / 0.7952 GB, free: 53.51 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/1.086, allocations: 14.81 kB / 0.7952 GB, free: 53.51 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/1.086, allocations: 19.19 kB / 0.7952 GB, free: 53.51 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009295/1.087, allocations: 373.9 kB / 0.7956 GB, free: 53.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/1.087, allocations: 1.344 kB / 0.7956 GB, free: 53.41 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/1.088, allocations: 12.5 kB / 0.7956 GB, free: 53.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.304e-05/1.088, allocations: 22.09 kB / 0.7956 GB, free: 53.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/1.089, allocations: 322.6 kB / 0.7959 GB, free: 53.39 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/1.091, allocations: 1.65 MB / 0.7975 GB, free: 52.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/1.093, allocations: 403.3 kB / 0.7979 GB, free: 52.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/1.093, allocations: 162 kB / 0.7981 GB, free: 52.21 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/1.093, allocations: 91.88 kB / 0.7982 GB, free: 52.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/1.094, allocations: 229.2 kB / 0.7984 GB, free: 52.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 4.359e-06/1.094, allocations: 0 / 0.7984 GB, free: 52.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.001364/1.095, allocations: 432.5 kB / 0.7988 GB, free: 51.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/1.095, allocations: 81.58 kB / 0.7989 GB, free: 51.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/1.096, allocations: 199.8 kB / 0.7991 GB, free: 51.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/1.096, allocations: 32.64 kB / 0.7991 GB, free: 51.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/1.096, allocations: 168.8 kB / 0.7993 GB, free: 51.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.605e-05/1.096, allocations: 92.31 kB / 0.7994 GB, free: 51.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/1.096, allocations: 12.97 kB / 0.7994 GB, free: 51.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.169e-05/1.096, allocations: 335.1 kB / 0.7997 GB, free: 51.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/1.096, allocations: 130.6 kB / 0.7998 GB, free: 51.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/1.097, allocations: 206.6 kB / 0.8 GB, free: 51.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/1.097, allocations: 181.1 kB / 0.8002 GB, free: 51.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.097, allocations: 0.9688 kB / 0.8002 GB, free: 51.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001292/1.099, allocations: 478.7 kB / 0.8006 GB, free: 50.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002209/1.099, allocations: 0.8995 MB / 0.8015 GB, free: 50.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.099, allocations: 3.25 kB / 0.8015 GB, free: 50.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/1.099, allocations: 40.61 kB / 0.8016 GB, free: 50.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/1.1, allocations: 99.33 kB / 0.8017 GB, free: 50.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/1.102, allocations: 1.497 MB / 0.8031 GB, free: 48.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/1.102, allocations: 54.5 kB / 0.8032 GB, free: 48.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/1.102, allocations: 16.59 kB / 0.8032 GB, free: 48.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.102, allocations: 3.688 kB / 0.8032 GB, free: 48.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001096/1.103, allocations: 417.2 kB / 0.8036 GB, free: 48.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.103, allocations: 2.438 kB / 0.8036 GB, free: 48.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/1.104, allocations: 36.84 kB / 0.8036 GB, free: 48.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/1.104, allocations: 92.03 kB / 0.8037 GB, free: 48.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/1.106, allocations: 1.471 MB / 0.8051 GB, free: 47.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/1.106, allocations: 56.53 kB / 0.8052 GB, free: 47.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/1.107, allocations: 11.97 kB / 0.8052 GB, free: 47.3 MB / 0.6511 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 () * 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.0001932/1.107, allocations: 126.3 kB / 0.8053 GB, free: 47.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/1.107, allocations: 24.25 kB / 0.8054 GB, free: 47.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/1.108, allocations: 405.1 kB / 0.8057 GB, free: 47.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.108, allocations: 6.328 kB / 0.8057 GB, free: 47.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.108, allocations: 5.312 kB / 0.8057 GB, free: 47.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.108, allocations: 1.781 kB / 0.8058 GB, free: 47.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009385/1.109, allocations: 0.5677 MB / 0.8063 GB, free: 46.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.109, allocations: 1.844 kB / 0.8063 GB, free: 46.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007474/1.11, allocations: 82.12 kB / 0.8064 GB, free: 46.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/1.11, allocations: 36.84 kB / 0.8064 GB, free: 46.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/1.11, allocations: 7.062 kB / 0.8064 GB, free: 46.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/1.111, allocations: 1.412 MB / 0.8078 GB, free: 45.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.111, allocations: 0 / 0.8078 GB, free: 45.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/1.112, allocations: 0.5012 MB / 0.8083 GB, free: 45.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/1.113, allocations: 136.1 kB / 0.8084 GB, free: 45.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/1.113, allocations: 10.25 kB / 0.8084 GB, free: 45.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/1.113, allocations: 41.08 kB / 0.8085 GB, free: 45.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.113, allocations: 38.31 kB / 0.8085 GB, free: 45.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/1.114, allocations: 7.375 kB / 0.8085 GB, free: 45.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000228/1.114, allocations: 170 kB / 0.8087 GB, free: 45.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.114, allocations: 4 kB / 0.8087 GB, free: 45.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008905/1.115, allocations: 145.6 kB / 0.8088 GB, free: 45.04 MB / 0.6511 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) * 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.001312/1.116, allocations: 1.278 MB / 0.8101 GB, free: 44.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001919/1.118, allocations: 0.8722 MB / 0.8109 GB, free: 43.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.118, allocations: 0 / 0.8109 GB, free: 43.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006566/1.119, allocations: 283.5 kB / 0.8112 GB, free: 43.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/1.119, allocations: 47.17 kB / 0.8112 GB, free: 43.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/1.121, allocations: 0.5504 MB / 0.8118 GB, free: 43.35 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/1.121, allocations: 0.7941 MB / 0.8126 GB, free: 42.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005956/1.122, allocations: 108 kB / 0.8127 GB, free: 42.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/1.122, allocations: 86.56 kB / 0.8127 GB, free: 42.61 MB / 0.6511 GB Notification: Performance of SimCode: time 8.81e-07/1.122, allocations: 0 / 0.8127 GB, free: 42.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/1.157, allocations: 6.849 MB / 0.8194 GB, free: 42.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/1.157, allocations: 197.8 kB / 0.8196 GB, free: 41.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/3.704, allocations: 4 kB / 0.8196 GB, free: 41.82 MB / 0.6511 GB