Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [/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.2218/0.224, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006793/0.2308, allocations: 4.784 MB / 0.6753 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005112/0.236, allocations: 2.729 MB / 0.678 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006276/0.2367, allocations: 23.81 kB / 0.678 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.2381, allocations: 397.4 kB / 0.6784 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.2397, allocations: 0.5053 MB / 0.6789 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009967/0.2407, allocations: 363.2 kB / 0.6792 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.2419, allocations: 0.9018 MB / 0.6801 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006275/0.2426, allocations: 346.5 kB / 0.6804 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004696/0.2431, allocations: 338.7 kB / 0.6807 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005704/0.2436, allocations: 370.5 kB / 0.6811 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.003e-05/0.2437, allocations: 36 kB / 0.6811 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009015/0.2446, allocations: 407.1 kB / 0.6815 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.2449, allocations: 171.5 kB / 0.6817 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.2452, allocations: 314.2 kB / 0.682 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.2464, allocations: 0.8604 MB / 0.6828 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2464, allocations: 0 / 0.6828 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2464, allocations: 0 / 0.6828 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.2464, allocations: 0 / 0.6828 GB, free: 5.48 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001454/0.2479, allocations: 0.923 MB / 0.6837 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2479, allocations: 8.031 kB / 0.6837 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.2492, allocations: 211.7 kB / 0.6839 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008939/0.2501, allocations: 0.5296 MB / 0.6844 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.2502, allocations: 29.38 kB / 0.6845 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-05/0.2503, allocations: 44.36 kB / 0.6845 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2515, allocations: 0.8266 MB / 0.6853 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.2515, allocations: 11.94 kB / 0.6853 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.2516, allocations: 19.98 kB / 0.6854 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-05/0.2517, allocations: 68.95 kB / 0.6854 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008381/0.2525, allocations: 0.5616 MB / 0.686 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004843/0.2574, allocations: 5.113 MB / 0.691 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.2581, allocations: 462.3 kB / 0.6914 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.2584, allocations: 232.7 kB / 0.6916 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.2584, allocations: 4 kB / 0.6916 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.2585, allocations: 38.56 kB / 0.6917 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.825e-06/0.2585, allocations: 0 / 0.6917 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002733/0.2612, allocations: 1.5 MB / 0.6931 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.2613, allocations: 55.41 kB / 0.6932 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/0.2619, allocations: 0.4949 MB / 0.6937 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.2619, allocations: 33.7 kB / 0.6937 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.2622, allocations: 342.9 kB / 0.694 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.2623, allocations: 122.3 kB / 0.6941 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.2625, allocations: 106.2 kB / 0.6942 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2627, allocations: 362.8 kB / 0.6946 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.263, allocations: 197.2 kB / 0.6948 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.2634, allocations: 455 kB / 0.6952 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.2642, allocations: 0.6877 MB / 0.6959 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2643, allocations: 7.938 kB / 0.6959 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001196/0.2655, allocations: 0.8092 MB / 0.6967 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.2655, allocations: 9.875 kB / 0.6967 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.2655, allocations: 12 kB / 0.6967 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005025/0.266, allocations: 152.5 kB / 0.6968 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.2665, allocations: 123.8 kB / 0.697 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/0.27, allocations: 4.351 MB / 0.7012 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.2706, allocations: 31.97 kB / 0.7012 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.2706, allocations: 28 kB / 0.7013 GB, free: 1.207 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0003104/0.2709, allocations: 225.5 kB / 0.7015 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/0.271, allocations: 59.28 kB / 0.7015 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/0.272, allocations: 0.6044 MB / 0.7021 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.272, allocations: 4 kB / 0.7021 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2721, allocations: 4 kB / 0.7021 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2721, allocations: 0 / 0.7021 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.2741, allocations: 1.278 MB / 0.7034 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/0.2742, allocations: 4 kB / 0.7034 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.2744, allocations: 51.89 kB / 0.7034 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.2749, allocations: 144.3 kB / 0.7036 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.2749, allocations: 12 kB / 0.7036 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003734/0.2786, allocations: 4.332 MB / 0.7078 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.2787, allocations: 11.95 kB / 0.7078 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.2798, allocations: 0.7121 MB / 0.7085 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.2802, allocations: 164.3 kB / 0.7087 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.992e-05/0.2803, allocations: 8 kB / 0.7087 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.2806, allocations: 27.97 kB / 0.7087 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.2806, allocations: 35.89 kB / 0.7088 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.2807, allocations: 12 kB / 0.7088 GB, free: 8.895 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003555/0.281, allocations: 330.9 kB / 0.7091 GB, free: 8.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.281, allocations: 0 / 0.7091 GB, free: 8.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006554/0.2817, allocations: 139.9 kB / 0.7092 GB, free: 8.438 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.000156/0.2819, allocations: 116.8 kB / 0.7093 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.2833, allocations: 1.032 MB / 0.7103 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2833, allocations: 1.062 kB / 0.7103 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009021/0.2842, allocations: 0.7382 MB / 0.7111 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.2853, allocations: 201.9 kB / 0.7112 GB, free: 6.188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.287, allocations: 1.035 MB / 0.7123 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.2875, allocations: 0.9019 MB / 0.7131 GB, free: 4.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003047/0.2878, allocations: 121.3 kB / 0.7133 GB, free: 4.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.2879, allocations: 43.42 kB / 0.7133 GB, free: 4.008 MB / 0.545 GB Notification: Performance of SimCode: time 1.823e-06/0.2879, allocations: 0 / 0.7133 GB, free: 4.008 MB / 0.545 GB Notification: Performance of Templates: time 0.01421/0.3021, allocations: 7.809 MB / 0.7209 GB, free: 12.29 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)