Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.649/2.649, allocations: 287.9 MB / 302.9 MB, free: 8.297 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.001489/0.001488, allocations: 172.1 kB / 371.4 MB, free: 10.7 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.037/2.037, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.001035/0.001034, allocations: 103.4 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004781, allocations: 15.66 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2049, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01153/0.2164, allocations: 5.71 MB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007936/0.2244, allocations: 2.898 MB / 0.9872 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007876/0.2253, allocations: 19.88 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.2259, allocations: 123.1 kB / 0.9873 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.2276, allocations: 422.7 kB / 0.9877 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.2291, allocations: 326.2 kB / 0.988 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.2307, allocations: 0.7311 MB / 0.9887 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.2334, allocations: 0.9249 MB / 0.9896 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000781/0.2342, allocations: 346.8 kB / 0.99 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008225/0.235, allocations: 398.5 kB / 0.9903 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.2352, allocations: 32 kB / 0.9904 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.2356, allocations: 155.7 kB / 0.9905 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.2359, allocations: 243.3 kB / 0.9908 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.2361, allocations: 177.3 kB / 0.9909 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008692/0.237, allocations: 0.8613 MB / 0.9918 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.37e-06/0.237, allocations: 0 / 0.9918 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.246e-06/0.237, allocations: 0 / 0.9918 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.237, allocations: 0 / 0.9918 GB, free: 14.82 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00159/0.2386, allocations: 1.003 MB / 0.9927 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2387, allocations: 12.03 kB / 0.9928 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.2402, allocations: 222.7 kB / 0.993 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.2411, allocations: 0.5288 MB / 0.9935 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/0.2412, allocations: 49.3 kB / 0.9935 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.2413, allocations: 63.98 kB / 0.9936 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.2429, allocations: 1.077 MB / 0.9946 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.243, allocations: 11.84 kB / 0.9947 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.149e-05/0.2431, allocations: 27.98 kB / 0.9947 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/0.2433, allocations: 85.25 kB / 0.9948 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.2447, allocations: 0.7464 MB / 0.9955 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005255/0.2499, allocations: 5.897 MB / 1.001 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.2511, allocations: 0.5489 MB / 1.002 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.2512, allocations: 16.36 kB / 1.002 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.2512, allocations: 39 kB / 1.002 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.773e-06/0.2513, allocations: 0 / 1.002 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.004286/0.2556, allocations: 1.984 MB / 1.004 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.2556, allocations: 55.84 kB / 1.004 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.2563, allocations: 0.547 MB / 1.004 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.2564, allocations: 33.7 kB / 1.004 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.2566, allocations: 418.9 kB / 1.005 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.2568, allocations: 169.6 kB / 1.005 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.2568, allocations: 12 kB / 1.005 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.2569, allocations: 374.8 kB / 1.005 GB, free: 144 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/0.2575, allocations: 269.8 kB / 1.006 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007668/0.2583, allocations: 0.4892 MB / 1.006 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007408/0.259, allocations: 342 kB / 1.006 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.859e-06/0.259, allocations: 0 / 1.006 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002561/0.2616, allocations: 1.086 MB / 1.007 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.2617, allocations: 9.562 kB / 1.007 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.2617, allocations: 8 kB / 1.007 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.2628, allocations: 276 kB / 1.008 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.2635, allocations: 131.7 kB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008917/0.2724, allocations: 6.692 MB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.2732, allocations: 35.95 kB / 1.014 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.2733, allocations: 32.19 kB / 1.014 GB, free: 6.137 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005011/0.2738, allocations: 249.6 kB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.274, allocations: 75.22 kB / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.2761, allocations: 0.8924 MB / 1.016 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.2761, allocations: 4.375 kB / 1.016 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.2762, allocations: 4 kB / 1.016 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.925e-06/0.2762, allocations: 3.984 kB / 1.016 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.2799, allocations: 1.717 MB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.2799, allocations: 7.984 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.2803, allocations: 63.84 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.2814, allocations: 271.3 kB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.2815, allocations: 8 kB / 1.018 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008953/0.2904, allocations: 6.678 MB / 1.024 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.853e-06/0.2905, allocations: 7.969 kB / 1.024 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.2927, allocations: 1.056 MB / 1.025 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.2932, allocations: 192.2 kB / 1.025 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.2933, allocations: 16 kB / 1.025 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.2938, allocations: 27.92 kB / 1.025 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.294, allocations: 47.88 kB / 1.025 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.294, allocations: 16 kB / 1.026 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006075/0.2946, allocations: 379.1 kB / 1.026 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.52e-07/0.2947, allocations: 0 / 1.026 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001111/0.2958, allocations: 220 kB / 1.026 GB, free: 9.465 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001937/0.296, allocations: 119.2 kB / 1.026 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002619/0.2986, allocations: 1.264 MB / 1.027 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.466e-06/0.2986, allocations: 3.938 kB / 1.027 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.3004, allocations: 0.8935 MB / 1.028 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.3016, allocations: 190.8 kB / 1.028 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.3046, allocations: 1.579 MB / 1.03 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009182/0.3056, allocations: 1.028 MB / 1.031 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006546/0.3062, allocations: 122 kB / 1.031 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.3064, allocations: 43.44 kB / 1.031 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of SimCode: time 1.707e-06/0.3064, allocations: 0 / 1.031 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of Templates: time 0.02653/0.333, allocations: 10.26 MB / 1.041 GB, free: 9.914 MB / 0.6667 GB