Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2262/0.2282, allocations: 80.83 MB / 0.5897 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004721/0.2329, allocations: 2.36 MB / 0.592 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2344, allocations: 0.8229 MB / 0.5928 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.2345, allocations: 4 kB / 0.5928 GB, free: 3.938 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.2351, allocations: 139.5 kB / 0.5929 GB, free: 3.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.2353, allocations: 55.73 kB / 0.593 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.2355, allocations: 47.91 kB / 0.593 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.2357, allocations: 191.4 kB / 0.5932 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.236, allocations: 81.27 kB / 0.5933 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.2361, allocations: 51.78 kB / 0.5933 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.2363, allocations: 75.67 kB / 0.5934 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.2363, allocations: 4 kB / 0.5934 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.2365, allocations: 59.88 kB / 0.5935 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.2366, allocations: 39.89 kB / 0.5935 GB, free: 3.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.538e-05/0.2366, allocations: 59.67 kB / 0.5935 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.2369, allocations: 163.4 kB / 0.5937 GB, free: 2.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2369, allocations: 0 / 0.5937 GB, free: 2.988 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2369, allocations: 0 / 0.5937 GB, free: 2.988 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.237, allocations: 4 kB / 0.5937 GB, free: 2.984 MB / 446.1 MB 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.0008589/0.2378, allocations: 0.4902 MB / 0.5942 GB, free: 2.438 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.2379, allocations: 8.031 kB / 0.5942 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.2382, allocations: 28.73 kB / 0.5942 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.2385, allocations: 208.1 kB / 0.5944 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.2385, allocations: 42.39 kB / 0.5945 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.2386, allocations: 16.12 kB / 0.5945 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.2389, allocations: 144.1 kB / 0.5946 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2389, allocations: 0 / 0.5946 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.2389, allocations: 8 kB / 0.5946 GB, free: 1.934 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.239, allocations: 4 kB / 0.5946 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.2392, allocations: 87.88 kB / 0.5947 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009104/0.2401, allocations: 0.6402 MB / 0.5953 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.2404, allocations: 62.48 kB / 0.5954 GB, free: 1.066 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/0.2405, allocations: 36.91 kB / 0.5954 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.2405, allocations: 0 / 0.5954 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.2407, allocations: 146.7 kB / 0.5956 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2407, allocations: 0 / 0.5956 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003838/0.2411, allocations: 159.4 kB / 0.5957 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.2412, allocations: 136.5 kB / 0.5959 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.2413, allocations: 190.8 kB / 0.596 GB, free: 340 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.2414, allocations: 33.7 kB / 0.5961 GB, free: 300 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.2415, allocations: 135.8 kB / 0.5962 GB, free: 160 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.2415, allocations: 15.81 kB / 0.5962 GB, free: 144 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.2416, allocations: 45.55 kB / 0.5963 GB, free: 92 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2417, allocations: 322.8 kB / 0.5966 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.2418, allocations: 39.97 kB / 0.5966 GB, free: 15.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2419, allocations: 109.4 kB / 0.5967 GB, free: 15.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.2422, allocations: 234.3 kB / 0.5969 GB, free: 15.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2422, allocations: 0 / 0.5969 GB, free: 15.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003364/0.2426, allocations: 244.6 kB / 0.5972 GB, free: 15.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.2426, allocations: 65.58 kB / 0.5972 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.2426, allocations: 11.88 kB / 0.5972 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2427, allocations: 4 kB / 0.5972 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.2428, allocations: 24.3 kB / 0.5973 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.2428, allocations: 11.94 kB / 0.5973 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2429, allocations: 27.83 kB / 0.5973 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.243, allocations: 8 kB / 0.5973 GB, free: 14.89 MB / 462.1 MB 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 0.0001641/0.2431, allocations: 168.3 kB / 0.5975 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.2432, allocations: 11.91 kB / 0.5975 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.2432, allocations: 13.34 kB / 0.5975 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2432, allocations: 4 kB / 0.5975 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.2432, allocations: 4 kB / 0.5975 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2432, allocations: 3.938 kB / 0.5975 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.2434, allocations: 213.6 kB / 0.5977 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2434, allocations: 0 / 0.5977 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.2435, allocations: 11.98 kB / 0.5977 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2435, allocations: 0 / 0.5977 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.2436, allocations: 7.938 kB / 0.5977 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2436, allocations: 0 / 0.5977 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2436, allocations: 0 / 0.5977 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.2439, allocations: 214.6 kB / 0.5979 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.244, allocations: 88.95 kB / 0.598 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.244, allocations: 11.94 kB / 0.598 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.174e-05/0.2441, allocations: 11.98 kB / 0.598 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.2442, allocations: 3.984 kB / 0.598 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2442, allocations: 4 kB / 0.598 GB, free: 14.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.2444, allocations: 135.2 kB / 0.5982 GB, free: 13.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2444, allocations: 4 kB / 0.5982 GB, free: 13.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00025/0.2447, allocations: 36 kB / 0.5982 GB, free: 13.86 MB / 462.1 MB 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 0.0001294/0.2448, allocations: 97.11 kB / 0.5983 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.2451, allocations: 214.6 kB / 0.5985 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2451, allocations: 0 / 0.5985 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.2453, allocations: 108 kB / 0.5986 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2455, allocations: 23.72 kB / 0.5986 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.2462, allocations: 332.4 kB / 0.599 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.2465, allocations: 0.7121 MB / 0.5996 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.176e-05/0.2466, allocations: 24.8 kB / 0.5997 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.2467, allocations: 19.38 kB / 0.5997 GB, free: 12.25 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2467, allocations: 0 / 0.5997 GB, free: 12.25 MB / 462.1 MB Notification: Performance of Templates: time 0.004064/0.2507, allocations: 1.232 MB / 0.6009 GB, free: 11.04 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)