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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7179/0.7179, allocations: 132.3 MB / 144.9 MB, free: 10.53 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001072/0.001072, allocations: 175.2 kB / 176.9 MB, free: 2.312 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.446/1.446, allocations: 170.5 MB / 379.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001554/0.001554, allocations: 112.4 kB / 450 MB, free: 5.824 MB / 346.7 MB [/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.4624/0.4624, allocations: 73.38 MB / 0.6736 GB, free: 47.61 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.6091, allocations: 118.4 MB / 0.7892 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.6094, allocations: 75.95 kB / 0.7893 GB, free: 14.2 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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.01264/0.622, allocations: 5.586 MB / 0.7948 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.622, allocations: 0 / 0.7948 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.6221, allocations: 3.094 kB / 0.7948 GB, free: 8.625 MB / 0.4948 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.0004968/0.6226, allocations: 456.6 kB / 0.7952 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6226, allocations: 8.031 kB / 0.7952 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.6228, allocations: 30.62 kB / 0.7952 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.6231, allocations: 210.6 kB / 0.7954 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.6231, allocations: 44.45 kB / 0.7955 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.6232, allocations: 12 kB / 0.7955 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.6234, allocations: 144.5 kB / 0.7956 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.6234, allocations: 0 / 0.7956 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.6235, allocations: 4 kB / 0.7956 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.6235, allocations: 4.188 kB / 0.7956 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.6237, allocations: 80.47 kB / 0.7957 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.6244, allocations: 0.6382 MB / 0.7963 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.6246, allocations: 54.56 kB / 0.7964 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.6247, allocations: 24.94 kB / 0.7964 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.6247, allocations: 0 / 0.7964 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.6249, allocations: 140.6 kB / 0.7965 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.6249, allocations: 224 / 0.7965 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002476/0.6251, allocations: 127.1 kB / 0.7967 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.6252, allocations: 136.5 kB / 0.7968 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.6254, allocations: 161.8 kB / 0.7969 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.6254, allocations: 25.7 kB / 0.797 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/0.6255, allocations: 147.5 kB / 0.7971 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.6256, allocations: 19.8 kB / 0.7971 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.6256, allocations: 0 / 0.7971 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6257, allocations: 326.8 kB / 0.7974 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.6258, allocations: 24 kB / 0.7975 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.6259, allocations: 109.4 kB / 0.7976 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.955e-05/0.626, allocations: 97.27 kB / 0.7977 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.626, allocations: 0 / 0.7977 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002917/0.6263, allocations: 240.7 kB / 0.7979 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.6264, allocations: 59.41 kB / 0.7979 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6264, allocations: 4 kB / 0.798 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.6264, allocations: 4 kB / 0.798 GB, free: 5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.6265, allocations: 31.92 kB / 0.798 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.6265, allocations: 0 / 0.798 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.6267, allocations: 32.05 kB / 0.798 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.6267, allocations: 12 kB / 0.798 GB, free: 4.926 MB / 0.4948 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 () * 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.0001076/0.6268, allocations: 147.8 kB / 0.7982 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.6268, allocations: 19.77 kB / 0.7982 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.6269, allocations: 15.03 kB / 0.7982 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6269, allocations: 0 / 0.7982 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6269, allocations: 0 / 0.7982 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.6269, allocations: 0 / 0.7982 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.6271, allocations: 213.5 kB / 0.7984 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6271, allocations: 3.375 kB / 0.7984 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.088e-05/0.6272, allocations: 23.98 kB / 0.7984 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.6272, allocations: 3.953 kB / 0.7984 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.6272, allocations: 3.938 kB / 0.7984 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6272, allocations: 0 / 0.7984 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6272, allocations: 48 / 0.7984 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.6276, allocations: 206.5 kB / 0.7986 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.6276, allocations: 93.03 kB / 0.7987 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.6277, allocations: 16.02 kB / 0.7987 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.6278, allocations: 11.98 kB / 0.7988 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.6278, allocations: 7.984 kB / 0.7988 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.6279, allocations: 9.031 kB / 0.7988 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.957e-05/0.628, allocations: 132.8 kB / 0.7989 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.628, allocations: 0 / 0.7989 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002173/0.6282, allocations: 28 kB / 0.7989 GB, free: 3.918 MB / 0.4948 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) * 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.0001511/0.6283, allocations: 109.4 kB / 0.799 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.6286, allocations: 204.1 kB / 0.7992 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6286, allocations: 0 / 0.7992 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.6287, allocations: 95.34 kB / 0.7993 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.6289, allocations: 20.17 kB / 0.7993 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.6294, allocations: 177.6 kB / 0.7995 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.6297, allocations: 0.7247 MB / 0.8002 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.331e-05/0.6298, allocations: 20.75 kB / 0.8002 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.6298, allocations: 11.44 kB / 0.8002 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of SimCode: time 2.2e-07/0.6298, allocations: 0 / 0.8002 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.003885/0.6337, allocations: 1.17 MB / 0.8014 GB, free: 1.348 MB / 0.4948 GB 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)