Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [/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.1921/0.1942, allocations: 80.83 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006854/0.2011, allocations: 4.831 MB / 0.6753 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004876/0.206, allocations: 2.748 MB / 0.678 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005054/0.2065, allocations: 23.81 kB / 0.6781 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.208, allocations: 413.2 kB / 0.6784 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.2097, allocations: 0.4936 MB / 0.6789 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.2111, allocations: 395.2 kB / 0.6793 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.2128, allocations: 0.9057 MB / 0.6802 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007537/0.2135, allocations: 346.5 kB / 0.6805 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.2142, allocations: 338.7 kB / 0.6808 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006661/0.2149, allocations: 370.4 kB / 0.6812 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.215, allocations: 40 kB / 0.6812 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008263/0.2158, allocations: 399.1 kB / 0.6816 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.216, allocations: 179.4 kB / 0.6818 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.2163, allocations: 314.2 kB / 0.6821 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.2173, allocations: 0.8643 MB / 0.6829 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2174, allocations: 4 kB / 0.6829 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.476e-06/0.2174, allocations: 3.984 kB / 0.6829 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.2174, allocations: 0 / 0.6829 GB, free: 5.348 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.001514/0.2189, allocations: 0.9308 MB / 0.6838 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.219, allocations: 8.031 kB / 0.6839 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.2203, allocations: 207.7 kB / 0.6841 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.2212, allocations: 0.5451 MB / 0.6846 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.2213, allocations: 33.36 kB / 0.6846 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.2214, allocations: 52.27 kB / 0.6847 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.2226, allocations: 0.8344 MB / 0.6855 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.2226, allocations: 7.938 kB / 0.6855 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.133e-05/0.2227, allocations: 23.98 kB / 0.6855 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.875e-05/0.2228, allocations: 64.95 kB / 0.6856 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/0.2236, allocations: 0.5538 MB / 0.6861 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0044/0.228, allocations: 5.125 MB / 0.6911 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.2287, allocations: 454.3 kB / 0.6916 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.2291, allocations: 228.7 kB / 0.6918 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.2291, allocations: 4 kB / 0.6918 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2291, allocations: 38.56 kB / 0.6918 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.936e-06/0.2292, allocations: 4 kB / 0.6918 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002633/0.2318, allocations: 1.5 MB / 0.6933 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.2318, allocations: 59.34 kB / 0.6933 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.2324, allocations: 0.5067 MB / 0.6938 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.2324, allocations: 29.7 kB / 0.6939 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.2328, allocations: 350.9 kB / 0.6942 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.2329, allocations: 118.3 kB / 0.6943 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.233, allocations: 118.2 kB / 0.6944 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2332, allocations: 366.8 kB / 0.6948 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.2335, allocations: 193.2 kB / 0.695 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.2339, allocations: 447 kB / 0.6954 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007865/0.2347, allocations: 0.6915 MB / 0.6961 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2347, allocations: 4 kB / 0.6961 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00121/0.2359, allocations: 0.8018 MB / 0.6968 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.236, allocations: 12.78 kB / 0.6969 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.236, allocations: 12.12 kB / 0.6969 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/0.2365, allocations: 156.1 kB / 0.697 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.237, allocations: 127.8 kB / 0.6971 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/0.2404, allocations: 4.355 MB / 0.7014 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.2409, allocations: 31.97 kB / 0.7014 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.241, allocations: 31.94 kB / 0.7015 GB, free: 1.012 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.0002895/0.2413, allocations: 209.6 kB / 0.7017 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/0.2414, allocations: 71.25 kB / 0.7017 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009922/0.2424, allocations: 0.6009 MB / 0.7023 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2424, allocations: 7.984 kB / 0.7023 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.2424, allocations: 4 kB / 0.7023 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2424, allocations: 0 / 0.7023 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.2442, allocations: 1.274 MB / 0.7036 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.2442, allocations: 0 / 0.7036 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.2445, allocations: 59.89 kB / 0.7036 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.2449, allocations: 144.4 kB / 0.7038 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.245, allocations: 8 kB / 0.7038 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/0.2482, allocations: 4.332 MB / 0.708 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2482, allocations: 4.156 kB / 0.708 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.2493, allocations: 0.7233 MB / 0.7087 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.2496, allocations: 168.3 kB / 0.7089 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.2497, allocations: 16 kB / 0.7089 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.2499, allocations: 19.97 kB / 0.7089 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.25, allocations: 31.97 kB / 0.7089 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.25, allocations: 15.92 kB / 0.7089 GB, free: 8.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003921/0.2504, allocations: 338.8 kB / 0.7093 GB, free: 8.371 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2504, allocations: 0 / 0.7093 GB, free: 8.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006957/0.2511, allocations: 143.9 kB / 0.7094 GB, free: 8.23 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.0001911/0.2513, allocations: 108.8 kB / 0.7095 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.2528, allocations: 1.04 MB / 0.7105 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2528, allocations: 0 / 0.7105 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008435/0.2537, allocations: 0.7384 MB / 0.7112 GB, free: 6.172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.2549, allocations: 206.8 kB / 0.7114 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.2572, allocations: 1.036 MB / 0.7125 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.2578, allocations: 0.9098 MB / 0.7133 GB, free: 3.957 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003153/0.2581, allocations: 121.3 kB / 0.7135 GB, free: 3.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.158e-05/0.2582, allocations: 43.42 kB / 0.7135 GB, free: 3.793 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/0.2582, allocations: 3.938 kB / 0.7135 GB, free: 3.789 MB / 0.545 GB Notification: Performance of Templates: time 0.01459/0.2728, allocations: 7.698 MB / 0.721 GB, free: 12.17 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)