Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [/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.5214/0.5239, allocations: 80.81 MB / 0.5904 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005176/0.5291, allocations: 2.644 MB / 0.593 GB, free: 20.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.5313, allocations: 1.439 MB / 0.5944 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.5315, allocations: 4 kB / 0.5944 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007464/0.5322, allocations: 181.6 kB / 0.5946 GB, free: 18.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.5327, allocations: 191.2 kB / 0.5948 GB, free: 18.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.5331, allocations: 165.1 kB / 0.5949 GB, free: 18.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.5333, allocations: 255.3 kB / 0.5952 GB, free: 17.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.5337, allocations: 155 kB / 0.5953 GB, free: 17.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.5338, allocations: 99.67 kB / 0.5954 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.5341, allocations: 142.4 kB / 0.5955 GB, free: 17.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.5341, allocations: 16 kB / 0.5956 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.5344, allocations: 147.6 kB / 0.5957 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.5344, allocations: 63.81 kB / 0.5958 GB, free: 17.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.957e-05/0.5345, allocations: 95.52 kB / 0.5959 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.5348, allocations: 283.2 kB / 0.5961 GB, free: 16.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5349, allocations: 0 / 0.5961 GB, free: 16.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5349, allocations: 1.062 kB / 0.5961 GB, free: 16.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.5349, allocations: 0 / 0.5961 GB, free: 16.97 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007551/0.5356, allocations: 0.4988 MB / 0.5966 GB, free: 16.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.5357, allocations: 12.02 kB / 0.5966 GB, free: 16.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005402/0.5362, allocations: 64.67 kB / 0.5967 GB, free: 16.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.5365, allocations: 239.8 kB / 0.5969 GB, free: 16.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.5365, allocations: 8.656 kB / 0.5969 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.5365, allocations: 16.36 kB / 0.5969 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.537, allocations: 316.4 kB / 0.5972 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.537, allocations: 0 / 0.5972 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.537, allocations: 11.98 kB / 0.5972 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.5371, allocations: 28.25 kB / 0.5973 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.5375, allocations: 256.5 kB / 0.5975 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.5387, allocations: 1.301 MB / 0.5988 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.5391, allocations: 261 kB / 0.599 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.5393, allocations: 129.6 kB / 0.5992 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.5393, allocations: 11.98 kB / 0.5992 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.5394, allocations: 30.56 kB / 0.5992 GB, free: 13.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.5394, allocations: 4 kB / 0.5992 GB, free: 13.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007/0.5401, allocations: 345.2 kB / 0.5995 GB, free: 13.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.5401, allocations: 77.11 kB / 0.5996 GB, free: 13.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.5403, allocations: 190.5 kB / 0.5998 GB, free: 12.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5403, allocations: 25.7 kB / 0.5998 GB, free: 12.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.5404, allocations: 144.2 kB / 0.6 GB, free: 12.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.5404, allocations: 47.27 kB / 0.6 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.5405, allocations: 45.7 kB / 0.6 GB, free: 12.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.5405, allocations: 326.8 kB / 0.6004 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.5407, allocations: 108.8 kB / 0.6005 GB, free: 12.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.541, allocations: 171.2 kB / 0.6006 GB, free: 12.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.5414, allocations: 278.7 kB / 0.6009 GB, free: 11.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5414, allocations: 0 / 0.6009 GB, free: 11.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004621/0.5418, allocations: 311.7 kB / 0.6012 GB, free: 11.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5419, allocations: 4 kB / 0.6012 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.5419, allocations: 4 kB / 0.6012 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5419, allocations: 4 kB / 0.6012 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.5422, allocations: 59.88 kB / 0.6013 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.5422, allocations: 0 / 0.6013 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.5424, allocations: 39.81 kB / 0.6013 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.5424, allocations: 4 kB / 0.6013 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002205/0.5426, allocations: 200.1 kB / 0.6015 GB, free: 11.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001719/0.5428, allocations: 152.5 kB / 0.6016 GB, free: 10.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003097/0.5431, allocations: 255.5 kB / 0.6019 GB, free: 10.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.5432, allocations: 4 kB / 0.6019 GB, free: 10.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000404/0.5436, allocations: 269.9 kB / 0.6021 GB, free: 10.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.5436, allocations: 8 kB / 0.6021 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-06/0.5436, allocations: 0 / 0.6021 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.768e-06/0.5436, allocations: 7.984 kB / 0.6022 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.5438, allocations: 52.22 kB / 0.6022 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.5438, allocations: 3.938 kB / 0.6022 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.544, allocations: 31.81 kB / 0.6022 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.544, allocations: 15.94 kB / 0.6023 GB, free: 10.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 8.99e-05/0.5441, allocations: 196.1 kB / 0.6024 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.5442, allocations: 15.81 kB / 0.6025 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.5446, allocations: 272.5 kB / 0.6027 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5446, allocations: 4 kB / 0.6027 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5447, allocations: 0 / 0.6027 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5447, allocations: 0 / 0.6027 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008537/0.5455, allocations: 0.6811 MB / 0.6034 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5455, allocations: 0 / 0.6034 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.5458, allocations: 51.89 kB / 0.6034 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.5458, allocations: 0 / 0.6034 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.5458, allocations: 7.938 kB / 0.6034 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5458, allocations: 4 kB / 0.6034 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5458, allocations: 0 / 0.6034 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.5462, allocations: 456.1 kB / 0.6039 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.5463, allocations: 116.9 kB / 0.604 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.5463, allocations: 7.938 kB / 0.604 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.5465, allocations: 19.97 kB / 0.604 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.5466, allocations: 15.98 kB / 0.604 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.5466, allocations: 4 kB / 0.604 GB, free: 8.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.915e-05/0.5467, allocations: 131.2 kB / 0.6042 GB, free: 8.191 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5467, allocations: 0 / 0.6042 GB, free: 8.191 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000451/0.5472, allocations: 79.84 kB / 0.6042 GB, free: 8.113 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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.0001003/0.5473, allocations: 111.1 kB / 0.6043 GB, free: 7.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006551/0.5479, allocations: 387.5 kB / 0.6047 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5479, allocations: 0 / 0.6047 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.5481, allocations: 113.1 kB / 0.6048 GB, free: 7.508 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.5486, allocations: 53.59 kB / 0.6049 GB, free: 7.465 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.5493, allocations: 454.1 kB / 0.6053 GB, free: 6.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.5495, allocations: 0.7441 MB / 0.606 GB, free: 6.211 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.5497, allocations: 77.47 kB / 0.6061 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.5498, allocations: 15.44 kB / 0.6061 GB, free: 6.117 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5498, allocations: 0 / 0.6061 GB, free: 6.117 MB / 446.1 MB Notification: Performance of Templates: time 0.004778/0.5546, allocations: 2.306 MB / 0.6084 GB, free: 3.852 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)