Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.512/2.512, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001574/0.001574, allocations: 182.8 kB / 325.6 MB, free: 2.824 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.401/2.401, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001089/0.001089, allocations: 100.5 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.0005049, allocations: 9.438 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2105, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003786/0.2143, allocations: 2.56 MB / 0.9014 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003082/0.2174, allocations: 1.638 MB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.2176, allocations: 8 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.2178, allocations: 23.78 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005388/0.2184, allocations: 139.6 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.2191, allocations: 187.5 kB / 0.9033 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.2195, allocations: 227.5 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008533/0.2204, allocations: 374.6 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.2206, allocations: 119.6 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.2209, allocations: 135.5 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.221, allocations: 12 kB / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000381/0.2214, allocations: 139.8 kB / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.2215, allocations: 67.81 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.2216, allocations: 73.58 kB / 0.9044 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.2221, allocations: 339.4 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2221, allocations: 0 / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2221, allocations: 0 / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2221, allocations: 0 / 0.9048 GB, free: 59.42 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.001398/0.2235, allocations: 0.6172 MB / 0.9054 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2236, allocations: 8.031 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.2246, allocations: 107.5 kB / 0.9055 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.225, allocations: 270.5 kB / 0.9057 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.2251, allocations: 20.42 kB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.2252, allocations: 20 kB / 0.9058 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.2263, allocations: 422.5 kB / 0.9062 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.2263, allocations: 0 / 0.9062 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.2264, allocations: 8 kB / 0.9062 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/0.2264, allocations: 28.31 kB / 0.9062 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.2279, allocations: 432.7 kB / 0.9066 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.2302, allocations: 1.607 MB / 0.9082 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.232, allocations: 487.3 kB / 0.9086 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.2322, allocations: 93.09 kB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008081/0.233, allocations: 274.5 kB / 0.909 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.926e-06/0.233, allocations: 0 / 0.909 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.002843/0.2359, allocations: 0.7735 MB / 0.9098 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.236, allocations: 85.05 kB / 0.9098 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.2362, allocations: 232.9 kB / 0.9101 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.2363, allocations: 29.7 kB / 0.9101 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/0.2364, allocations: 164.4 kB / 0.9102 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.2365, allocations: 94.64 kB / 0.9103 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.2365, allocations: 8 kB / 0.9103 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.2366, allocations: 338.8 kB / 0.9107 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006595/0.2373, allocations: 184.2 kB / 0.9108 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/0.238, allocations: 249.3 kB / 0.9111 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/0.2387, allocations: 237.8 kB / 0.9113 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2387, allocations: 0 / 0.9113 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001815/0.2406, allocations: 0.556 MB / 0.9118 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.2408, allocations: 0.9098 MB / 0.9127 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2408, allocations: 0 / 0.9127 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003226/0.2412, allocations: 48.77 kB / 0.9128 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.2419, allocations: 87.86 kB / 0.9129 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.2435, allocations: 1.513 MB / 0.9143 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005831/0.2441, allocations: 55.75 kB / 0.9144 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.2442, allocations: 19.98 kB / 0.9144 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2442, allocations: 6.188 kB / 0.9144 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001673/0.2459, allocations: 495 kB / 0.9149 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2459, allocations: 11.88 kB / 0.9149 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.2461, allocations: 40.97 kB / 0.9149 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.2468, allocations: 91.86 kB / 0.915 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.2482, allocations: 1.497 MB / 0.9165 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.2487, allocations: 47.8 kB / 0.9165 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.2488, allocations: 16 kB / 0.9166 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.0002688/0.2491, allocations: 241 kB / 0.9168 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.2491, allocations: 27.7 kB / 0.9168 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.2508, allocations: 489.4 kB / 0.9173 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.2508, allocations: 8 kB / 0.9173 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2508, allocations: 7.953 kB / 0.9173 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2508, allocations: 0 / 0.9173 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007941/0.2516, allocations: 0.5622 MB / 0.9178 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2517, allocations: 0 / 0.9178 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006769/0.2524, allocations: 84 kB / 0.9179 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001925/0.2526, allocations: 44.72 kB / 0.918 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.2526, allocations: 4 kB / 0.918 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.2538, allocations: 1.424 MB / 0.9194 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2538, allocations: 0 / 0.9194 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.2554, allocations: 0.5999 MB / 0.9199 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.2556, allocations: 136.6 kB / 0.9201 GB, free: 42.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.2557, allocations: 19.97 kB / 0.9201 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/0.2562, allocations: 43.95 kB / 0.9201 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.2564, allocations: 35.91 kB / 0.9202 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.2564, allocations: 8 kB / 0.9202 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001966/0.2567, allocations: 168.5 kB / 0.9203 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2567, allocations: 4 kB / 0.9203 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008089/0.2575, allocations: 128 kB / 0.9205 GB, free: 42.25 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.0001922/0.2577, allocations: 119.1 kB / 0.9206 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002715/0.2604, allocations: 0.9977 MB / 0.9215 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2604, allocations: 0 / 0.9215 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009383/0.2614, allocations: 342.9 kB / 0.9219 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.2619, allocations: 44.53 kB / 0.9219 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2635, allocations: 0.7378 MB / 0.9226 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.2638, allocations: 0.7917 MB / 0.9234 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005703/0.2643, allocations: 98.19 kB / 0.9235 GB, free: 39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.2646, allocations: 23.44 kB / 0.9235 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/0.2646, allocations: 0 / 0.9235 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.01448/0.2791, allocations: 4.031 MB / 0.9275 GB, free: 34.96 MB / 0.6042 GB