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.FixedVoltageSource.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.241/4.241, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.357e-05, allocations: 4.25 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2075, allocations: 98.73 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2606/0.4682, allocations: 142.9 MB / 0.7685 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/0.4686, allocations: 87.94 kB / 0.7686 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6203/1.089, allocations: 11.66 MB / 0.78 GB, free: 143 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.704e-06/1.089, allocations: 0 / 0.78 GB, free: 143 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.945e-05/1.089, allocations: 6.266 kB / 0.78 GB, free: 143 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006966/1.09, allocations: 459 kB / 0.7804 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.09, allocations: 8.188 kB / 0.7804 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/1.091, allocations: 70.03 kB / 0.7805 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/1.091, allocations: 231.5 kB / 0.7807 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/1.091, allocations: 2.312 kB / 0.7807 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/1.091, allocations: 8.234 kB / 0.7807 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004179/1.091, allocations: 155.8 kB / 0.7809 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/1.092, allocations: 248 kB / 0.7811 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/1.092, allocations: 7.406 kB / 0.7811 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/1.092, allocations: 1.312 kB / 0.7811 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.545e-05/1.092, allocations: 18.31 kB / 0.7811 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/1.094, allocations: 1.543 MB / 0.7826 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/1.095, allocations: 67.52 kB / 0.7827 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/1.095, allocations: 42.7 kB / 0.7827 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/1.095, allocations: 2 kB / 0.7827 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/1.095, allocations: 50.86 kB / 0.7828 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/1.095, allocations: 0.5 kB / 0.7828 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0006626/1.096, allocations: 168.7 kB / 0.7829 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/1.096, allocations: 78.95 kB / 0.783 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/1.096, allocations: 192.9 kB / 0.7832 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/1.096, allocations: 25.7 kB / 0.7832 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/1.096, allocations: 164.6 kB / 0.7834 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.111e-05/1.096, allocations: 31.27 kB / 0.7834 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/1.096, allocations: 0.6562 kB / 0.7834 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/1.096, allocations: 325.6 kB / 0.7837 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/1.096, allocations: 67.22 kB / 0.7838 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/1.097, allocations: 159 kB / 0.7839 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/1.097, allocations: 106.3 kB / 0.784 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.097, allocations: 1.406 kB / 0.784 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007155/1.098, allocations: 249.3 kB / 0.7843 GB, free: 140 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002369/1.098, allocations: 1.141 MB / 0.7854 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.098, allocations: 3.641 kB / 0.7854 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.098, allocations: 4.719 kB / 0.7854 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/1.099, allocations: 56.67 kB / 0.7855 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.099, allocations: 4.906 kB / 0.7855 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/1.099, allocations: 23.06 kB / 0.7855 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/1.099, allocations: 10.05 kB / 0.7855 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.099, allocations: 4.531 kB / 0.7855 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005349/1.1, allocations: 197.3 kB / 0.7857 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.1, allocations: 2.781 kB / 0.7857 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/1.1, allocations: 5.344 kB / 0.7857 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/1.1, allocations: 53.31 kB / 0.7857 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.1, allocations: 9.766 kB / 0.7858 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/1.1, allocations: 15.81 kB / 0.7858 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/1.1, allocations: 12.19 kB / 0.7858 GB, free: 138.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.013e-05/1.1, allocations: 109.5 kB / 0.7859 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002898/1.101, allocations: 119.4 kB / 0.786 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/1.101, allocations: 16.19 kB / 0.786 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/1.101, allocations: 113.2 kB / 0.7861 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/1.101, allocations: 8.891 kB / 0.7861 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.101, allocations: 6 kB / 0.7861 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.101, allocations: 2.359 kB / 0.7861 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009688/1.102, allocations: 0.5737 MB / 0.7867 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.102, allocations: 2.172 kB / 0.7867 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/1.102, allocations: 20.23 kB / 0.7867 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/1.102, allocations: 3.656 kB / 0.7867 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/1.102, allocations: 6.094 kB / 0.7867 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/1.102, allocations: 4.672 kB / 0.7867 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.102, allocations: 1.406 kB / 0.7867 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/1.103, allocations: 411 kB / 0.7871 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/1.103, allocations: 105.5 kB / 0.7872 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/1.103, allocations: 2.875 kB / 0.7872 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/1.103, allocations: 9.578 kB / 0.7872 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/1.103, allocations: 13.16 kB / 0.7872 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/1.103, allocations: 8.797 kB / 0.7873 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002005/1.104, allocations: 153 kB / 0.7874 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.104, allocations: 1.344 kB / 0.7874 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008673/1.104, allocations: 81.08 kB / 0.7875 GB, free: 137.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006881/1.105, allocations: 1.432 MB / 0.7889 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006552/1.106, allocations: 249.3 kB / 0.7891 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.106, allocations: 448 / 0.7891 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.591e-05/1.106, allocations: 43.78 kB / 0.7892 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/1.106, allocations: 30.36 kB / 0.7892 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/1.108, allocations: 327 kB / 0.7895 GB, free: 136 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/1.108, allocations: 0.7444 MB / 0.7902 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004286/1.108, allocations: 72.27 kB / 0.7903 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/1.108, allocations: 43.22 kB / 0.7903 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.108, allocations: 0 / 0.7903 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04531/1.154, allocations: 2.919 MB / 0.7932 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/1.154, allocations: 162.7 kB / 0.7933 GB, free: 135 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.479, allocations: 0 / 0.7933 GB, free: 135 MB / 0.6511 GB