Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.45/2.45, 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.001557/0.001557, allocations: 180.4 kB / 325.6 MB, free: 2.809 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.681/2.681, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001083/0.001083, allocations: 98.3 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007017/0.000702, allocations: 10.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2214, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002982/0.2245, allocations: 1.933 MB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.226, allocations: 0.7728 MB / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2261, allocations: 0 / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2263, allocations: 19.86 kB / 0.9015 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.2265, allocations: 43.84 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.2267, allocations: 35.91 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.2269, allocations: 91.81 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.2272, allocations: 185.8 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2273, allocations: 51.77 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2275, allocations: 55.77 kB / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.2275, allocations: 4 kB / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.602e-05/0.2276, allocations: 23.98 kB / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.2277, allocations: 31.91 kB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.2277, allocations: 49.64 kB / 0.9021 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.2279, allocations: 124 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.228, allocations: 3.938 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.228, allocations: 0 / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.228, allocations: 0 / 0.9022 GB, free: 61.98 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006808/0.2287, allocations: 470.4 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2287, allocations: 16.03 kB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.229, allocations: 27.8 kB / 0.9027 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.2293, allocations: 210.8 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/0.2293, allocations: 29.89 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.2294, allocations: 12 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.2297, allocations: 157.7 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2298, allocations: 7.875 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.2298, allocations: 8 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.2298, allocations: 4.188 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.2301, allocations: 88.5 kB / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.2312, allocations: 0.6451 MB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.2315, allocations: 58.5 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2316, allocations: 0 / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.2318, allocations: 153.1 kB / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.2318, allocations: 0 / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005363/0.2324, allocations: 244.2 kB / 0.9043 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.2325, allocations: 136.5 kB / 0.9044 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.2327, allocations: 178.9 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.2327, allocations: 29.7 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.2328, allocations: 143.7 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.2328, allocations: 23.73 kB / 0.9047 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.2329, allocations: 8 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.2329, allocations: 318.8 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.2331, allocations: 39.98 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.2333, allocations: 109.4 kB / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.2334, allocations: 111.3 kB / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2335, allocations: 3.938 kB / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004835/0.234, allocations: 252.6 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.234, allocations: 63.41 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.234, allocations: 0 / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.2341, allocations: 4 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.2343, allocations: 31.92 kB / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2343, allocations: 4.312 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.2345, allocations: 32.14 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.2345, allocations: 8 kB / 0.9057 GB, free: 58.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.2347, allocations: 165.2 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.2348, allocations: 15.86 kB / 0.9059 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.2349, allocations: 21.33 kB / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2349, allocations: 0 / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2349, allocations: 0 / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2349, allocations: 0 / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.2354, allocations: 221.5 kB / 0.9061 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2354, allocations: 48 / 0.9061 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.2358, allocations: 15.98 kB / 0.9061 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.2358, allocations: 0 / 0.9061 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.2359, allocations: 3.953 kB / 0.9061 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/0.2359, allocations: 11.97 kB / 0.9061 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2359, allocations: 0 / 0.9061 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008953/0.2368, allocations: 222.6 kB / 0.9063 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.2369, allocations: 88.95 kB / 0.9064 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.237, allocations: 8 kB / 0.9064 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.2371, allocations: 15.94 kB / 0.9064 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.2372, allocations: 11.98 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.2372, allocations: 4 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001191/0.2374, allocations: 131.3 kB / 0.9066 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2374, allocations: 4 kB / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003538/0.2377, allocations: 31.94 kB / 0.9066 GB, free: 56.97 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001129/0.2379, allocations: 103.2 kB / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.2383, allocations: 215.2 kB / 0.9069 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2383, allocations: 4.062 kB / 0.9069 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.2385, allocations: 103.4 kB / 0.907 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.2387, allocations: 20.67 kB / 0.907 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/0.2395, allocations: 338.1 kB / 0.9074 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.2397, allocations: 0.7238 MB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.2398, allocations: 12.64 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.2398, allocations: 11.44 kB / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.2398, allocations: 4 kB / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.004833/0.2447, allocations: 1.197 MB / 0.9093 GB, free: 54.18 MB / 0.6042 GB