Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [/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.1768/0.1803, allocations: 80.84 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005141/0.1855, allocations: 2.626 MB / 0.6732 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00272/0.1882, allocations: 1.454 MB / 0.6746 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.1885, allocations: 4 kB / 0.6746 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009848/0.1895, allocations: 175.3 kB / 0.6748 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007602/0.1903, allocations: 199.2 kB / 0.675 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.191, allocations: 163.6 kB / 0.6751 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.1917, allocations: 259.2 kB / 0.6754 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/0.1922, allocations: 145.4 kB / 0.6755 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.1925, allocations: 107.6 kB / 0.6756 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.1929, allocations: 139.5 kB / 0.6758 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.193, allocations: 12 kB / 0.6758 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.1934, allocations: 151.7 kB / 0.6759 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1935, allocations: 63.81 kB / 0.676 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.1937, allocations: 95.52 kB / 0.6761 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006446/0.1944, allocations: 283.1 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1944, allocations: 0 / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.976e-06/0.1944, allocations: 0 / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.1944, allocations: 0 / 0.6763 GB, free: 12.16 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001122/0.1955, allocations: 499 kB / 0.6768 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1956, allocations: 8.031 kB / 0.6768 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006247/0.1962, allocations: 72.52 kB / 0.6769 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.1967, allocations: 247.9 kB / 0.6771 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.1967, allocations: 12.66 kB / 0.6771 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.1968, allocations: 16.36 kB / 0.6772 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006494/0.1975, allocations: 312.5 kB / 0.6774 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1975, allocations: 0 / 0.6774 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.1975, allocations: 8 kB / 0.6775 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.489e-05/0.1976, allocations: 28.25 kB / 0.6775 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000587/0.1982, allocations: 260.5 kB / 0.6777 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.2001, allocations: 1.3 MB / 0.679 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.2006, allocations: 249.1 kB / 0.6792 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.2009, allocations: 137.6 kB / 0.6794 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.2009, allocations: 7.938 kB / 0.6794 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.2009, allocations: 30.56 kB / 0.6794 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.2009, allocations: 4 kB / 0.6794 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0008099/0.2018, allocations: 344.6 kB / 0.6797 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.2018, allocations: 77.11 kB / 0.6798 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.202, allocations: 182.8 kB / 0.68 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.2021, allocations: 25.7 kB / 0.68 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2022, allocations: 144 kB / 0.6801 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.2023, allocations: 59.2 kB / 0.6802 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.2024, allocations: 45.7 kB / 0.6802 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2025, allocations: 326.8 kB / 0.6806 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.2028, allocations: 112.6 kB / 0.6807 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.2031, allocations: 167.6 kB / 0.6808 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.2035, allocations: 274.7 kB / 0.6811 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2036, allocations: 0 / 0.6811 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006313/0.2042, allocations: 309.1 kB / 0.6814 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.2042, allocations: 12.77 kB / 0.6814 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.2043, allocations: 0 / 0.6814 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.2043, allocations: 7.938 kB / 0.6814 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.2046, allocations: 55.89 kB / 0.6815 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.2046, allocations: 4 kB / 0.6815 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.2048, allocations: 36.03 kB / 0.6815 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.2049, allocations: 12 kB / 0.6815 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002889/0.2052, allocations: 192 kB / 0.6817 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002494/0.2054, allocations: 153.3 kB / 0.6818 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004207/0.2059, allocations: 254.9 kB / 0.6821 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.2059, allocations: 3.938 kB / 0.6821 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005412/0.2064, allocations: 277.1 kB / 0.6823 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2064, allocations: 8.188 kB / 0.6824 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2064, allocations: 8 kB / 0.6824 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2065, allocations: 4 kB / 0.6824 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.2067, allocations: 43.97 kB / 0.6824 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2067, allocations: 7.938 kB / 0.6824 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.2069, allocations: 31.81 kB / 0.6824 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2069, allocations: 8 kB / 0.6825 GB, free: 5.461 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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.0001461/0.2071, allocations: 188.2 kB / 0.6826 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.2071, allocations: 19.81 kB / 0.6827 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/0.2077, allocations: 274.9 kB / 0.6829 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2077, allocations: 0 / 0.6829 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2078, allocations: 4 kB / 0.6829 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2078, allocations: 0 / 0.6829 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.2089, allocations: 0.681 MB / 0.6836 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.209, allocations: 0 / 0.6836 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.2092, allocations: 47.95 kB / 0.6836 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.2092, allocations: 4 kB / 0.6836 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.2092, allocations: 7.938 kB / 0.6836 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2093, allocations: 7.938 kB / 0.6836 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2093, allocations: 0 / 0.6836 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.2099, allocations: 446.1 kB / 0.6841 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.21, allocations: 124.8 kB / 0.6842 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.2101, allocations: 7.938 kB / 0.6842 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.2103, allocations: 19.97 kB / 0.6842 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.2103, allocations: 11.98 kB / 0.6842 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.2103, allocations: 8 kB / 0.6842 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001164/0.2105, allocations: 127.2 kB / 0.6844 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2105, allocations: 0 / 0.6844 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004781/0.211, allocations: 83.83 kB / 0.6844 GB, free: 3.281 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0001336/0.2111, allocations: 111.2 kB / 0.6845 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007587/0.2119, allocations: 375.3 kB / 0.6849 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2119, allocations: 3.938 kB / 0.6849 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.2121, allocations: 124 kB / 0.685 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.2126, allocations: 49.67 kB / 0.6851 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008448/0.2135, allocations: 458.5 kB / 0.6855 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.2139, allocations: 0.744 MB / 0.6862 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.2141, allocations: 77.45 kB / 0.6863 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.2142, allocations: 19.44 kB / 0.6863 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.2142, allocations: 0 / 0.6863 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of Templates: time 0.005842/0.2201, allocations: 2.358 MB / 0.6886 GB, free: 14.93 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)