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.1922/0.1943, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005488/0.1998, allocations: 2.635 MB / 0.6732 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002542/0.2024, allocations: 1.454 MB / 0.6746 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.2025, allocations: 3.938 kB / 0.6746 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007747/0.2033, allocations: 183.2 kB / 0.6748 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.2038, allocations: 191.2 kB / 0.675 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.2041, allocations: 163.6 kB / 0.6751 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.2046, allocations: 267.1 kB / 0.6754 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.2049, allocations: 145.4 kB / 0.6755 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.2052, allocations: 107.6 kB / 0.6756 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.2055, allocations: 131.6 kB / 0.6758 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.2056, allocations: 12 kB / 0.6758 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.2059, allocations: 151.7 kB / 0.6759 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.995e-05/0.206, allocations: 71.78 kB / 0.676 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2061, allocations: 87.55 kB / 0.6761 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.2065, allocations: 295 kB / 0.6763 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2065, allocations: 0 / 0.6763 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2065, allocations: 0 / 0.6763 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2066, allocations: 0 / 0.6763 GB, free: 12.12 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.0009342/0.2075, allocations: 495 kB / 0.6768 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.2076, allocations: 8.031 kB / 0.6768 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005153/0.2081, allocations: 72.58 kB / 0.6769 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.2084, allocations: 236 kB / 0.6771 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.2084, allocations: 16.64 kB / 0.6771 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.2085, allocations: 16.31 kB / 0.6771 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005756/0.209, allocations: 312.5 kB / 0.6774 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2091, allocations: 3.938 kB / 0.6775 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.2091, allocations: 8 kB / 0.6775 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.2092, allocations: 24.27 kB / 0.6775 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005486/0.2097, allocations: 260.6 kB / 0.6777 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.2116, allocations: 1.297 MB / 0.679 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.2122, allocations: 257 kB / 0.6792 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.2125, allocations: 137.6 kB / 0.6794 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.2125, allocations: 0 / 0.6794 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.2126, allocations: 30.56 kB / 0.6794 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.502e-06/0.2126, allocations: 0 / 0.6794 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0009352/0.2135, allocations: 348.5 kB / 0.6797 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.2136, allocations: 85.17 kB / 0.6798 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.2138, allocations: 182.6 kB / 0.68 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.2139, allocations: 25.7 kB / 0.68 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.214, allocations: 140 kB / 0.6801 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.2141, allocations: 67.17 kB / 0.6802 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2142, allocations: 45.7 kB / 0.6803 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2144, allocations: 326.8 kB / 0.6806 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.2146, allocations: 116.6 kB / 0.6807 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.2149, allocations: 160.5 kB / 0.6808 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.2154, allocations: 277.8 kB / 0.6811 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2154, allocations: 0 / 0.6811 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005787/0.216, allocations: 317.1 kB / 0.6814 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.216, allocations: 8 kB / 0.6814 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.216, allocations: 0 / 0.6814 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.552e-05/0.2161, allocations: 4 kB / 0.6814 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.2164, allocations: 55.89 kB / 0.6815 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.2164, allocations: 12.16 kB / 0.6815 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.2166, allocations: 31.81 kB / 0.6815 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.2166, allocations: 12 kB / 0.6815 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002855/0.2169, allocations: 196 kB / 0.6817 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002351/0.2172, allocations: 161.3 kB / 0.6819 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003997/0.2176, allocations: 243.5 kB / 0.6821 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.474e-06/0.2176, allocations: 0 / 0.6821 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000526/0.2181, allocations: 284.7 kB / 0.6824 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.2181, allocations: 4 kB / 0.6824 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2182, allocations: 4 kB / 0.6824 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/0.2182, allocations: 4 kB / 0.6824 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.2184, allocations: 51.89 kB / 0.6824 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2184, allocations: 4 kB / 0.6824 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2186, allocations: 27.83 kB / 0.6825 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.2186, allocations: 11.98 kB / 0.6825 GB, free: 5.422 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.0001403/0.2188, allocations: 196.2 kB / 0.6827 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.2189, allocations: 15.81 kB / 0.6827 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.2195, allocations: 270.9 kB / 0.6829 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.2195, allocations: 3.984 kB / 0.6829 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2195, allocations: 4 kB / 0.6829 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2195, allocations: 0 / 0.6829 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.2207, allocations: 0.6771 MB / 0.6836 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.2207, allocations: 3.938 kB / 0.6836 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.2209, allocations: 47.95 kB / 0.6836 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.2209, allocations: 7.938 kB / 0.6836 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.221, allocations: 3.938 kB / 0.6837 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.221, allocations: 4 kB / 0.6837 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.221, allocations: 4.125 kB / 0.6837 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.2216, allocations: 449.9 kB / 0.6841 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.2218, allocations: 112.8 kB / 0.6842 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.2218, allocations: 11.92 kB / 0.6842 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.222, allocations: 15.98 kB / 0.6842 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.2221, allocations: 11.98 kB / 0.6842 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.2221, allocations: 15.94 kB / 0.6843 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001191/0.2222, allocations: 131.2 kB / 0.6844 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2222, allocations: 0 / 0.6844 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004916/0.2227, allocations: 83.84 kB / 0.6845 GB, free: 3.234 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.000149/0.2229, allocations: 103.2 kB / 0.6846 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007586/0.2237, allocations: 380.3 kB / 0.6849 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2237, allocations: 0 / 0.6849 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.2239, allocations: 119.8 kB / 0.685 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.2244, allocations: 46.86 kB / 0.6851 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/0.2253, allocations: 458.6 kB / 0.6855 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2256, allocations: 0.7363 MB / 0.6862 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002044/0.2258, allocations: 77.47 kB / 0.6863 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.2259, allocations: 23.44 kB / 0.6863 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.2259, allocations: 0 / 0.6863 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.005882/0.2318, allocations: 2.331 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)