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.269/2.269, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001378/0.001378, allocations: 181.7 kB / 326.2 MB, free: 2.863 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.403/2.403, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009698/0.0009692, allocations: 92.72 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004983, allocations: 16.09 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2395, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2511/0.4906, allocations: 148.4 MB / 1.044 GB, free: 13.01 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.491, allocations: 87.95 kB / 1.044 GB, free: 12.93 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.0218/0.5128, allocations: 5.709 MB / 1.05 GB, free: 7.141 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5129, allocations: 0 / 1.05 GB, free: 7.141 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.5129, allocations: 0 / 1.05 GB, free: 7.141 MB / 0.698 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.0007427/0.5137, allocations: 482.5 kB / 1.05 GB, free: 6.605 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5137, allocations: 8.031 kB / 1.05 GB, free: 6.598 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/0.514, allocations: 28.73 kB / 1.051 GB, free: 6.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.5143, allocations: 206.2 kB / 1.051 GB, free: 6.332 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.654e-05/0.5144, allocations: 38.45 kB / 1.051 GB, free: 6.289 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.5145, allocations: 12.38 kB / 1.051 GB, free: 6.277 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.5149, allocations: 156.2 kB / 1.051 GB, free: 6.109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5149, allocations: 0 / 1.051 GB, free: 6.109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.5149, allocations: 4 kB / 1.051 GB, free: 6.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.515, allocations: 12 kB / 1.051 GB, free: 6.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.5153, allocations: 91.88 kB / 1.051 GB, free: 6.004 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.5164, allocations: 0.6303 MB / 1.052 GB, free: 5.309 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.5168, allocations: 62.48 kB / 1.052 GB, free: 5.238 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.5169, allocations: 32.91 kB / 1.052 GB, free: 5.203 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.517, allocations: 0 / 1.052 GB, free: 5.203 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.5173, allocations: 151.5 kB / 1.052 GB, free: 5.031 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.5173, allocations: 0 / 1.052 GB, free: 5.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005481/0.5179, allocations: 159.4 kB / 1.052 GB, free: 4.863 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.518, allocations: 140.5 kB / 1.052 GB, free: 4.695 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.5182, allocations: 182.7 kB / 1.052 GB, free: 4.508 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.5182, allocations: 29.7 kB / 1.052 GB, free: 4.473 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.5184, allocations: 139.9 kB / 1.052 GB, free: 4.328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.5184, allocations: 19.75 kB / 1.052 GB, free: 4.309 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.5184, allocations: 3.938 kB / 1.052 GB, free: 4.305 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5186, allocations: 330.8 kB / 1.053 GB, free: 3.973 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.5187, allocations: 35.94 kB / 1.053 GB, free: 3.938 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.519, allocations: 117.3 kB / 1.053 GB, free: 3.789 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.5192, allocations: 107.3 kB / 1.053 GB, free: 3.672 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.5192, allocations: 4 kB / 1.053 GB, free: 3.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005512/0.5198, allocations: 240.9 kB / 1.053 GB, free: 3.414 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.5199, allocations: 67.45 kB / 1.053 GB, free: 3.336 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5199, allocations: 4 kB / 1.053 GB, free: 3.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.5199, allocations: 7.938 kB / 1.053 GB, free: 3.324 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.5201, allocations: 31.92 kB / 1.053 GB, free: 3.293 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.5201, allocations: 4 kB / 1.053 GB, free: 3.289 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.5204, allocations: 27.83 kB / 1.053 GB, free: 3.262 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.5204, allocations: 8 kB / 1.053 GB, free: 3.254 MB / 0.698 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.0001868/0.5206, allocations: 174.5 kB / 1.054 GB, free: 3.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.5207, allocations: 15.81 kB / 1.054 GB, free: 3.055 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.5207, allocations: 17.44 kB / 1.054 GB, free: 3.035 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.5207, allocations: 3.938 kB / 1.054 GB, free: 3.031 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5207, allocations: 0 / 1.054 GB, free: 3.031 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5208, allocations: 0 / 1.054 GB, free: 3.031 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.521, allocations: 209.6 kB / 1.054 GB, free: 2.777 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.521, allocations: 0 / 1.054 GB, free: 2.777 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.5212, allocations: 11.98 kB / 1.054 GB, free: 2.766 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5212, allocations: 11.94 kB / 1.054 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.5212, allocations: 0 / 1.054 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.5212, allocations: 3.938 kB / 1.054 GB, free: 2.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5213, allocations: 0 / 1.054 GB, free: 2.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/0.5219, allocations: 214.6 kB / 1.054 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.522, allocations: 89.11 kB / 1.054 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.5221, allocations: 4 kB / 1.054 GB, free: 2.406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.5222, allocations: 19.86 kB / 1.054 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.5223, allocations: 11.98 kB / 1.054 GB, free: 2.375 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.5224, allocations: 7.938 kB / 1.054 GB, free: 2.367 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001567/0.5225, allocations: 136.3 kB / 1.054 GB, free: 2.234 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/0.5225, allocations: 0 / 1.054 GB, free: 2.234 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003385/0.5229, allocations: 35.92 kB / 1.054 GB, free: 2.199 MB / 0.698 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.0001477/0.523, allocations: 103.2 kB / 1.054 GB, free: 2.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004639/0.5235, allocations: 214.6 kB / 1.055 GB, free: 1.855 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5235, allocations: 0 / 1.055 GB, free: 1.855 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.5237, allocations: 112 kB / 1.055 GB, free: 1.734 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.5241, allocations: 17.88 kB / 1.055 GB, free: 1.719 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/0.5249, allocations: 337.8 kB / 1.055 GB, free: 1.359 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.5253, allocations: 0.716 MB / 1.056 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.5254, allocations: 16.64 kB / 1.056 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.5254, allocations: 11.44 kB / 1.056 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.5255, allocations: 0 / 1.056 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of Templates: time 0.5992/1.125, allocations: 1.164 MB / 1.057 GB, free: 152.7 MB / 0.698 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)