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.2039/0.2059, allocations: 80.85 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004702/0.2107, allocations: 2.4 MB / 0.673 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.2134, allocations: 1.516 MB / 0.6745 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.2136, allocations: 7.938 kB / 0.6745 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007553/0.2144, allocations: 179.2 kB / 0.6746 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.2149, allocations: 135.4 kB / 0.6748 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.2154, allocations: 191.5 kB / 0.675 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.2158, allocations: 207.2 kB / 0.6752 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.2161, allocations: 117 kB / 0.6753 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.2164, allocations: 95.67 kB / 0.6754 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.2167, allocations: 107.6 kB / 0.6755 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.2167, allocations: 12 kB / 0.6755 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.2171, allocations: 179.6 kB / 0.6756 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2172, allocations: 63.81 kB / 0.6757 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.2173, allocations: 79.58 kB / 0.6758 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.2177, allocations: 271.2 kB / 0.676 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2177, allocations: 0 / 0.676 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2177, allocations: 0 / 0.676 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.2178, allocations: 4 kB / 0.676 GB, free: 12.48 MB / 0.5137 GB 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.0008227/0.2186, allocations: 467.2 kB / 0.6765 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2186, allocations: 8.031 kB / 0.6765 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006069/0.2193, allocations: 68.61 kB / 0.6766 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.2196, allocations: 228 kB / 0.6768 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2196, allocations: 12.66 kB / 0.6768 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.2197, allocations: 12.38 kB / 0.6768 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.2201, allocations: 278.6 kB / 0.6771 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2202, allocations: 4 kB / 0.6771 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.2202, allocations: 4 kB / 0.6771 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/0.2202, allocations: 16.22 kB / 0.6771 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.2206, allocations: 217.4 kB / 0.6773 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.2223, allocations: 1.379 MB / 0.6786 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.2227, allocations: 323.3 kB / 0.679 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.942e-05/0.2228, allocations: 69.67 kB / 0.679 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.2228, allocations: 0 / 0.679 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2229, allocations: 30.56 kB / 0.679 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2229, allocations: 0 / 0.679 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.000636/0.2235, allocations: 240.6 kB / 0.6793 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.2236, allocations: 89.23 kB / 0.6794 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.2238, allocations: 203.3 kB / 0.6796 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2238, allocations: 25.7 kB / 0.6796 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.2239, allocations: 155.8 kB / 0.6797 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.224, allocations: 43.39 kB / 0.6798 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.2241, allocations: 49.61 kB / 0.6798 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2242, allocations: 326.8 kB / 0.6801 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.2243, allocations: 76.81 kB / 0.6802 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.2245, allocations: 155.7 kB / 0.6804 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.2248, allocations: 238.9 kB / 0.6806 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2248, allocations: 0 / 0.6806 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004099/0.2252, allocations: 257.6 kB / 0.6808 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2252, allocations: 4 kB / 0.6808 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2253, allocations: 4 kB / 0.6808 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.2253, allocations: 4 kB / 0.6808 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.2255, allocations: 59.83 kB / 0.6809 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/0.2256, allocations: 7.938 kB / 0.6809 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.2257, allocations: 15.98 kB / 0.6809 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2257, allocations: 12.47 kB / 0.6809 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001619/0.2259, allocations: 168 kB / 0.6811 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000147/0.2261, allocations: 150.3 kB / 0.6812 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002386/0.2263, allocations: 219.8 kB / 0.6814 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-06/0.2263, allocations: 4 kB / 0.6814 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003541/0.2267, allocations: 249.4 kB / 0.6817 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2267, allocations: 7.984 kB / 0.6817 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2267, allocations: 4 kB / 0.6817 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2267, allocations: 4 kB / 0.6817 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.2269, allocations: 47.92 kB / 0.6817 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.2269, allocations: 11.92 kB / 0.6818 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.227, allocations: 12 kB / 0.6818 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.2271, allocations: 8 kB / 0.6818 GB, free: 6.082 MB / 0.5137 GB 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.0001274/0.2272, allocations: 200.1 kB / 0.682 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.2273, allocations: 23.84 kB / 0.682 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.2275, allocations: 143 kB / 0.6821 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.2276, allocations: 7.969 kB / 0.6821 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.2276, allocations: 3.938 kB / 0.6821 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2276, allocations: 4 kB / 0.6821 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.2286, allocations: 0.7235 MB / 0.6828 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2287, allocations: 7.938 kB / 0.6829 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.2288, allocations: 23.92 kB / 0.6829 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.2288, allocations: 4 kB / 0.6829 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.2288, allocations: 8.469 kB / 0.6829 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.2288, allocations: 11.98 kB / 0.6829 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.2288, allocations: 4 kB / 0.6829 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.2292, allocations: 378.2 kB / 0.6833 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2293, allocations: 101 kB / 0.6834 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.2293, allocations: 11.98 kB / 0.6834 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.2295, allocations: 4 kB / 0.6834 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.2295, allocations: 19.86 kB / 0.6834 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2296, allocations: 12 kB / 0.6834 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001271/0.2297, allocations: 143.7 kB / 0.6835 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2297, allocations: 0 / 0.6835 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000516/0.2302, allocations: 64 kB / 0.6836 GB, free: 4.035 MB / 0.5137 GB 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.0001608/0.2304, allocations: 115.1 kB / 0.6837 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004574/0.2309, allocations: 275.5 kB / 0.684 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2309, allocations: 1.562 kB / 0.684 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.231, allocations: 64.34 kB / 0.684 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.2315, allocations: 31.92 kB / 0.6841 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.2323, allocations: 426.5 kB / 0.6845 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.2327, allocations: 0.7362 MB / 0.6852 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001968/0.2329, allocations: 77.45 kB / 0.6853 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.2329, allocations: 27.44 kB / 0.6853 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2329, allocations: 0 / 0.6853 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of Templates: time 0.005371/0.2383, allocations: 1.802 MB / 0.6871 GB, free: 432 kB / 0.5137 GB 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)