Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.1893/0.1913, allocations: 80.83 MB / 0.5897 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004356/0.1957, allocations: 2.476 MB / 0.5921 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1979, allocations: 1.512 MB / 0.5936 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.059e-05/0.1981, allocations: 4 kB / 0.5936 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.1987, allocations: 159.4 kB / 0.5937 GB, free: 2.906 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.199, allocations: 139.5 kB / 0.5939 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.1995, allocations: 163.7 kB / 0.594 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.1997, allocations: 307.2 kB / 0.5943 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002844/0.2, allocations: 125.2 kB / 0.5944 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2002, allocations: 79.69 kB / 0.5945 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.2004, allocations: 115.6 kB / 0.5946 GB, free: 1.996 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.2004, allocations: 8 kB / 0.5946 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.2007, allocations: 215.6 kB / 0.5948 GB, free: 1.777 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.2008, allocations: 63.8 kB / 0.5949 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.355e-05/0.2009, allocations: 71.55 kB / 0.595 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.2012, allocations: 275.2 kB / 0.5952 GB, free: 1.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.2013, allocations: 7.938 kB / 0.5952 GB, free: 1.367 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2013, allocations: 3.938 kB / 0.5952 GB, free: 1.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2013, allocations: 0 / 0.5952 GB, free: 1.363 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.000675/0.202, allocations: 478.6 kB / 0.5957 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.202, allocations: 12.03 kB / 0.5957 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005193/0.2025, allocations: 60.69 kB / 0.5958 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.2028, allocations: 224 kB / 0.596 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.2028, allocations: 12.66 kB / 0.596 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.2029, allocations: 12.38 kB / 0.596 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/0.2033, allocations: 287 kB / 0.5963 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.2033, allocations: 0 / 0.5963 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.2034, allocations: 8 kB / 0.5963 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.2034, allocations: 20.22 kB / 0.5963 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/0.2038, allocations: 205.4 kB / 0.5965 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.2055, allocations: 1.375 MB / 0.5978 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.2059, allocations: 315.2 kB / 0.5981 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.206, allocations: 69.67 kB / 0.5982 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.206, allocations: 3.938 kB / 0.5982 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.2061, allocations: 42.55 kB / 0.5983 GB, free: 14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.2061, allocations: 0 / 0.5983 GB, free: 14 MB / 462.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005566/0.2066, allocations: 248.7 kB / 0.5985 GB, free: 13.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.2067, allocations: 81.05 kB / 0.5986 GB, free: 13.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.2069, allocations: 207.3 kB / 0.5988 GB, free: 13.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.207, allocations: 25.7 kB / 0.5988 GB, free: 13.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2071, allocations: 155.8 kB / 0.5989 GB, free: 13.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.2071, allocations: 35.73 kB / 0.599 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.186e-05/0.2072, allocations: 53.61 kB / 0.599 GB, free: 13.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2073, allocations: 326.8 kB / 0.5993 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.2074, allocations: 72.81 kB / 0.5994 GB, free: 12.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.2076, allocations: 157.1 kB / 0.5996 GB, free: 12.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.2079, allocations: 234.9 kB / 0.5998 GB, free: 12.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2079, allocations: 0 / 0.5998 GB, free: 12.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000375/0.2083, allocations: 269 kB / 0.6 GB, free: 12.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2083, allocations: 6.188 kB / 0.6 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2083, allocations: 4 kB / 0.6 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2083, allocations: 4 kB / 0.6001 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.2086, allocations: 59.97 kB / 0.6001 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.2086, allocations: 4.375 kB / 0.6001 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.2088, allocations: 23.92 kB / 0.6001 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.2088, allocations: 15.98 kB / 0.6002 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001515/0.2089, allocations: 160.1 kB / 0.6003 GB, free: 11.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002038/0.2091, allocations: 152.9 kB / 0.6005 GB, free: 11.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003833/0.2095, allocations: 215.2 kB / 0.6007 GB, free: 11.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.2095, allocations: 7.938 kB / 0.6007 GB, free: 11.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003895/0.2099, allocations: 241.1 kB / 0.6009 GB, free: 11.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.21, allocations: 4 kB / 0.6009 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.21, allocations: 4 kB / 0.6009 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/0.21, allocations: 4 kB / 0.6009 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2101, allocations: 51.91 kB / 0.601 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2102, allocations: 12.28 kB / 0.601 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.2103, allocations: 15.98 kB / 0.601 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.2103, allocations: 12 kB / 0.601 GB, free: 10.96 MB / 462.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 0.000112/0.2104, allocations: 188.2 kB / 0.6012 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.2105, allocations: 15.81 kB / 0.6012 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.2107, allocations: 143 kB / 0.6013 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2108, allocations: 3.938 kB / 0.6013 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2108, allocations: 4 kB / 0.6013 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2108, allocations: 0 / 0.6013 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009973/0.2118, allocations: 0.7316 MB / 0.602 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2118, allocations: 7.938 kB / 0.6021 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2119, allocations: 23.92 kB / 0.6021 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2119, allocations: 4 kB / 0.6021 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2119, allocations: 4 kB / 0.6021 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.2119, allocations: 4 kB / 0.6021 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.2119, allocations: 7.938 kB / 0.6021 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.2123, allocations: 390.2 kB / 0.6025 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.789e-05/0.2123, allocations: 104.9 kB / 0.6026 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.2124, allocations: 4 kB / 0.6026 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.2125, allocations: 11.98 kB / 0.6026 GB, free: 9.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.2126, allocations: 11.92 kB / 0.6026 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.2126, allocations: 8 kB / 0.6026 GB, free: 9.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.2127, allocations: 147.7 kB / 0.6027 GB, free: 9.016 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2127, allocations: 4 kB / 0.6027 GB, free: 9.012 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004677/0.2132, allocations: 64 kB / 0.6028 GB, free: 8.949 MB / 462.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.0001425/0.2133, allocations: 111.1 kB / 0.6029 GB, free: 8.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.2139, allocations: 272.9 kB / 0.6032 GB, free: 8.566 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2139, allocations: 0 / 0.6032 GB, free: 8.566 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.204e-05/0.214, allocations: 63.83 kB / 0.6032 GB, free: 8.504 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.2144, allocations: 31.73 kB / 0.6033 GB, free: 8.473 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.2151, allocations: 475.6 kB / 0.6037 GB, free: 7.949 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.2155, allocations: 0.7402 MB / 0.6044 GB, free: 7.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.2157, allocations: 81.45 kB / 0.6045 GB, free: 7.102 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.2158, allocations: 19.42 kB / 0.6045 GB, free: 7.082 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2158, allocations: 0 / 0.6045 GB, free: 7.082 MB / 462.1 MB Notification: Performance of Templates: time 0.004988/0.2208, allocations: 1.684 MB / 0.6062 GB, free: 5.438 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)