Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") [/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.5319/0.5344, allocations: 80.82 MB / 0.5904 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004573/0.5391, allocations: 2.618 MB / 0.593 GB, free: 20.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.5414, allocations: 1.509 MB / 0.5945 GB, free: 18.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.5417, allocations: 0 / 0.5945 GB, free: 18.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007511/0.5424, allocations: 176 kB / 0.5946 GB, free: 18.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.5428, allocations: 137.2 kB / 0.5947 GB, free: 18.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.5434, allocations: 189.1 kB / 0.5949 GB, free: 18.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.5437, allocations: 207.4 kB / 0.5951 GB, free: 17.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.5441, allocations: 128 kB / 0.5952 GB, free: 17.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.5443, allocations: 87.69 kB / 0.5953 GB, free: 17.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.5445, allocations: 103.6 kB / 0.5954 GB, free: 17.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.5446, allocations: 12 kB / 0.5954 GB, free: 17.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.5449, allocations: 194.8 kB / 0.5956 GB, free: 17.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.545, allocations: 59.83 kB / 0.5957 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.739e-05/0.5451, allocations: 75.59 kB / 0.5958 GB, free: 17.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.5455, allocations: 267.2 kB / 0.596 GB, free: 17.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.5455, allocations: 0 / 0.596 GB, free: 17.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5455, allocations: 0 / 0.596 GB, free: 17.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.5456, allocations: 4 kB / 0.596 GB, free: 17.05 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008925/0.5464, allocations: 482.9 kB / 0.5965 GB, free: 16.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.5465, allocations: 8.031 kB / 0.5965 GB, free: 16.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006135/0.5471, allocations: 60.69 kB / 0.5965 GB, free: 16.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.5474, allocations: 224 kB / 0.5968 GB, free: 16.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.5474, allocations: 16.62 kB / 0.5968 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.5475, allocations: 12.38 kB / 0.5968 GB, free: 16.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.5479, allocations: 277.7 kB / 0.597 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.548, allocations: 4 kB / 0.5971 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.548, allocations: 7.984 kB / 0.5971 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/0.5481, allocations: 16.22 kB / 0.5971 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.5484, allocations: 212.5 kB / 0.5973 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.5498, allocations: 1.367 MB / 0.5986 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.5502, allocations: 323.3 kB / 0.5989 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/0.5503, allocations: 65.83 kB / 0.599 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.5503, allocations: 3.984 kB / 0.599 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.5504, allocations: 34.56 kB / 0.599 GB, free: 13.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.5504, allocations: 0 / 0.599 GB, free: 13.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006167/0.551, allocations: 252.5 kB / 0.5993 GB, free: 13.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.5511, allocations: 81.05 kB / 0.5993 GB, free: 13.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.5513, allocations: 203.4 kB / 0.5995 GB, free: 13.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.5513, allocations: 25.7 kB / 0.5996 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.5514, allocations: 155.6 kB / 0.5997 GB, free: 12.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.5514, allocations: 35.53 kB / 0.5997 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.5515, allocations: 49.61 kB / 0.5998 GB, free: 12.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.5516, allocations: 331 kB / 0.6001 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.5517, allocations: 72.81 kB / 0.6002 GB, free: 12.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.5519, allocations: 152 kB / 0.6003 GB, free: 12.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.5521, allocations: 241.4 kB / 0.6005 GB, free: 12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5522, allocations: 4 kB / 0.6006 GB, free: 12 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003179/0.5525, allocations: 269 kB / 0.6008 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5525, allocations: 11.94 kB / 0.6008 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.5525, allocations: 0 / 0.6008 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.5526, allocations: 4 kB / 0.6008 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.5528, allocations: 55.84 kB / 0.6009 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.5528, allocations: 7.984 kB / 0.6009 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.5529, allocations: 15.98 kB / 0.6009 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.553, allocations: 8.375 kB / 0.6009 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001271/0.5531, allocations: 164.7 kB / 0.6011 GB, free: 11.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001157/0.5532, allocations: 157.7 kB / 0.6012 GB, free: 11.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001755/0.5534, allocations: 219.8 kB / 0.6014 GB, free: 11.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.5534, allocations: 0 / 0.6014 GB, free: 11.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002856/0.5537, allocations: 249.1 kB / 0.6017 GB, free: 10.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.5537, allocations: 10.03 kB / 0.6017 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.5537, allocations: 0 / 0.6017 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-06/0.5537, allocations: 8 kB / 0.6017 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.5539, allocations: 47.91 kB / 0.6017 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5539, allocations: 11.88 kB / 0.6017 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.554, allocations: 15.89 kB / 0.6018 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.5541, allocations: 12.41 kB / 0.6018 GB, free: 10.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.598e-05/0.5541, allocations: 192.2 kB / 0.6019 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.5542, allocations: 19.88 kB / 0.602 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.5544, allocations: 146.9 kB / 0.6021 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.5545, allocations: 7.938 kB / 0.6021 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5545, allocations: 0 / 0.6021 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5545, allocations: 0 / 0.6021 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007968/0.5553, allocations: 0.7197 MB / 0.6028 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5553, allocations: 4.344 kB / 0.6028 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.473e-05/0.5554, allocations: 31.92 kB / 0.6029 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.5554, allocations: 4 kB / 0.6029 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.5554, allocations: 0 / 0.6029 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5554, allocations: 4 kB / 0.6029 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.5554, allocations: 7.938 kB / 0.6029 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.5557, allocations: 392.3 kB / 0.6032 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.5558, allocations: 108.8 kB / 0.6033 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.5559, allocations: 12 kB / 0.6034 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.556, allocations: 7.984 kB / 0.6034 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.5561, allocations: 15.92 kB / 0.6034 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.5561, allocations: 8 kB / 0.6034 GB, free: 8.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.501e-05/0.5562, allocations: 147.7 kB / 0.6035 GB, free: 8.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5562, allocations: 0 / 0.6035 GB, free: 8.699 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000493/0.5567, allocations: 64 kB / 0.6036 GB, free: 8.637 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.0001732/0.5569, allocations: 111.2 kB / 0.6037 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.5573, allocations: 276.6 kB / 0.604 GB, free: 8.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5573, allocations: 384 / 0.604 GB, free: 8.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.021e-05/0.5573, allocations: 67.83 kB / 0.604 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.5579, allocations: 34.66 kB / 0.6041 GB, free: 8.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.5585, allocations: 423.2 kB / 0.6045 GB, free: 7.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.5588, allocations: 0.7363 MB / 0.6052 GB, free: 6.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.559, allocations: 85.45 kB / 0.6053 GB, free: 6.836 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.559, allocations: 19.44 kB / 0.6053 GB, free: 6.816 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.559, allocations: 0 / 0.6053 GB, free: 6.816 MB / 446.1 MB Notification: Performance of Templates: time 0.005048/0.5641, allocations: 1.748 MB / 0.607 GB, free: 5.113 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)