Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.418/2.418, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002135/0.002134, allocations: 174.9 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.44/2.44, allocations: 205.4 MB / 0.5772 GB, free: 20.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009681/0.0009676, allocations: 106 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 13.44 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003023/0.2137, allocations: 1.967 MB / 0.9014 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.2153, allocations: 0.7688 MB / 0.9022 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2154, allocations: 0 / 0.9022 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.2156, allocations: 23.84 kB / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.2159, allocations: 43.75 kB / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.2161, allocations: 43.89 kB / 0.9023 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.2163, allocations: 167.4 kB / 0.9024 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.2166, allocations: 189.7 kB / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.2168, allocations: 55.78 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2169, allocations: 63.73 kB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.217, allocations: 4 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.2171, allocations: 27.92 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.2172, allocations: 35.84 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.2172, allocations: 49.64 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.2175, allocations: 124 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2175, allocations: 0 / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2175, allocations: 0 / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2175, allocations: 0 / 0.903 GB, free: 61.93 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.0007028/0.2182, allocations: 474.6 kB / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.2183, allocations: 8.031 kB / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.2185, allocations: 28.73 kB / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.2188, allocations: 208.1 kB / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/0.2189, allocations: 34.45 kB / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.2189, allocations: 15.94 kB / 0.9037 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.2193, allocations: 156.2 kB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2193, allocations: 3.938 kB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.2194, allocations: 0 / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.2194, allocations: 8 kB / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.2197, allocations: 87.94 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.2208, allocations: 0.6441 MB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.2211, allocations: 58.5 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.2212, allocations: 32.91 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.2213, allocations: 0 / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.2215, allocations: 150.9 kB / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.246e-06/0.2215, allocations: 4 kB / 0.9048 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005019/0.2221, allocations: 171 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.2221, allocations: 132.5 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.2223, allocations: 178.8 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2224, allocations: 29.7 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.2224, allocations: 143.7 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.2225, allocations: 19.75 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.2225, allocations: 4 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.2226, allocations: 326.8 kB / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.2227, allocations: 35.97 kB / 0.9058 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.2229, allocations: 115.5 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.2231, allocations: 111.3 kB / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2231, allocations: 0 / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004799/0.2236, allocations: 248.5 kB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.2237, allocations: 65.27 kB / 0.9063 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2237, allocations: 11.94 kB / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.2237, allocations: 4 kB / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2239, allocations: 31.92 kB / 0.9064 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.224, allocations: 4 kB / 0.9064 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.2242, allocations: 31.83 kB / 0.9064 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.2242, allocations: 8 kB / 0.9064 GB, free: 58.04 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.0001458/0.2244, allocations: 171.5 kB / 0.9066 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.2244, allocations: 7.906 kB / 0.9066 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.2245, allocations: 17.34 kB / 0.9066 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2245, allocations: 3.984 kB / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2245, allocations: 4 kB / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.2245, allocations: 84.92 kB / 0.9067 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.996e-05/0.2246, allocations: 4 kB / 0.9067 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.2247, allocations: 11.98 kB / 0.9067 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.2248, allocations: 15.98 kB / 0.9067 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005008/0.2254, allocations: 278 kB / 0.907 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005564/0.2259, allocations: 384.2 kB / 0.9073 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001424/0.2261, allocations: 43.97 kB / 0.9074 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001144/0.2262, allocations: 132.3 kB / 0.9075 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of Backend: time 7.81e-07/0.2262, allocations: 3.938 kB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007039/0.2269, allocations: 295.3 kB / 0.9078 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007642/0.2277, allocations: 0.8154 MB / 0.9086 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.005944/0.2337, allocations: 1.474 MB / 0.91 GB, free: 54.18 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)