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.1924/0.1948, allocations: 80.84 MB / 0.6706 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008473/0.2033, allocations: 4.843 MB / 0.6754 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004917/0.2083, allocations: 2.748 MB / 0.678 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006442/0.209, allocations: 27.81 kB / 0.6781 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.2106, allocations: 405.9 kB / 0.6785 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.2122, allocations: 0.4897 MB / 0.6789 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.2132, allocations: 398.1 kB / 0.6793 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.2147, allocations: 0.9096 MB / 0.6802 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008562/0.2156, allocations: 354.4 kB / 0.6805 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009082/0.2165, allocations: 338.6 kB / 0.6809 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.2177, allocations: 374.5 kB / 0.6812 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.2178, allocations: 40 kB / 0.6813 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.219, allocations: 399.1 kB / 0.6816 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.2194, allocations: 167.5 kB / 0.6818 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006279/0.2201, allocations: 318.2 kB / 0.6821 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.2222, allocations: 0.8681 MB / 0.6829 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2222, allocations: 0 / 0.6829 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2222, allocations: 4 kB / 0.6829 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.2222, allocations: 0 / 0.6829 GB, free: 5.445 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.001811/0.224, allocations: 0.9346 MB / 0.6839 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2241, allocations: 8.031 kB / 0.6839 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.2255, allocations: 207.7 kB / 0.6841 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.2266, allocations: 0.5491 MB / 0.6846 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.2267, allocations: 33.36 kB / 0.6846 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.872e-05/0.2268, allocations: 40.28 kB / 0.6847 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.2279, allocations: 0.8305 MB / 0.6855 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.228, allocations: 11.92 kB / 0.6855 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.228, allocations: 23.98 kB / 0.6855 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002293/0.2283, allocations: 60.97 kB / 0.6856 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.2294, allocations: 0.5616 MB / 0.6861 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007007/0.2364, allocations: 5.121 MB / 0.6911 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.2372, allocations: 470.3 kB / 0.6916 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.2376, allocations: 224.7 kB / 0.6918 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.2376, allocations: 0 / 0.6918 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.2377, allocations: 38.56 kB / 0.6918 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.2377, allocations: 0 / 0.6918 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.003512/0.2412, allocations: 1.5 MB / 0.6933 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.2413, allocations: 55.41 kB / 0.6933 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/0.2419, allocations: 0.5106 MB / 0.6938 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.242, allocations: 29.7 kB / 0.6939 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.2423, allocations: 350.9 kB / 0.6942 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.2426, allocations: 122.3 kB / 0.6943 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.2427, allocations: 110.2 kB / 0.6944 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004691/0.2432, allocations: 362.8 kB / 0.6948 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.2436, allocations: 197.2 kB / 0.695 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.2442, allocations: 451 kB / 0.6954 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.2454, allocations: 0.6954 MB / 0.6961 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.2454, allocations: 4 kB / 0.6961 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00147/0.2469, allocations: 0.8014 MB / 0.6969 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.2469, allocations: 12 kB / 0.6969 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/0.2471, allocations: 8 kB / 0.6969 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005295/0.2476, allocations: 160.6 kB / 0.697 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.2481, allocations: 123.8 kB / 0.6971 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/0.2528, allocations: 4.347 MB / 0.7014 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.2533, allocations: 31.97 kB / 0.7014 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.2534, allocations: 28 kB / 0.7014 GB, free: 1.121 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.0003558/0.2537, allocations: 217.7 kB / 0.7017 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2538, allocations: 67.19 kB / 0.7017 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.2549, allocations: 0.6087 MB / 0.7023 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2549, allocations: 4 kB / 0.7023 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2549, allocations: 4 kB / 0.7023 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2549, allocations: 3.984 kB / 0.7023 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.2571, allocations: 1.274 MB / 0.7036 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2571, allocations: 4 kB / 0.7036 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.2574, allocations: 59.89 kB / 0.7036 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004127/0.2578, allocations: 144.4 kB / 0.7038 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.2578, allocations: 8 kB / 0.7038 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004377/0.2622, allocations: 4.332 MB / 0.708 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.2622, allocations: 4 kB / 0.708 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.2633, allocations: 0.7195 MB / 0.7087 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.2636, allocations: 168.3 kB / 0.7089 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.2636, allocations: 15.98 kB / 0.7089 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.2639, allocations: 23.97 kB / 0.7089 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.2641, allocations: 31.91 kB / 0.7089 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.2641, allocations: 8 kB / 0.709 GB, free: 8.801 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004099/0.2645, allocations: 338.8 kB / 0.7093 GB, free: 8.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2646, allocations: 0 / 0.7093 GB, free: 8.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000684/0.2652, allocations: 143.9 kB / 0.7094 GB, free: 8.332 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.0001737/0.2654, allocations: 116.8 kB / 0.7095 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.2671, allocations: 1.037 MB / 0.7105 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2671, allocations: 0 / 0.7105 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009624/0.268, allocations: 0.7342 MB / 0.7113 GB, free: 6.273 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.2692, allocations: 206.5 kB / 0.7114 GB, free: 6.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.2709, allocations: 1.039 MB / 0.7125 GB, free: 4.988 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.2714, allocations: 0.9098 MB / 0.7134 GB, free: 4.051 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002928/0.2717, allocations: 125.3 kB / 0.7135 GB, free: 3.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.318e-05/0.2718, allocations: 39.44 kB / 0.7135 GB, free: 3.887 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.2718, allocations: 0 / 0.7135 GB, free: 3.887 MB / 0.545 GB Notification: Performance of Templates: time 0.01409/0.2859, allocations: 7.836 MB / 0.7212 GB, free: 12.14 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)