Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.76/2.76, allocations: 287.9 MB / 302.9 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002361/0.002361, allocations: 181.2 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.6301 GB, free: 10.29 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.001009, allocations: 82.92 kB / 0.7434 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004959, allocations: 12.12 kB / 0.8662 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1548, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01053/0.1654, allocations: 9.227 MB / 0.9878 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.1777, allocations: 8.047 MB / 0.9956 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.1792, allocations: 55.62 kB / 0.9957 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009089/0.1801, allocations: 250.3 kB / 0.9959 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.1843, allocations: 1.261 MB / 0.9972 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.186, allocations: 479.7 kB / 0.9976 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002328/0.1884, allocations: 1.391 MB / 0.999 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003401/0.1918, allocations: 1.764 MB / 1.001 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.1932, allocations: 0.7239 MB / 1.001 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.1944, allocations: 0.7354 MB / 1.002 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.1946, allocations: 60 kB / 1.002 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.1958, allocations: 399.4 kB / 1.003 GB, free: 3.684 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.1962, allocations: 442.7 kB / 1.003 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.1966, allocations: 336.8 kB / 1.003 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.1987, allocations: 1.925 MB / 1.005 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.533e-06/0.1988, allocations: 0 / 1.005 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.364e-06/0.1988, allocations: 0 / 1.005 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.729e-05/0.1988, allocations: 0 / 1.005 GB, free: 0.9844 MB / 0.6198 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.003336/0.2022, allocations: 1.722 MB / 1.007 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2022, allocations: 12.02 kB / 1.007 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.2153, allocations: 2.123 MB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.2181, allocations: 1.079 MB / 1.01 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.2182, allocations: 86.31 kB / 1.01 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/0.2186, allocations: 112 kB / 1.01 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007208/0.2258, allocations: 2.482 MB / 1.013 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.509e-05/0.2259, allocations: 7.984 kB / 1.013 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.2262, allocations: 55.98 kB / 1.013 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004235/0.2266, allocations: 126.1 kB / 1.013 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009206/0.2358, allocations: 2.588 MB / 1.015 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.018/0.2539, allocations: 10.12 MB / 1.025 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009845/0.2638, allocations: 1.995 MB / 1.027 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.2639, allocations: 12.42 kB / 1.027 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.845e-05/0.264, allocations: 47 kB / 1.027 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 6.283e-06/0.264, allocations: 0 / 1.027 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.04127/0.3053, allocations: 8.766 MB / 1.036 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.3054, allocations: 60.06 kB / 1.036 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.3075, allocations: 1.085 MB / 1.037 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.3077, allocations: 41.7 kB / 1.037 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007682/0.3085, allocations: 0.7341 MB / 1.038 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.3089, allocations: 279.9 kB / 1.038 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3091, allocations: 20 kB / 1.038 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.3093, allocations: 349.9 kB / 1.038 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00383/0.3131, allocations: 1.087 MB / 1.039 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004006/0.3172, allocations: 1.321 MB / 1.041 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/0.3211, allocations: 1.143 MB / 1.042 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.716e-06/0.3211, allocations: 4 kB / 1.042 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01135/0.3325, allocations: 3.307 MB / 1.045 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.3325, allocations: 13.34 kB / 1.045 GB, free: 7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.3326, allocations: 8.875 kB / 1.045 GB, free: 6.992 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003756/0.3363, allocations: 0.791 MB / 1.046 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.3389, allocations: 419.3 kB / 1.046 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02214/0.3611, allocations: 14.98 MB / 1.061 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/0.3636, allocations: 295.5 kB / 1.061 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/0.3639, allocations: 55.95 kB / 1.061 GB, free: 5.371 MB / 0.6823 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.001027/0.3649, allocations: 393.5 kB / 1.061 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/0.3653, allocations: 142.3 kB / 1.062 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.3766, allocations: 3.241 MB / 1.065 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.3766, allocations: 11.95 kB / 1.065 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/0.3767, allocations: 8 kB / 1.065 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.3767, allocations: 3.984 kB / 1.065 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5772/0.9539, allocations: 4.94 MB / 1.07 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.954, allocations: 4.047 kB / 1.07 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/0.9561, allocations: 370 kB / 1.07 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00334/0.9594, allocations: 0.6968 MB / 1.071 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/0.9597, allocations: 28.83 kB / 1.071 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01756/0.9772, allocations: 14.61 MB / 1.085 GB, free: 72.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.278e-06/0.9773, allocations: 4.531 kB / 1.085 GB, free: 72.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/0.9878, allocations: 3.227 MB / 1.088 GB, free: 70.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009928/0.9888, allocations: 386.1 kB / 1.088 GB, free: 70.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.9891, allocations: 19.42 kB / 1.089 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/0.9914, allocations: 303.2 kB / 1.089 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.9918, allocations: 79.52 kB / 1.089 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.992, allocations: 39.53 kB / 1.089 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001398/0.9934, allocations: 0.7298 MB / 1.09 GB, free: 70.36 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.31e-07/0.9934, allocations: 0 / 1.09 GB, free: 70.36 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002185/0.9956, allocations: 430.8 kB / 1.09 GB, free: 70.32 MB / 0.6823 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.0003291/0.996, allocations: 126.5 kB / 1.09 GB, free: 70.22 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.006, allocations: 3.653 MB / 1.094 GB, free: 68.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.006, allocations: 1 kB / 1.094 GB, free: 68.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006237/1.012, allocations: 2.395 MB / 1.096 GB, free: 67.31 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/1.015, allocations: 473.7 kB / 1.097 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00912/1.024, allocations: 3.943 MB / 1.1 GB, free: 65.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/1.026, allocations: 1.416 MB / 1.102 GB, free: 64.53 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002486/1.028, allocations: 375.1 kB / 1.102 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/1.029, allocations: 107 kB / 1.102 GB, free: 64.38 MB / 0.6823 GB Notification: Performance of SimCode: time 1.58e-06/1.029, allocations: 3.609 kB / 1.102 GB, free: 64.38 MB / 0.6823 GB Notification: Performance of Templates: time 0.06248/1.091, allocations: 28.11 MB / 1.13 GB, free: 50.53 MB / 0.6823 GB