Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [/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.1894/0.1902, allocations: 82.22 MB / 0.5941 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02062/0.2108, allocations: 19.1 MB / 0.6128 GB, free: 2.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.2221, allocations: 6.668 MB / 0.6193 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.2243, allocations: 75.56 kB / 0.6194 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.2259, allocations: 404.9 kB / 0.6197 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003825/0.2297, allocations: 1.14 MB / 0.6209 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.2332, allocations: 1.072 MB / 0.6219 GB, free: 9.035 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00848/0.2417, allocations: 6.871 MB / 0.6286 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01263/0.2543, allocations: 7.259 MB / 0.6357 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/0.2579, allocations: 1.47 MB / 0.6371 GB, free: 9.332 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004066/0.262, allocations: 2.032 MB / 0.6391 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009548/0.263, allocations: 172 kB / 0.6393 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.2657, allocations: 0.9203 MB / 0.6402 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002246/0.268, allocations: 1.313 MB / 0.6415 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002447/0.2704, allocations: 1.517 MB / 0.643 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006258/0.2767, allocations: 6.101 MB / 0.6489 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2767, allocations: 0 / 0.6489 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2768, allocations: 0 / 0.6489 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001984/0.277, allocations: 0 / 0.6489 GB, free: 13.23 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 784 * Number of variables: 784 Notification: Performance of Generate backend data structure: time 0.006643/0.2836, allocations: 2.785 MB / 0.6516 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2837, allocations: 23.91 kB / 0.6517 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00402/0.2877, allocations: 0.6177 MB / 0.6523 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004093/0.2918, allocations: 1.935 MB / 0.6541 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.2921, allocations: 218.2 kB / 0.6544 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/0.2931, allocations: 280.4 kB / 0.6546 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.3047, allocations: 4.853 MB / 0.6594 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.3049, allocations: 11.84 kB / 0.6594 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005777/0.3055, allocations: 128 kB / 0.6595 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004639/0.3059, allocations: 225.6 kB / 0.6597 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0073/0.3133, allocations: 3.726 MB / 0.6633 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02199/0.3353, allocations: 15.07 MB / 0.6781 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.3371, allocations: 1.31 MB / 0.6793 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.3386, allocations: 1.042 MB / 0.6804 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.43e-05/0.3387, allocations: 16.94 kB / 0.6804 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3387, allocations: 43.56 kB / 0.6804 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=107): time 2.645e-06/0.3387, allocations: 4 kB / 0.6804 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=138): time 0.02574/0.3644, allocations: 8.731 MB / 0.6889 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3645, allocations: 68.72 kB / 0.689 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.3662, allocations: 1.134 MB / 0.6901 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.3664, allocations: 49.7 kB / 0.6902 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008216/0.3672, allocations: 1.273 MB / 0.6914 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/0.3676, allocations: 477.1 kB / 0.6919 GB, free: 360 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3679, allocations: 141.6 kB / 0.692 GB, free: 212 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.3288/0.6966, allocations: 301.1 kB / 0.6923 GB, free: 89.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.6987, allocations: 0.9164 MB / 0.6932 GB, free: 89.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.7006, allocations: 1.323 MB / 0.6945 GB, free: 89.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.7034, allocations: 2.444 MB / 0.6969 GB, free: 88.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.7035, allocations: 2.906 kB / 0.6969 GB, free: 88.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00582/0.7093, allocations: 3.476 MB / 0.7003 GB, free: 88.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.7094, allocations: 10.94 kB / 0.7003 GB, free: 88.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.7094, allocations: 9.344 kB / 0.7003 GB, free: 88.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003328/0.7127, allocations: 1.176 MB / 0.7014 GB, free: 88.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.7138, allocations: 259.4 kB / 0.7017 GB, free: 88.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/0.7307, allocations: 12.75 MB / 0.7141 GB, free: 81.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.7325, allocations: 92.36 kB / 0.7142 GB, free: 81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.7326, allocations: 65.78 kB / 0.7143 GB, free: 80.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002279/0.7349, allocations: 1.119 MB / 0.7154 GB, free: 80.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/0.7354, allocations: 162.2 kB / 0.7155 GB, free: 80.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005934/0.7413, allocations: 3.175 MB / 0.7186 GB, free: 79.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.7414, allocations: 21.31 kB / 0.7186 GB, free: 79.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-05/0.7414, allocations: 12.16 kB / 0.7187 GB, free: 79.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.7414, allocations: 7.266 kB / 0.7187 GB, free: 79.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.7515, allocations: 6.266 MB / 0.7248 GB, free: 76.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.7516, allocations: 7.891 kB / 0.7248 GB, free: 76.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005639/0.7522, allocations: 147.7 kB / 0.7249 GB, free: 76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002672/0.7548, allocations: 1.078 MB / 0.726 GB, free: 75.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.755, allocations: 23.84 kB / 0.726 GB, free: 75.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/0.7683, allocations: 12.46 MB / 0.7382 GB, free: 65.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.7684, allocations: 11.94 kB / 0.7382 GB, free: 65.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/0.7731, allocations: 3.154 MB / 0.7413 GB, free: 62.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008003/0.7739, allocations: 427 kB / 0.7417 GB, free: 62.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.7741, allocations: 35.98 kB / 0.7417 GB, free: 62.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/0.7749, allocations: 80.64 kB / 0.7418 GB, free: 62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003564/0.7753, allocations: 132.7 kB / 0.7419 GB, free: 61.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.738e-05/0.7754, allocations: 40 kB / 0.742 GB, free: 61.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00092/0.7763, allocations: 0.7663 MB / 0.7427 GB, free: 61.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7763, allocations: 0 / 0.7427 GB, free: 61.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002115/0.7784, allocations: 0.6445 MB / 0.7433 GB, free: 60.42 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.7787, allocations: 144.3 kB / 0.7435 GB, free: 60.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004327/0.783, allocations: 3.141 MB / 0.7465 GB, free: 57.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.783, allocations: 0 / 0.7465 GB, free: 57.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002577/0.7856, allocations: 1.974 MB / 0.7485 GB, free: 55.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.7886, allocations: 484.7 kB / 0.7489 GB, free: 54.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008957/0.7976, allocations: 6.796 MB / 0.7556 GB, free: 47.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.7996, allocations: 2.339 MB / 0.7578 GB, free: 45.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001163/0.8008, allocations: 361.1 kB / 0.7582 GB, free: 45.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.801, allocations: 87.44 kB / 0.7583 GB, free: 44.98 MB / 0.5294 GB Notification: Performance of SimCode: time 9.01e-07/0.801, allocations: 3.938 kB / 0.7583 GB, free: 44.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.04694/0.8479, allocations: 30.83 MB / 0.7884 GB, free: 14.6 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) Environment - environmentSimulation: