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.2029/0.2051, allocations: 80.84 MB / 0.6706 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.00454/0.2097, allocations: 2.41 MB / 0.673 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002876/0.2126, allocations: 1.516 MB / 0.6745 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.2128, allocations: 3.938 kB / 0.6745 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008713/0.2137, allocations: 178.4 kB / 0.6746 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004983/0.2142, allocations: 139.4 kB / 0.6748 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.2149, allocations: 187.5 kB / 0.675 GB, free: 164 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.2153, allocations: 207.4 kB / 0.6751 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.2156, allocations: 124.8 kB / 0.6753 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.2158, allocations: 87.73 kB / 0.6754 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.2162, allocations: 107.6 kB / 0.6755 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.2162, allocations: 12 kB / 0.6755 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.2166, allocations: 191.6 kB / 0.6756 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-05/0.2167, allocations: 59.88 kB / 0.6757 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.2168, allocations: 71.61 kB / 0.6758 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.2173, allocations: 275.2 kB / 0.676 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2173, allocations: 4 kB / 0.676 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2174, allocations: 0 / 0.676 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.2174, allocations: 0 / 0.676 GB, free: 15.04 MB / 0.5294 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.001059/0.2184, allocations: 475.1 kB / 0.6765 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2185, allocations: 8.031 kB / 0.6765 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00063/0.2191, allocations: 68.61 kB / 0.6766 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.2195, allocations: 224.1 kB / 0.6768 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.2195, allocations: 16.64 kB / 0.6768 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.2196, allocations: 16.28 kB / 0.6768 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.22, allocations: 278.6 kB / 0.6771 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2201, allocations: 0 / 0.6771 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.2201, allocations: 11.98 kB / 0.6771 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.2202, allocations: 16.22 kB / 0.6771 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.2205, allocations: 208.5 kB / 0.6773 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.2224, allocations: 1.359 MB / 0.6786 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.2228, allocations: 327.3 kB / 0.6789 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.925e-05/0.2229, allocations: 65.77 kB / 0.679 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.2229, allocations: 4 kB / 0.679 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.223, allocations: 34.5 kB / 0.679 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 2.735e-06/0.223, allocations: 3.984 kB / 0.679 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.000634/0.2236, allocations: 248.6 kB / 0.6793 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.2237, allocations: 85.05 kB / 0.6794 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.2239, allocations: 207.4 kB / 0.6796 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2239, allocations: 29.7 kB / 0.6796 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.224, allocations: 147.8 kB / 0.6797 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.224, allocations: 47.42 kB / 0.6798 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.2241, allocations: 49.59 kB / 0.6798 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2243, allocations: 326.8 kB / 0.6801 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2244, allocations: 72.81 kB / 0.6802 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.2246, allocations: 159.7 kB / 0.6804 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.2248, allocations: 242.9 kB / 0.6806 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2249, allocations: 0 / 0.6806 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003949/0.2253, allocations: 253.2 kB / 0.6808 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2253, allocations: 8.375 kB / 0.6808 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2253, allocations: 8 kB / 0.6808 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.2253, allocations: 4 kB / 0.6808 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.2256, allocations: 55.84 kB / 0.6809 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.2256, allocations: 7.938 kB / 0.6809 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.2258, allocations: 19.89 kB / 0.6809 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.2258, allocations: 8 kB / 0.6809 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001995/0.226, allocations: 172 kB / 0.6811 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001738/0.2262, allocations: 148 kB / 0.6812 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002817/0.2265, allocations: 219.8 kB / 0.6815 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.215e-06/0.2265, allocations: 0 / 0.6815 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003726/0.2269, allocations: 241.2 kB / 0.6817 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2269, allocations: 8.406 kB / 0.6817 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2269, allocations: 8 kB / 0.6817 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.2269, allocations: 4 kB / 0.6817 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.2271, allocations: 51.91 kB / 0.6818 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2271, allocations: 7.938 kB / 0.6818 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2273, allocations: 19.89 kB / 0.6818 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.2273, allocations: 8 kB / 0.6818 GB, free: 8.629 MB / 0.5294 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.0001498/0.2275, allocations: 192.1 kB / 0.682 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.2275, allocations: 15.91 kB / 0.682 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.2278, allocations: 151 kB / 0.6821 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2279, allocations: 3.938 kB / 0.6821 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2279, allocations: 128 / 0.6821 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2279, allocations: 0 / 0.6821 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.229, allocations: 0.7313 MB / 0.6828 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.229, allocations: 0 / 0.6828 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.2291, allocations: 27.92 kB / 0.6829 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.2291, allocations: 4 kB / 0.6829 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2291, allocations: 4 kB / 0.6829 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.2291, allocations: 4 kB / 0.6829 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.2291, allocations: 0 / 0.6829 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.2295, allocations: 394.5 kB / 0.6833 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-05/0.2296, allocations: 104.9 kB / 0.6834 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.2297, allocations: 11.94 kB / 0.6834 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.2299, allocations: 11.98 kB / 0.6834 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.2299, allocations: 11.88 kB / 0.6834 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2299, allocations: 15.98 kB / 0.6834 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001526/0.2301, allocations: 143.7 kB / 0.6835 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2301, allocations: 0 / 0.6835 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005329/0.2306, allocations: 68 kB / 0.6836 GB, free: 6.59 MB / 0.5294 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.0001552/0.2308, allocations: 111.1 kB / 0.6837 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.2313, allocations: 271.8 kB / 0.684 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.2313, allocations: 0 / 0.684 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.2314, allocations: 61.41 kB / 0.684 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.2319, allocations: 36.91 kB / 0.6841 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.2327, allocations: 418.6 kB / 0.6845 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.2331, allocations: 0.7362 MB / 0.6852 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000207/0.2333, allocations: 81.39 kB / 0.6853 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.2334, allocations: 23.42 kB / 0.6853 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.2334, allocations: 4 kB / 0.6853 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of Templates: time 0.005151/0.2386, allocations: 1.789 MB / 0.687 GB, free: 3.004 MB / 0.5294 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)