Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.707/2.707, allocations: 287.9 MB / 302.9 MB, free: 8.379 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.001404/0.001404, allocations: 173.2 kB / 371.4 MB, free: 10.67 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.048/2.048, allocations: 205.4 MB / 0.6301 GB, free: 10.35 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.001017/0.001016, allocations: 88.42 kB / 0.7434 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008319/0.0008323, allocations: 15.34 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2118, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00476/0.2166, allocations: 4.108 MB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003858/0.2205, allocations: 2.325 MB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005101/0.2211, allocations: 23.81 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.2213, allocations: 67.47 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009831/0.2223, allocations: 366.8 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008629/0.2232, allocations: 291.4 kB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000769/0.224, allocations: 0.5797 MB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007445/0.2247, allocations: 416.2 kB / 0.9867 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.2251, allocations: 270.9 kB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/0.2255, allocations: 282.8 kB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.804e-05/0.2256, allocations: 24 kB / 0.9873 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.226, allocations: 143.8 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.2261, allocations: 147.4 kB / 0.9876 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2263, allocations: 133.4 kB / 0.9877 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.2269, allocations: 0.604 MB / 0.9883 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.483e-06/0.2269, allocations: 0 / 0.9883 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.285e-06/0.227, allocations: 0 / 0.9883 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.227, allocations: 0 / 0.9883 GB, free: 18.36 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001128/0.2281, allocations: 0.81 MB / 0.9891 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2282, allocations: 12.02 kB / 0.9891 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.2293, allocations: 190.9 kB / 0.9893 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/0.23, allocations: 473.4 kB / 0.9897 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.2301, allocations: 33 kB / 0.9897 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/0.2302, allocations: 47.97 kB / 0.9898 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.2313, allocations: 0.8327 MB / 0.9906 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.2313, allocations: 11.88 kB / 0.9906 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.2314, allocations: 27.98 kB / 0.9906 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.2315, allocations: 64.95 kB / 0.9907 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009839/0.2325, allocations: 0.5694 MB / 0.9912 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.2365, allocations: 5.635 MB / 0.9968 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007553/0.2373, allocations: 455.7 kB / 0.9972 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.2374, allocations: 4 kB / 0.9972 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2374, allocations: 42.98 kB / 0.9972 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 5.044e-06/0.2374, allocations: 3.984 kB / 0.9972 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.002769/0.2402, allocations: 1.504 MB / 0.9987 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.2403, allocations: 55.41 kB / 0.9988 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.2408, allocations: 494.9 kB / 0.9992 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.2409, allocations: 29.7 kB / 0.9993 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.241, allocations: 350.8 kB / 0.9996 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.674e-05/0.2411, allocations: 122.3 kB / 0.9997 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.2412, allocations: 12 kB / 0.9997 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.2413, allocations: 370.8 kB / 1 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.2416, allocations: 193.2 kB / 1 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.2421, allocations: 439 kB / 1.001 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.2426, allocations: 268 kB / 1.001 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.107e-06/0.2426, allocations: 4 kB / 1.001 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001531/0.2441, allocations: 0.801 MB / 1.002 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.2442, allocations: 8 kB / 1.002 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.2442, allocations: 12.81 kB / 1.002 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.2448, allocations: 152.2 kB / 1.002 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/0.2454, allocations: 123.8 kB / 1.002 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/0.2488, allocations: 4.068 MB / 1.006 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.2495, allocations: 35.97 kB / 1.006 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.2495, allocations: 24 kB / 1.006 GB, free: 14.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000383/0.2499, allocations: 217.8 kB / 1.006 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.2501, allocations: 59.25 kB / 1.006 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.2515, allocations: 0.6046 MB / 1.007 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.443e-06/0.2516, allocations: 4 kB / 1.007 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.2516, allocations: 3.953 kB / 1.007 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.45e-06/0.2516, allocations: 3.984 kB / 1.007 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.2542, allocations: 1.249 MB / 1.008 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.093e-06/0.2543, allocations: 4.219 kB / 1.008 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.2546, allocations: 63.84 kB / 1.008 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005804/0.2552, allocations: 140.2 kB / 1.008 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.2553, allocations: 8 kB / 1.008 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004586/0.2599, allocations: 4.044 MB / 1.012 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.658e-06/0.2599, allocations: 4.031 kB / 1.012 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.2615, allocations: 0.7898 MB / 1.013 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.2618, allocations: 160.4 kB / 1.013 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.2619, allocations: 8 kB / 1.013 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.2623, allocations: 23.97 kB / 1.013 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-05/0.2624, allocations: 39.89 kB / 1.013 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.2624, allocations: 11.95 kB / 1.013 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005152/0.263, allocations: 326.9 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.28e-07/0.263, allocations: 0 / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008518/0.2638, allocations: 140 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * 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): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001771/0.264, allocations: 115.1 kB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001995/0.266, allocations: 1.036 MB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.2661, allocations: 0 / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.2673, allocations: 0.735 MB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.2684, allocations: 180.2 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.2707, allocations: 1.208 MB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.2715, allocations: 0.9181 MB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005039/0.272, allocations: 117.2 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.2721, allocations: 51.31 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of SimCode: time 1.508e-06/0.2721, allocations: 4 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of Templates: time 0.01911/0.2913, allocations: 7.019 MB / 1.025 GB, free: 10.75 MB / 0.6511 GB