Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.329/2.329, allocations: 251.1 MB / 266.1 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001584/0.001584, allocations: 183.7 kB / 325.6 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.482/2.482, allocations: 205.4 MB / 0.5766 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 94.91 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004573, allocations: 19.06 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 106.2 MB / 0.8989 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01322/0.2243, allocations: 9.239 MB / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.2396, allocations: 8.059 MB / 0.9158 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.2413, allocations: 51.62 kB / 0.9158 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.2424, allocations: 254.3 kB / 0.9161 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005405/0.2478, allocations: 1.259 MB / 0.9173 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.25, allocations: 477.2 kB / 0.9178 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003237/0.2533, allocations: 1.378 MB / 0.9191 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004156/0.2575, allocations: 1.784 MB / 0.9208 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.2593, allocations: 0.72 MB / 0.9215 GB, free: 42.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.2612, allocations: 0.7276 MB / 0.9223 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004276/0.2617, allocations: 67.94 kB / 0.9223 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.2634, allocations: 407.4 kB / 0.9227 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005713/0.264, allocations: 438.7 kB / 0.9231 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005242/0.2645, allocations: 340.8 kB / 0.9235 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.2675, allocations: 1.913 MB / 0.9253 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2676, allocations: 0 / 0.9253 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.116e-06/0.2676, allocations: 0 / 0.9253 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.606e-05/0.2677, allocations: 0 / 0.9253 GB, free: 38.34 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004191/0.2719, allocations: 1.71 MB / 0.927 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2719, allocations: 15.97 kB / 0.927 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01979/0.2917, allocations: 2.127 MB / 0.9291 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.295, allocations: 1.072 MB / 0.9301 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.561e-05/0.2951, allocations: 90.31 kB / 0.9302 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003412/0.2955, allocations: 119.9 kB / 0.9303 GB, free: 33.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008942/0.3044, allocations: 2.478 MB / 0.9327 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.377e-05/0.3045, allocations: 15.84 kB / 0.9328 GB, free: 30.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.3048, allocations: 55.98 kB / 0.9328 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005526/0.3054, allocations: 134 kB / 0.9329 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.3177, allocations: 2.58 MB / 0.9355 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/0.3369, allocations: 10.11 MB / 0.9453 GB, free: 16.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.3478, allocations: 1.999 MB / 0.9473 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.3479, allocations: 8.422 kB / 0.9473 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.348, allocations: 46.88 kB / 0.9473 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 3.757e-06/0.348, allocations: 4 kB / 0.9473 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.05925/0.4073, allocations: 8.758 MB / 0.9559 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.4073, allocations: 64.06 kB / 0.956 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.4092, allocations: 1.077 MB / 0.957 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.4095, allocations: 41.7 kB / 0.9571 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/0.4101, allocations: 0.7456 MB / 0.9578 GB, free: 4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.4105, allocations: 280 kB / 0.9581 GB, free: 3.723 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.4107, allocations: 16 kB / 0.9581 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4108, allocations: 349.9 kB / 0.9584 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005261/0.4161, allocations: 1.087 MB / 0.9595 GB, free: 2.273 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005364/0.4215, allocations: 1.317 MB / 0.9607 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005547/0.4271, allocations: 1.146 MB / 0.9619 GB, free: 15.71 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.4272, allocations: 8 kB / 0.9619 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01785/0.445, allocations: 3.304 MB / 0.9651 GB, free: 12.37 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.4451, allocations: 8 kB / 0.9651 GB, free: 12.36 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.4452, allocations: 8 kB / 0.9651 GB, free: 12.35 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004965/0.4501, allocations: 0.7872 MB / 0.9659 GB, free: 11.54 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004884/0.4551, allocations: 423.3 kB / 0.9663 GB, free: 11.12 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03067/0.4858, allocations: 14.97 MB / 0.9809 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004122/0.49, allocations: 303.6 kB / 0.9812 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/0.4903, allocations: 55.95 kB / 0.9812 GB, free: 10.73 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001275/0.4916, allocations: 390.9 kB / 0.9816 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004946/0.4921, allocations: 150.2 kB / 0.9818 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0243/0.5164, allocations: 3.238 MB / 0.9849 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.5165, allocations: 8 kB / 0.9849 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.412e-05/0.5166, allocations: 4 kB / 0.9849 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/0.5166, allocations: 11.92 kB / 0.9849 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02807/0.5447, allocations: 4.94 MB / 0.9898 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/0.5448, allocations: 4 kB / 0.9898 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003302/0.5481, allocations: 363.4 kB / 0.9901 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004403/0.5526, allocations: 0.6945 MB / 0.9908 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/0.5529, allocations: 31.97 kB / 0.9908 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0248/0.5777, allocations: 14.62 MB / 1.005 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.5777, allocations: 4.797 kB / 1.005 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/0.5967, allocations: 3.221 MB / 1.008 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.598, allocations: 387.4 kB / 1.009 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/0.5984, allocations: 27.92 kB / 1.009 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003646/0.602, allocations: 295.5 kB / 1.009 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004237/0.6025, allocations: 88.47 kB / 1.009 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/0.6027, allocations: 47.91 kB / 1.009 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00158/0.6043, allocations: 0.7287 MB / 1.01 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.51e-07/0.6043, allocations: 0 / 1.01 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002376/0.6067, allocations: 436 kB / 1.01 GB, free: 11.64 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004438/0.6072, allocations: 131.1 kB / 1.01 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01507/0.6223, allocations: 3.648 MB / 1.014 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/0.6224, allocations: 0 / 1.014 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009168/0.6315, allocations: 2.379 MB / 1.016 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003608/0.6352, allocations: 476.8 kB / 1.017 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.6488, allocations: 3.946 MB / 1.021 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/0.6505, allocations: 1.427 MB / 1.022 GB, free: 15.34 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.002808/0.6533, allocations: 367.9 kB / 1.022 GB, free: 14.98 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/0.654, allocations: 111.4 kB / 1.022 GB, free: 14.87 MB / 0.6824 GB Notification: Performance of SimCode: time 1.342e-06/0.654, allocations: 4 kB / 1.022 GB, free: 14.86 MB / 0.6824 GB Notification: Performance of Templates: time 0.08399/0.738, allocations: 28.1 MB / 1.05 GB, free: 3.086 MB / 0.698 GB