Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [/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.1811/0.1833, allocations: 80.83 MB / 0.6706 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006823/0.1902, allocations: 4.247 MB / 0.6748 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004161/0.1944, allocations: 2.553 MB / 0.6773 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.1948, allocations: 15.88 kB / 0.6773 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.1961, allocations: 373.8 kB / 0.6776 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.1972, allocations: 406 kB / 0.678 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008296/0.198, allocations: 311.2 kB / 0.6783 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008891/0.1989, allocations: 0.675 MB / 0.679 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004707/0.1994, allocations: 258.9 kB / 0.6792 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.1998, allocations: 258.9 kB / 0.6795 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005465/0.2004, allocations: 286.9 kB / 0.6797 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.582e-05/0.2005, allocations: 28 kB / 0.6798 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007095/0.2012, allocations: 431 kB / 0.6802 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.2014, allocations: 143.6 kB / 0.6803 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.2016, allocations: 226.8 kB / 0.6805 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.2024, allocations: 0.7164 MB / 0.6812 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2024, allocations: 0 / 0.6812 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2024, allocations: 0 / 0.6812 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.2025, allocations: 0 / 0.6812 GB, free: 7.234 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001167/0.2036, allocations: 0.7829 MB / 0.682 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2037, allocations: 8.031 kB / 0.682 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.205, allocations: 184.1 kB / 0.6822 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.2056, allocations: 440.1 kB / 0.6826 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.2056, allocations: 29.02 kB / 0.6826 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.199e-05/0.2057, allocations: 28.38 kB / 0.6827 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.2065, allocations: 0.6412 MB / 0.6833 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.2066, allocations: 11.94 kB / 0.6833 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/0.2066, allocations: 15.98 kB / 0.6833 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.843e-05/0.2067, allocations: 47.97 kB / 0.6834 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/0.2074, allocations: 0.4914 MB / 0.6838 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.2102, allocations: 3.315 MB / 0.6871 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.2119, allocations: 0.6321 MB / 0.6877 GB, free: 268 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.2122, allocations: 186.4 kB / 0.6879 GB, free: 72 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.2122, allocations: 7.922 kB / 0.6879 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2123, allocations: 46.5 kB / 0.6879 GB, free: 8 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/0.2123, allocations: 0 / 0.6879 GB, free: 8 kB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.002283/0.2146, allocations: 1.276 MB / 0.6892 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.2146, allocations: 114.8 kB / 0.6893 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.2151, allocations: 401.8 kB / 0.6897 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.2151, allocations: 31.39 kB / 0.6897 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.2153, allocations: 279.5 kB / 0.69 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/0.2154, allocations: 118.3 kB / 0.6901 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.2156, allocations: 94.16 kB / 0.6902 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2157, allocations: 358.8 kB / 0.6905 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.216, allocations: 181 kB / 0.6907 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.2164, allocations: 383.3 kB / 0.691 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.2172, allocations: 0.6027 MB / 0.6916 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2172, allocations: 8 kB / 0.6916 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001096/0.2183, allocations: 0.6864 MB / 0.6923 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.2183, allocations: 8.781 kB / 0.6923 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2183, allocations: 4 kB / 0.6923 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/0.2187, allocations: 94.98 kB / 0.6924 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.2191, allocations: 119.8 kB / 0.6925 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/0.2226, allocations: 4.336 MB / 0.6968 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.223, allocations: 35.97 kB / 0.6968 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.2231, allocations: 24 kB / 0.6968 GB, free: 6.129 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002589/0.2234, allocations: 214.5 kB / 0.697 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.2235, allocations: 47.38 kB / 0.6971 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.2244, allocations: 0.5186 MB / 0.6976 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.2244, allocations: 7.938 kB / 0.6976 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2244, allocations: 4 kB / 0.6976 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2244, allocations: 0 / 0.6976 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.2262, allocations: 1.295 MB / 0.6989 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2262, allocations: 11.97 kB / 0.6989 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.2265, allocations: 67.83 kB / 0.6989 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002833/0.2267, allocations: 86.52 kB / 0.699 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.2268, allocations: 8 kB / 0.699 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/0.2299, allocations: 4.332 MB / 0.7032 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.2299, allocations: 4 kB / 0.7033 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.2308, allocations: 0.798 MB / 0.704 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.2311, allocations: 152.5 kB / 0.7042 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.2311, allocations: 15.94 kB / 0.7042 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.2314, allocations: 23.97 kB / 0.7042 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.2315, allocations: 35.84 kB / 0.7042 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.2315, allocations: 12 kB / 0.7043 GB, free: 13.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002875/0.2318, allocations: 279.4 kB / 0.7045 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.624e-06/0.2318, allocations: 0 / 0.7045 GB, free: 13.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006933/0.2325, allocations: 127.9 kB / 0.7046 GB, free: 13.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.2327, allocations: 115.1 kB / 0.7048 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.2339, allocations: 0.8064 MB / 0.7055 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.234, allocations: 7.938 kB / 0.7056 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006687/0.2346, allocations: 0.5476 MB / 0.7061 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009266/0.2356, allocations: 140.3 kB / 0.7062 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.2371, allocations: 0.9076 MB / 0.7071 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.2375, allocations: 0.8625 MB / 0.708 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002771/0.2378, allocations: 120.5 kB / 0.7081 GB, free: 9.816 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.2379, allocations: 35.42 kB / 0.7081 GB, free: 9.781 MB / 0.545 GB Notification: Performance of SimCode: time 5.1e-07/0.2379, allocations: 0 / 0.7081 GB, free: 9.781 MB / 0.545 GB Notification: Performance of Templates: time 0.01114/0.2491, allocations: 5.965 MB / 0.7139 GB, free: 3.871 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)