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.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009112/0.009117, allocations: 107.4 kB / 15.06 MB, free: 5.559 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.001105/0.001105, allocations: 181 kB / 15.95 MB, free: 5.52 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 2.085/2.085, allocations: 194.6 MB / 211.3 MB, free: 11.12 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.418/2.418, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007282/0.0007284, allocations: 16 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5618, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003871/0.5657, allocations: 2.758 MB / 0.686 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.569, allocations: 1.716 MB / 0.6877 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.5693, allocations: 2.375 kB / 0.6877 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.5695, allocations: 38.98 kB / 0.6878 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006103/0.5702, allocations: 145.1 kB / 0.6879 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009177/0.5711, allocations: 226 kB / 0.6881 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004725/0.5716, allocations: 238.4 kB / 0.6883 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.5726, allocations: 440.4 kB / 0.6888 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.5729, allocations: 112.2 kB / 0.6889 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.5733, allocations: 140.7 kB / 0.689 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.5734, allocations: 13.12 kB / 0.689 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004533/0.5739, allocations: 126.2 kB / 0.6891 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.574, allocations: 100.2 kB / 0.6892 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.811e-05/0.5741, allocations: 71.62 kB / 0.6893 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006309/0.5748, allocations: 351 kB / 0.6896 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.465e-06/0.5748, allocations: 0 / 0.6896 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.253e-06/0.5748, allocations: 0 / 0.6896 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.5748, allocations: 4 kB / 0.6896 GB, free: 12.93 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001023/0.5759, allocations: 0.5353 MB / 0.6902 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.5759, allocations: 9.656 kB / 0.6902 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.577, allocations: 103.9 kB / 0.6903 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.5774, allocations: 268.8 kB / 0.6905 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.5775, allocations: 22.59 kB / 0.6905 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.5776, allocations: 38.62 kB / 0.6906 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.5785, allocations: 432.8 kB / 0.691 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5786, allocations: 5.156 kB / 0.691 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.5786, allocations: 23.33 kB / 0.691 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/0.5788, allocations: 39.36 kB / 0.6911 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007767/0.5796, allocations: 348.2 kB / 0.6914 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/0.5827, allocations: 2.195 MB / 0.6935 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.5833, allocations: 270.4 kB / 0.6938 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.5834, allocations: 7.219 kB / 0.6938 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.5834, allocations: 36.89 kB / 0.6938 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 3.354e-06/0.5834, allocations: 0 / 0.6938 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.002357/0.5858, allocations: 1.049 MB / 0.6949 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.5859, allocations: 54.48 kB / 0.6949 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.5862, allocations: 246.6 kB / 0.6951 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.5863, allocations: 31.27 kB / 0.6952 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.5864, allocations: 189.8 kB / 0.6954 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/0.5865, allocations: 83.22 kB / 0.6954 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.5865, allocations: 5.625 kB / 0.6954 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.5866, allocations: 335.6 kB / 0.6958 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/0.5871, allocations: 153.6 kB / 0.6959 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.5876, allocations: 235 kB / 0.6961 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.588, allocations: 181.2 kB / 0.6963 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.889e-06/0.588, allocations: 1.062 kB / 0.6963 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001583/0.5896, allocations: 0.5948 MB / 0.6969 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.5897, allocations: 7.438 kB / 0.6969 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5897, allocations: 3.125 kB / 0.6969 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009499/0.5907, allocations: 187.8 kB / 0.6971 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.5911, allocations: 63.97 kB / 0.6971 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.5947, allocations: 2.357 MB / 0.6994 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.5952, allocations: 20.94 kB / 0.6995 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.5952, allocations: 12.12 kB / 0.6995 GB, free: 6.078 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002378/0.5955, allocations: 170.5 kB / 0.6996 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.148e-05/0.5956, allocations: 24.66 kB / 0.6997 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007362/0.5963, allocations: 357.6 kB / 0.7 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.083e-06/0.5963, allocations: 2.406 kB / 0.7 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.223e-06/0.5963, allocations: 1.406 kB / 0.7 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.921e-06/0.5964, allocations: 3.984 kB / 0.7 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.5978, allocations: 0.8102 MB / 0.7008 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5978, allocations: 1.625 kB / 0.7008 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.5984, allocations: 73.34 kB / 0.7009 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.452e-06/0.5984, allocations: 1.188 kB / 0.7009 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.5985, allocations: 11.19 kB / 0.7009 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.711e-06/0.5985, allocations: 5.375 kB / 0.7009 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.837e-06/0.5985, allocations: 1.406 kB / 0.7009 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.5996, allocations: 0.6308 MB / 0.7015 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.5998, allocations: 136.6 kB / 0.7016 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.5999, allocations: 7.438 kB / 0.7016 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.6003, allocations: 17.39 kB / 0.7017 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.6003, allocations: 14.81 kB / 0.7017 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.6004, allocations: 10.19 kB / 0.7017 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002269/0.6006, allocations: 177.4 kB / 0.7019 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.13e-07/0.6006, allocations: 1.438 kB / 0.7019 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006342/0.6013, allocations: 88.66 kB / 0.7019 GB, free: 4.371 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.0001749/0.6015, allocations: 113.8 kB / 0.702 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.6026, allocations: 0.5265 MB / 0.7026 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.257e-06/0.6027, allocations: 0.625 kB / 0.7026 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.603, allocations: 157.6 kB / 0.7027 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.6035, allocations: 41.03 kB / 0.7028 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.6054, allocations: 0.9982 MB / 0.7037 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.6057, allocations: 0.7999 MB / 0.7045 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003409/0.6061, allocations: 74.5 kB / 0.7046 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.6062, allocations: 26.52 kB / 0.7046 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of SimCode: time 1.68e-06/0.6062, allocations: 0 / 0.7046 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of Templates: time 0.01055/0.6168, allocations: 3.653 MB / 0.7082 GB, free: 0.5156 MB / 0.5261 GB