Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.459/2.459, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001518/0.001518, allocations: 178 kB / 325.6 MB, free: 2.836 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.62/2.62, allocations: 205.4 MB / 0.5766 GB, free: 21.13 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.00111/0.00111, allocations: 106.2 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007415/0.0007417, allocations: 11.94 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2205, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004733/0.2253, allocations: 3.048 MB / 0.9019 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003267/0.2286, allocations: 1.63 MB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/0.2289, allocations: 4 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.2291, allocations: 35.77 kB / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.2297, allocations: 139.5 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.2304, allocations: 183.5 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.2308, allocations: 223.5 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008732/0.2317, allocations: 386.5 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.232, allocations: 115.6 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.2323, allocations: 127.5 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.2323, allocations: 16 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004291/0.2328, allocations: 139.8 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2329, allocations: 75.78 kB / 0.9048 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.233, allocations: 77.52 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005107/0.2335, allocations: 335.2 kB / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2335, allocations: 0 / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2336, allocations: 0 / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2336, allocations: 0 / 0.9052 GB, free: 59.4 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001373/0.235, allocations: 0.6057 MB / 0.9058 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.235, allocations: 8.031 kB / 0.9058 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.2361, allocations: 103.5 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.2365, allocations: 274.5 kB / 0.9062 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.2365, allocations: 16.44 kB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.2366, allocations: 19.94 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.2378, allocations: 426.6 kB / 0.9066 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.2378, allocations: 3.938 kB / 0.9066 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.2379, allocations: 8 kB / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.2379, allocations: 28.31 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.2393, allocations: 412.8 kB / 0.9071 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.2416, allocations: 1.619 MB / 0.9086 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.2434, allocations: 485.3 kB / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.2436, allocations: 85.09 kB / 0.9092 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000809/0.2445, allocations: 282.5 kB / 0.9095 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.935e-06/0.2445, allocations: 0 / 0.9095 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.002896/0.2474, allocations: 0.778 MB / 0.9102 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.2475, allocations: 85.09 kB / 0.9103 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.2477, allocations: 228.8 kB / 0.9105 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.2478, allocations: 29.7 kB / 0.9105 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2479, allocations: 168.4 kB / 0.9107 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.216e-05/0.248, allocations: 90.66 kB / 0.9108 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.2481, allocations: 4 kB / 0.9108 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.2481, allocations: 346.8 kB / 0.9111 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006943/0.2489, allocations: 176.2 kB / 0.9113 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000711/0.2496, allocations: 253.3 kB / 0.9115 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007351/0.2503, allocations: 237.8 kB / 0.9118 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2503, allocations: 0 / 0.9118 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001826/0.2522, allocations: 0.5637 MB / 0.9123 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.2524, allocations: 0.9099 MB / 0.9132 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2524, allocations: 4 kB / 0.9132 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.2528, allocations: 36.83 kB / 0.9132 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/0.2535, allocations: 95.86 kB / 0.9133 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.2552, allocations: 1.509 MB / 0.9148 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006184/0.2558, allocations: 59.8 kB / 0.9149 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.2559, allocations: 16 kB / 0.9149 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2559, allocations: 4 kB / 0.9149 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001727/0.2576, allocations: 0.4949 MB / 0.9154 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2577, allocations: 0 / 0.9154 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.2579, allocations: 40.83 kB / 0.9154 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.2586, allocations: 92.02 kB / 0.9155 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.2601, allocations: 1.489 MB / 0.9169 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/0.2607, allocations: 56.22 kB / 0.917 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.2608, allocations: 12 kB / 0.917 GB, free: 46.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003193/0.2611, allocations: 245 kB / 0.9172 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.2612, allocations: 23.72 kB / 0.9173 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.2629, allocations: 0.4895 MB / 0.9177 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.2629, allocations: 4 kB / 0.9177 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2629, allocations: 3.953 kB / 0.9178 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.263, allocations: 0 / 0.9178 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008557/0.2638, allocations: 0.5701 MB / 0.9183 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2638, allocations: 0 / 0.9183 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006861/0.2645, allocations: 79.86 kB / 0.9184 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002237/0.2648, allocations: 40.88 kB / 0.9184 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.2648, allocations: 8 kB / 0.9184 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.2661, allocations: 1.42 MB / 0.9198 GB, free: 43.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2662, allocations: 4.031 kB / 0.9198 GB, free: 43.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.2678, allocations: 0.6074 MB / 0.9204 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.268, allocations: 132.7 kB / 0.9205 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.2681, allocations: 8 kB / 0.9205 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.2686, allocations: 39.95 kB / 0.9206 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.2688, allocations: 40.19 kB / 0.9206 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.2689, allocations: 8 kB / 0.9206 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002089/0.2691, allocations: 176.5 kB / 0.9208 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2691, allocations: 0 / 0.9208 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008377/0.2699, allocations: 128 kB / 0.9209 GB, free: 42.24 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001984/0.2702, allocations: 115.1 kB / 0.921 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002749/0.2729, allocations: 1.002 MB / 0.922 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.273, allocations: 0 / 0.922 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000952/0.2739, allocations: 346.7 kB / 0.9223 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.2745, allocations: 48.38 kB / 0.9224 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.2761, allocations: 0.7515 MB / 0.9231 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.2764, allocations: 0.7956 MB / 0.9239 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005803/0.277, allocations: 90.2 kB / 0.924 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.2772, allocations: 23.44 kB / 0.924 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of SimCode: time 1.573e-06/0.2772, allocations: 0 / 0.924 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.01231/0.2895, allocations: 4.028 MB / 0.9279 GB, free: 34.97 MB / 0.6042 GB