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 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.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01062/0.01062, allocations: 220.6 kB / 15.17 MB, free: 5.93 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.001091/0.001091, allocations: 178.5 kB / 16.06 MB, free: 5.828 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.314/4.314, 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 4.071/4.071, allocations: 472.3 MB / 0.9017 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.000492, allocations: 15.98 kB / 1.008 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.581/0.5815, allocations: 98.72 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.00313/0.5847, allocations: 2.07 MB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.5873, allocations: 1.332 MB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.5875, allocations: 6.188 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.5876, allocations: 23.09 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.588, allocations: 95.81 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.5885, allocations: 144.8 kB / 1.108 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.5888, allocations: 257 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000514/0.5893, allocations: 218.9 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.5895, allocations: 70.72 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.5897, allocations: 104 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.5898, allocations: 5.469 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.5901, allocations: 106.5 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.5902, allocations: 58.44 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.5902, allocations: 54.17 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.5906, allocations: 205.9 kB / 1.109 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.537e-06/0.5906, allocations: 0 / 1.109 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.182e-06/0.5906, allocations: 1.281 kB / 1.109 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.234e-06/0.5906, allocations: 3.938 kB / 1.109 GB, free: 210.3 MB / 0.7292 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.0005891/0.5912, allocations: 447.4 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5913, allocations: 10.09 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006713/0.5919, allocations: 72.19 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.5922, allocations: 227.8 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.5922, allocations: 10.09 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.5923, allocations: 16.61 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.5928, allocations: 277.8 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.5928, allocations: 1.281 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.5929, allocations: 7.531 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-05/0.5929, allocations: 18.73 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.5934, allocations: 210.4 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.5953, allocations: 1.576 MB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.5957, allocations: 322 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.5959, allocations: 64.28 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.5959, allocations: 4.5 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.5959, allocations: 32.83 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 3.214e-06/0.5959, allocations: 0 / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.000679/0.5966, allocations: 251.3 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.5967, allocations: 81.81 kB / 1.112 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.5969, allocations: 195.6 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.5969, allocations: 26.92 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.597, allocations: 158.6 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.5971, allocations: 38.69 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.5971, allocations: 5 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.5972, allocations: 324.4 kB / 1.113 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.5973, allocations: 66.47 kB / 1.113 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.5975, allocations: 151.6 kB / 1.113 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.5977, allocations: 100 kB / 1.113 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.279e-06/0.5977, allocations: 0 / 1.113 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005515/0.5983, allocations: 264.3 kB / 1.113 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.766e-05/0.5984, allocations: 173.5 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5984, allocations: 3 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5984, allocations: 4 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.5988, allocations: 58.75 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.5988, allocations: 4.5 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.599, allocations: 18.94 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.5991, allocations: 12.28 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.5991, allocations: 4.031 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003952/0.5995, allocations: 200 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.537e-06/0.5995, allocations: 3.531 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.5995, allocations: 9.203 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.5997, allocations: 47.22 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.203e-06/0.5998, allocations: 6.391 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.5999, allocations: 13.38 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.6, allocations: 9.531 kB / 1.114 GB, free: 206.2 MB / 0.7292 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 () * Number of clocked 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 0.0001533/0.6001, allocations: 221.3 kB / 1.114 GB, free: 206 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.6002, allocations: 17.81 kB / 1.114 GB, free: 206 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.6005, allocations: 147 kB / 1.114 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.711e-06/0.6006, allocations: 2.719 kB / 1.114 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.382e-06/0.6006, allocations: 0 / 1.114 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.705e-06/0.6006, allocations: 2.453 kB / 1.114 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.6017, allocations: 0.7215 MB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.6018, allocations: 5.531 kB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.602, allocations: 27.91 kB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.602, allocations: 3.656 kB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.602, allocations: 10.33 kB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.602, allocations: 3.781 kB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.6021, allocations: 5.906 kB / 1.115 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.6024, allocations: 375.1 kB / 1.115 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.6025, allocations: 106.2 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.6026, allocations: 8.703 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.6028, allocations: 8.438 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.6029, allocations: 24.59 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.6029, allocations: 5.906 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001497/0.6031, allocations: 148.2 kB / 1.116 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.06e-07/0.6031, allocations: 1.5 kB / 1.116 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007334/0.6039, allocations: 66.97 kB / 1.116 GB, free: 204.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001459/0.604, allocations: 115.3 kB / 1.116 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.6046, allocations: 265.2 kB / 1.116 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.163e-06/0.6046, allocations: 1.094 kB / 1.116 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.6047, allocations: 58.97 kB / 1.116 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.6053, allocations: 33.58 kB / 1.116 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008482/0.6062, allocations: 0.4954 MB / 1.117 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.6065, allocations: 0.7366 MB / 1.117 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002714/0.6067, allocations: 82.88 kB / 1.118 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.6068, allocations: 20.11 kB / 1.118 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.54e-06/0.6068, allocations: 0 / 1.118 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.005881/0.6127, allocations: 1.622 MB / 1.119 GB, free: 203.5 MB / 0.7292 GB