Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.634/2.634, allocations: 287.9 MB / 302.9 MB, free: 8.27 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.001418/0.001418, allocations: 179.9 kB / 371.4 MB, free: 10.68 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.275/2.275, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.00175/0.00175, allocations: 89.27 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004604, allocations: 11.25 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2294, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003678/0.2331, allocations: 3.04 MB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.2358, allocations: 1.623 MB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.2361, allocations: 3.938 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.2362, allocations: 35.77 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.2366, allocations: 127.6 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.2373, allocations: 195.4 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.2376, allocations: 227.5 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007614/0.2384, allocations: 378.6 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.2386, allocations: 111.6 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.2388, allocations: 131.5 kB / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.2389, allocations: 16 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.2392, allocations: 135.8 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.549e-05/0.2393, allocations: 79.78 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/0.2394, allocations: 69.52 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.2398, allocations: 347.3 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.788e-06/0.2398, allocations: 4 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.862e-06/0.2398, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2398, allocations: 0 / 0.9851 GB, free: 21.66 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001037/0.2409, allocations: 0.6019 MB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2409, allocations: 12.02 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009017/0.2418, allocations: 107.5 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.2422, allocations: 274.3 kB / 0.986 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.2422, allocations: 12.44 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.2423, allocations: 20 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008619/0.2432, allocations: 430.5 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.2432, allocations: 3.938 kB / 0.9865 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.2433, allocations: 15.98 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.836e-05/0.2433, allocations: 24.36 kB / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.2444, allocations: 416.7 kB / 0.9869 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.2463, allocations: 1.615 MB / 0.9885 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.2476, allocations: 495.5 kB / 0.989 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.2478, allocations: 89.09 kB / 0.9891 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006228/0.2484, allocations: 282.5 kB / 0.9893 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 3.428e-06/0.2484, allocations: 0 / 0.9893 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.002168/0.2506, allocations: 0.7782 MB / 0.9901 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2507, allocations: 89.28 kB / 0.9902 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.2509, allocations: 220.9 kB / 0.9904 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.251, allocations: 37.69 kB / 0.9904 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.2511, allocations: 168.3 kB / 0.9906 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/0.2512, allocations: 90.66 kB / 0.9907 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.2512, allocations: 4 kB / 0.9907 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.2513, allocations: 342.7 kB / 0.991 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/0.2518, allocations: 180.2 kB / 0.9912 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.2523, allocations: 253.3 kB / 0.9914 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005461/0.2529, allocations: 238.3 kB / 0.9916 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.122e-06/0.2529, allocations: 4 kB / 0.9916 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001401/0.2543, allocations: 0.5553 MB / 0.9922 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.2545, allocations: 0.9072 MB / 0.9931 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.883e-06/0.2546, allocations: 4 kB / 0.9931 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.2548, allocations: 36.83 kB / 0.9931 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.2553, allocations: 91.86 kB / 0.9932 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.2568, allocations: 1.513 MB / 0.9947 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.2572, allocations: 63.84 kB / 0.9947 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.2573, allocations: 11.95 kB / 0.9948 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.2573, allocations: 4 kB / 0.9948 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00129/0.2586, allocations: 0.4983 MB / 0.9952 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.193e-06/0.2586, allocations: 0 / 0.9952 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/0.2588, allocations: 36.83 kB / 0.9953 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.2593, allocations: 91.86 kB / 0.9954 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.2605, allocations: 1.501 MB / 0.9968 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.261, allocations: 51.95 kB / 0.9969 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.261, allocations: 8 kB / 0.9969 GB, free: 8.781 MB / 0.6198 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.0002438/0.2613, allocations: 248.9 kB / 0.9971 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.2613, allocations: 23.72 kB / 0.9971 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.2626, allocations: 492.5 kB / 0.9976 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.386e-06/0.2626, allocations: 4 kB / 0.9976 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.269e-06/0.2626, allocations: 0 / 0.9976 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.2626, allocations: 3.953 kB / 0.9976 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000686/0.2633, allocations: 0.57 MB / 0.9982 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.018e-06/0.2633, allocations: 0 / 0.9982 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/0.2638, allocations: 83.86 kB / 0.9983 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.264, allocations: 36.77 kB / 0.9983 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.264, allocations: 11.95 kB / 0.9983 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.2652, allocations: 1.425 MB / 0.9997 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.559e-06/0.2652, allocations: 4 kB / 0.9997 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.2664, allocations: 0.6017 MB / 1 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.2665, allocations: 140.6 kB / 1 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.2666, allocations: 7.938 kB / 1 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.267, allocations: 39.95 kB / 1 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.2671, allocations: 35.91 kB / 1.001 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.2672, allocations: 8 kB / 1.001 GB, free: 4.789 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001734/0.2674, allocations: 180.5 kB / 1.001 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.22e-07/0.2674, allocations: 0 / 1.001 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007433/0.2681, allocations: 124 kB / 1.001 GB, free: 4.488 MB / 0.6198 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.0001554/0.2683, allocations: 111.2 kB / 1.001 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002039/0.2703, allocations: 1.009 MB / 1.002 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2704, allocations: 0 / 1.002 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007013/0.2711, allocations: 339.3 kB / 1.002 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.2715, allocations: 40.39 kB / 1.002 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.2728, allocations: 0.7392 MB / 1.003 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.273, allocations: 0.7878 MB / 1.004 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003799/0.2734, allocations: 94.2 kB / 1.004 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.2736, allocations: 31.38 kB / 1.004 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of SimCode: time 1.816e-06/0.2736, allocations: 0 / 1.004 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of Templates: time 0.01062/0.2842, allocations: 4.03 MB / 1.008 GB, free: 13.23 MB / 0.6355 GB