Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009884/0.0009882, allocations: 171.3 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0008371/0.0008371, allocations: 77.55 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 9.156 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1993, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002255/0.2016, allocations: 2.038 MB / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.2027, allocations: 0.8305 MB / 0.8995 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.2027, allocations: 4 kB / 0.8995 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.2032, allocations: 139.5 kB / 0.8997 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.2033, allocations: 59.67 kB / 0.8997 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.2035, allocations: 43.95 kB / 0.8998 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.2036, allocations: 191.4 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.2038, allocations: 80.88 kB / 0.9 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.134e-05/0.2039, allocations: 47.84 kB / 0.9001 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.2041, allocations: 75.61 kB / 0.9001 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2041, allocations: 11.98 kB / 0.9002 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2042, allocations: 59.88 kB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.2043, allocations: 23.92 kB / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.2043, allocations: 63.64 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.2045, allocations: 127.7 kB / 0.9004 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2045, allocations: 0 / 0.9004 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2045, allocations: 0 / 0.9004 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2045, allocations: 0 / 0.9004 GB, free: 64.38 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.0005299/0.205, allocations: 462.7 kB / 0.9009 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2051, allocations: 12.03 kB / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.2053, allocations: 28.73 kB / 0.9009 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.2055, allocations: 219.9 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.2055, allocations: 42.44 kB / 0.9011 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.2055, allocations: 20.06 kB / 0.9012 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.2058, allocations: 148.1 kB / 0.9013 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2058, allocations: 0 / 0.9013 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.2058, allocations: 0 / 0.9013 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.2059, allocations: 4 kB / 0.9013 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.206, allocations: 95.94 kB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.2067, allocations: 0.6479 MB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.2069, allocations: 54.56 kB / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.207, allocations: 32.91 kB / 0.9021 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.207, allocations: 0 / 0.9021 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.2072, allocations: 150.8 kB / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2072, allocations: 0 / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003164/0.2075, allocations: 171.2 kB / 0.9024 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.2076, allocations: 132.5 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2077, allocations: 178.9 kB / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.2077, allocations: 29.7 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.2078, allocations: 135.8 kB / 0.9029 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.2078, allocations: 27.64 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.2079, allocations: 29.7 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.2079, allocations: 322.8 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.208, allocations: 39.97 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/0.2081, allocations: 119.4 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2083, allocations: 234.3 kB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2083, allocations: 0 / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002795/0.2086, allocations: 244.6 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.2086, allocations: 67.7 kB / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2086, allocations: 7.938 kB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2087, allocations: 4 kB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.2088, allocations: 31.92 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2088, allocations: 4 kB / 0.904 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.2089, allocations: 23.83 kB / 0.904 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.2089, allocations: 12 kB / 0.904 GB, free: 60.3 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 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.513e-05/0.209, allocations: 168.5 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.2091, allocations: 15.84 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.2091, allocations: 17.34 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2091, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2091, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2091, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.2092, allocations: 213.6 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2093, allocations: 0 / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.453e-05/0.2093, allocations: 19.98 kB / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2093, allocations: 4.031 kB / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2094, allocations: 7.938 kB / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2094, allocations: 0 / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2094, allocations: 4 kB / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.2097, allocations: 222.8 kB / 0.9046 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.2097, allocations: 88.95 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.2098, allocations: 12 kB / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.2099, allocations: 11.98 kB / 0.9047 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.2099, allocations: 11.98 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.2099, allocations: 4 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.916e-05/0.21, allocations: 135.2 kB / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3e-07/0.21, allocations: 0 / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002107/0.2102, allocations: 39.88 kB / 0.9049 GB, free: 59.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.023e-05/0.2103, allocations: 99.25 kB / 0.905 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.2106, allocations: 222.6 kB / 0.9052 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2106, allocations: 0 / 0.9052 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.2107, allocations: 108 kB / 0.9053 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.2109, allocations: 16 kB / 0.9054 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.2114, allocations: 362.9 kB / 0.9057 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2115, allocations: 0.7082 MB / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.2116, allocations: 19.42 kB / 0.9064 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.2116, allocations: 0 / 0.9064 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.002946/0.2145, allocations: 1.672 MB / 0.908 GB, free: 55.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)