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.2027/0.2047, allocations: 80.84 MB / 0.6706 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006982/0.2118, allocations: 4.243 MB / 0.6748 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004112/0.216, allocations: 2.549 MB / 0.6773 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.2163, allocations: 19.88 kB / 0.6773 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.2174, allocations: 376.3 kB / 0.6776 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009797/0.2184, allocations: 402.1 kB / 0.678 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000787/0.2192, allocations: 315.2 kB / 0.6783 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007859/0.22, allocations: 0.6672 MB / 0.679 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/0.2205, allocations: 266.9 kB / 0.6792 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.2208, allocations: 254.9 kB / 0.6795 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.2213, allocations: 286.9 kB / 0.6798 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.2213, allocations: 28 kB / 0.6798 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007041/0.2221, allocations: 423 kB / 0.6802 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.2222, allocations: 143.5 kB / 0.6803 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.2225, allocations: 234.7 kB / 0.6805 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009589/0.2234, allocations: 0.7237 MB / 0.6813 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2234, allocations: 0 / 0.6813 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2235, allocations: 0 / 0.6813 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.2235, allocations: 4 kB / 0.6813 GB, free: 7.219 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.001329/0.2248, allocations: 0.7859 MB / 0.682 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2249, allocations: 12.03 kB / 0.682 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.2262, allocations: 184.4 kB / 0.6822 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006366/0.2269, allocations: 448.4 kB / 0.6826 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2269, allocations: 21.03 kB / 0.6827 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.58e-05/0.227, allocations: 40.36 kB / 0.6827 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008929/0.2279, allocations: 0.6411 MB / 0.6833 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.2279, allocations: 4 kB / 0.6833 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.228, allocations: 15.98 kB / 0.6833 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.603e-05/0.228, allocations: 51.97 kB / 0.6834 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007011/0.2288, allocations: 499.2 kB / 0.6839 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.2319, allocations: 3.319 MB / 0.6871 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.2336, allocations: 0.64 MB / 0.6877 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.2338, allocations: 182.4 kB / 0.6879 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.2339, allocations: 7.984 kB / 0.6879 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.2339, allocations: 46.5 kB / 0.688 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 3.166e-06/0.2339, allocations: 4 kB / 0.688 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002188/0.2361, allocations: 1.289 MB / 0.6892 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.2362, allocations: 106.8 kB / 0.6893 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.2366, allocations: 409.8 kB / 0.6897 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.2367, allocations: 33.64 kB / 0.6897 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.2369, allocations: 284.2 kB / 0.69 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.237, allocations: 127 kB / 0.6901 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.2371, allocations: 98.16 kB / 0.6902 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2373, allocations: 356.5 kB / 0.6906 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.2376, allocations: 177 kB / 0.6907 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.238, allocations: 383.3 kB / 0.6911 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.2387, allocations: 0.6068 MB / 0.6917 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2387, allocations: 4 kB / 0.6917 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001027/0.2398, allocations: 0.6789 MB / 0.6924 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.2398, allocations: 8 kB / 0.6924 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.2398, allocations: 8 kB / 0.6924 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.2402, allocations: 103 kB / 0.6925 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.2405, allocations: 111.8 kB / 0.6926 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.244, allocations: 4.344 MB / 0.6968 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.2443, allocations: 35.97 kB / 0.6969 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.2444, allocations: 24 kB / 0.6969 GB, free: 6.062 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.0002421/0.2446, allocations: 201.6 kB / 0.6971 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2447, allocations: 47.72 kB / 0.6971 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009325/0.2457, allocations: 0.5267 MB / 0.6976 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.2457, allocations: 7.938 kB / 0.6976 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2457, allocations: 4 kB / 0.6976 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2457, allocations: 3.938 kB / 0.6977 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.2474, allocations: 1.299 MB / 0.6989 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.2474, allocations: 4 kB / 0.6989 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.2476, allocations: 63.83 kB / 0.699 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.2479, allocations: 90.5 kB / 0.6991 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.2479, allocations: 8 kB / 0.6991 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/0.2513, allocations: 4.34 MB / 0.7033 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.2513, allocations: 4 kB / 0.7033 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009361/0.2523, allocations: 0.7944 MB / 0.7041 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.2525, allocations: 156.7 kB / 0.7042 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.2525, allocations: 15.94 kB / 0.7043 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.2528, allocations: 27.97 kB / 0.7043 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.2529, allocations: 35.84 kB / 0.7043 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.2529, allocations: 12 kB / 0.7043 GB, free: 13.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002997/0.2532, allocations: 275.1 kB / 0.7046 GB, free: 13.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.533e-06/0.2532, allocations: 0 / 0.7046 GB, free: 13.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006936/0.2539, allocations: 123.9 kB / 0.7047 GB, free: 13.42 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.0001682/0.2541, allocations: 115.2 kB / 0.7048 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.2554, allocations: 0.8172 MB / 0.7056 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2554, allocations: 0 / 0.7056 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006904/0.2561, allocations: 0.5554 MB / 0.7062 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.2569, allocations: 132.8 kB / 0.7063 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.2584, allocations: 0.9241 MB / 0.7072 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.259, allocations: 0.8586 MB / 0.708 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002874/0.2593, allocations: 116.5 kB / 0.7081 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.326e-05/0.2594, allocations: 39.44 kB / 0.7082 GB, free: 9.699 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.2594, allocations: 0 / 0.7082 GB, free: 9.699 MB / 0.545 GB Notification: Performance of Templates: time 0.01091/0.2703, allocations: 5.866 MB / 0.7139 GB, free: 3.887 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)