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.2018/0.2039, allocations: 80.83 MB / 0.6706 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004691/0.2087, allocations: 2.606 MB / 0.6732 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.2111, allocations: 1.516 MB / 0.6747 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.2112, allocations: 4 kB / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007122/0.212, allocations: 171.3 kB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.2123, allocations: 147.4 kB / 0.675 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.2128, allocations: 183.5 kB / 0.6751 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.2131, allocations: 219.1 kB / 0.6753 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.2135, allocations: 117 kB / 0.6755 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.2136, allocations: 87.62 kB / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.2139, allocations: 107.6 kB / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.2139, allocations: 12 kB / 0.6757 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.2142, allocations: 183.7 kB / 0.6758 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.2143, allocations: 59.83 kB / 0.6759 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.2144, allocations: 75.59 kB / 0.676 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.2147, allocations: 283.1 kB / 0.6762 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2148, allocations: 0 / 0.6762 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2148, allocations: 0 / 0.6762 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.2148, allocations: 4 kB / 0.6762 GB, free: 12.1 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.0007318/0.2155, allocations: 467.1 kB / 0.6767 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2156, allocations: 12.03 kB / 0.6767 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/0.2161, allocations: 64.62 kB / 0.6768 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.2164, allocations: 228 kB / 0.677 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2164, allocations: 12.64 kB / 0.677 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.2164, allocations: 12.38 kB / 0.677 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.2169, allocations: 278.6 kB / 0.6773 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2169, allocations: 3.938 kB / 0.6773 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.2169, allocations: 7.984 kB / 0.6773 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-05/0.217, allocations: 24.22 kB / 0.6773 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.2173, allocations: 209.4 kB / 0.6775 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.2191, allocations: 1.367 MB / 0.6788 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.2195, allocations: 323.3 kB / 0.6791 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.2197, allocations: 65.8 kB / 0.6792 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.2197, allocations: 8.078 kB / 0.6792 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.2197, allocations: 38.56 kB / 0.6792 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.2197, allocations: 0 / 0.6792 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0006004/0.2204, allocations: 240.6 kB / 0.6795 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.2204, allocations: 85.23 kB / 0.6796 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.2207, allocations: 203.3 kB / 0.6797 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.2207, allocations: 33.7 kB / 0.6798 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.2208, allocations: 147.7 kB / 0.6799 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.2209, allocations: 39.47 kB / 0.68 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/0.2209, allocations: 57.61 kB / 0.68 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2211, allocations: 326.8 kB / 0.6803 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2212, allocations: 76.83 kB / 0.6804 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.2214, allocations: 159.6 kB / 0.6806 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.2217, allocations: 238.9 kB / 0.6808 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2217, allocations: 0 / 0.6808 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003844/0.2221, allocations: 261.6 kB / 0.681 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2221, allocations: 4 kB / 0.681 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2221, allocations: 4 kB / 0.681 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.2222, allocations: 4 kB / 0.681 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.2224, allocations: 59.83 kB / 0.6811 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.2224, allocations: 4 kB / 0.6811 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.2226, allocations: 19.89 kB / 0.6811 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.2226, allocations: 8 kB / 0.6811 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001602/0.2228, allocations: 164.1 kB / 0.6813 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001651/0.2229, allocations: 158.9 kB / 0.6814 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002553/0.2232, allocations: 219.8 kB / 0.6816 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.2232, allocations: 0 / 0.6816 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.00036/0.2236, allocations: 241.6 kB / 0.6819 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.2236, allocations: 8.938 kB / 0.6819 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.2236, allocations: 7.938 kB / 0.6819 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.2236, allocations: 4 kB / 0.6819 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.2238, allocations: 51.91 kB / 0.6819 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2238, allocations: 7.938 kB / 0.682 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.2239, allocations: 8 kB / 0.682 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2239, allocations: 11.98 kB / 0.682 GB, free: 5.695 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.0001297/0.2241, allocations: 200.1 kB / 0.6822 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.2241, allocations: 23.78 kB / 0.6822 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.2244, allocations: 143 kB / 0.6823 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2244, allocations: 7.938 kB / 0.6823 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2244, allocations: 0 / 0.6823 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2244, allocations: 3.984 kB / 0.6823 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009345/0.2254, allocations: 0.7196 MB / 0.683 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2254, allocations: 4 kB / 0.683 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.2255, allocations: 23.98 kB / 0.6831 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2255, allocations: 3.938 kB / 0.6831 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2255, allocations: 8 kB / 0.6831 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.2255, allocations: 8.328 kB / 0.6831 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2255, allocations: 8 kB / 0.6831 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.2259, allocations: 378.2 kB / 0.6834 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.226, allocations: 105 kB / 0.6835 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.2261, allocations: 7.984 kB / 0.6836 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2262, allocations: 4 kB / 0.6836 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.2263, allocations: 27.86 kB / 0.6836 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2263, allocations: 7.938 kB / 0.6836 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001219/0.2264, allocations: 147.7 kB / 0.6837 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2264, allocations: 0 / 0.6837 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004894/0.2269, allocations: 64 kB / 0.6838 GB, free: 3.652 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.0001589/0.2271, allocations: 115.2 kB / 0.6839 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.2275, allocations: 275.5 kB / 0.6842 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/0.2276, allocations: 1.562 kB / 0.6842 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.677e-05/0.2276, allocations: 60.41 kB / 0.6842 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.2281, allocations: 38.67 kB / 0.6843 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007945/0.2289, allocations: 414.6 kB / 0.6847 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.2294, allocations: 0.7478 MB / 0.6854 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.2296, allocations: 78 kB / 0.6855 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.2297, allocations: 19.44 kB / 0.6855 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.2297, allocations: 0 / 0.6855 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.004724/0.2344, allocations: 1.783 MB / 0.6872 GB, free: 76 kB / 0.5137 GB 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)