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.2354/0.2379, allocations: 80.84 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.008952/0.2469, allocations: 4.25 MB / 0.6748 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005176/0.2522, allocations: 2.561 MB / 0.6773 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006025/0.2529, allocations: 15.88 kB / 0.6773 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.2546, allocations: 362.3 kB / 0.6776 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.2565, allocations: 418.1 kB / 0.678 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.2577, allocations: 323.2 kB / 0.6783 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.259, allocations: 0.6672 MB / 0.679 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006994/0.2597, allocations: 266.9 kB / 0.6793 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007092/0.2605, allocations: 255 kB / 0.6795 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008511/0.2613, allocations: 282.8 kB / 0.6798 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.2615, allocations: 36 kB / 0.6798 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009672/0.2624, allocations: 423 kB / 0.6802 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.2627, allocations: 143.5 kB / 0.6803 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.263, allocations: 234.7 kB / 0.6806 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.2642, allocations: 0.7165 MB / 0.6813 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2642, allocations: 0 / 0.6813 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2642, allocations: 0 / 0.6813 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.2642, allocations: 0 / 0.6813 GB, free: 7.07 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.001212/0.2654, allocations: 0.779 MB / 0.682 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.2655, allocations: 12.03 kB / 0.682 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.2669, allocations: 180.1 kB / 0.6822 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.2676, allocations: 444.1 kB / 0.6826 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.2677, allocations: 21.03 kB / 0.6827 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/0.2677, allocations: 32.36 kB / 0.6827 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008912/0.2686, allocations: 0.649 MB / 0.6833 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.2687, allocations: 7.938 kB / 0.6833 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.2687, allocations: 12 kB / 0.6833 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-05/0.2688, allocations: 51.95 kB / 0.6834 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.2695, allocations: 495.2 kB / 0.6839 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.2726, allocations: 3.319 MB / 0.6871 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.2743, allocations: 0.633 MB / 0.6877 GB, free: 104 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.2746, allocations: 186.4 kB / 0.6879 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.2746, allocations: 7.984 kB / 0.6879 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.2746, allocations: 38.56 kB / 0.6879 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 1.993e-06/0.2747, allocations: 0 / 0.6879 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002353/0.277, allocations: 1.295 MB / 0.6892 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.2771, allocations: 106.8 kB / 0.6893 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.2776, allocations: 397.8 kB / 0.6897 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.2776, allocations: 33.7 kB / 0.6897 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.2778, allocations: 275.5 kB / 0.69 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/0.2779, allocations: 118.3 kB / 0.6901 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2781, allocations: 106.1 kB / 0.6902 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.2783, allocations: 346.8 kB / 0.6905 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.2786, allocations: 181 kB / 0.6907 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.279, allocations: 388.9 kB / 0.6911 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007564/0.2798, allocations: 0.5988 MB / 0.6917 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2798, allocations: 0 / 0.6917 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001125/0.2809, allocations: 0.6949 MB / 0.6923 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2809, allocations: 8 kB / 0.6923 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.281, allocations: 8 kB / 0.6923 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003691/0.2813, allocations: 90.5 kB / 0.6924 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.2817, allocations: 111.8 kB / 0.6925 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/0.2855, allocations: 4.348 MB / 0.6968 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.2858, allocations: 31.97 kB / 0.6968 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.2859, allocations: 24 kB / 0.6968 GB, free: 5.969 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.0002663/0.2862, allocations: 205.7 kB / 0.697 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2863, allocations: 47.44 kB / 0.6971 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009343/0.2872, allocations: 0.5226 MB / 0.6976 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.2873, allocations: 7.938 kB / 0.6976 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2873, allocations: 0 / 0.6976 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.2873, allocations: 7.984 kB / 0.6976 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.2892, allocations: 1.295 MB / 0.6989 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2892, allocations: 4 kB / 0.6989 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.2894, allocations: 67.83 kB / 0.6989 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002629/0.2897, allocations: 90.73 kB / 0.699 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.2898, allocations: 8 kB / 0.699 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.2932, allocations: 4.336 MB / 0.7033 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.2932, allocations: 7.938 kB / 0.7033 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000951/0.2942, allocations: 0.7943 MB / 0.704 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.2944, allocations: 152.5 kB / 0.7042 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.2945, allocations: 11.94 kB / 0.7042 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.2948, allocations: 23.97 kB / 0.7042 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.2949, allocations: 35.84 kB / 0.7043 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2949, allocations: 19.98 kB / 0.7043 GB, free: 13.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003213/0.2953, allocations: 275.1 kB / 0.7045 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.563e-06/0.2953, allocations: 0 / 0.7045 GB, free: 13.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00069/0.296, allocations: 127.9 kB / 0.7047 GB, free: 13.33 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.0001585/0.2961, allocations: 115.1 kB / 0.7048 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.2974, allocations: 0.8105 MB / 0.7056 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2975, allocations: 0 / 0.7056 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007141/0.2982, allocations: 0.5474 MB / 0.7061 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009328/0.2991, allocations: 136.9 kB / 0.7062 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.3009, allocations: 0.9132 MB / 0.7071 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.3015, allocations: 0.8703 MB / 0.708 GB, free: 9.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003315/0.3018, allocations: 108.5 kB / 0.7081 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.3019, allocations: 39.42 kB / 0.7081 GB, free: 9.625 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.302, allocations: 4 kB / 0.7081 GB, free: 9.621 MB / 0.545 GB Notification: Performance of Templates: time 0.01186/0.3138, allocations: 5.853 MB / 0.7138 GB, free: 3.82 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)