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_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.1998/0.2008, allocations: 82.22 MB / 0.5935 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03491/0.2358, allocations: 34.02 MB / 0.6267 GB, free: 3.867 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0193/0.2551, allocations: 11.05 MB / 0.6375 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004368/0.2595, allocations: 135.2 kB / 0.6376 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.2627, allocations: 0.7557 MB / 0.6384 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007382/0.2701, allocations: 1.854 MB / 0.6402 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00497/0.2751, allocations: 1.281 MB / 0.6414 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01269/0.2879, allocations: 10.2 MB / 0.6514 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02087/0.3088, allocations: 12.64 MB / 0.6637 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007901/0.3167, allocations: 2.848 MB / 0.6665 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007331/0.324, allocations: 3.812 MB / 0.6702 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.3255, allocations: 344 kB / 0.6706 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.3284, allocations: 0.6986 MB / 0.6712 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002888/0.3313, allocations: 2.436 MB / 0.6736 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00227/0.3336, allocations: 1.159 MB / 0.6748 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.3471, allocations: 10.09 MB / 0.6846 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.3472, allocations: 3.938 kB / 0.6846 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.146e-06/0.3472, allocations: 0 / 0.6846 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005649/0.3478, allocations: 0 / 0.6846 GB, free: 8.363 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01573/0.3635, allocations: 5.105 MB / 0.6896 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3636, allocations: 12.03 kB / 0.6896 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006292/0.3699, allocations: 1.035 MB / 0.6906 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4143/0.7843, allocations: 3.334 MB / 0.6939 GB, free: 86.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006127/0.7849, allocations: 421 kB / 0.6943 GB, free: 86.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002455/0.7874, allocations: 0.5397 MB / 0.6948 GB, free: 86.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/0.8107, allocations: 9.289 MB / 0.7039 GB, free: 84.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.8109, allocations: 23.94 kB / 0.7039 GB, free: 84.17 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006582/0.8116, allocations: 249.1 kB / 0.7041 GB, free: 84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006/0.8122, allocations: 420.5 kB / 0.7045 GB, free: 83.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01998/0.8322, allocations: 7.05 MB / 0.7114 GB, free: 81.48 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03645/0.8687, allocations: 28.59 MB / 0.7393 GB, free: 59.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/0.8723, allocations: 3.11 MB / 0.7424 GB, free: 57.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.8746, allocations: 2.123 MB / 0.7445 GB, free: 55.58 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.8747, allocations: 22 kB / 0.7445 GB, free: 55.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.8747, allocations: 60.22 kB / 0.7445 GB, free: 55.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=209): time 3.998e-06/0.8748, allocations: 3.938 kB / 0.7445 GB, free: 55.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.02043/0.8952, allocations: 10.46 MB / 0.7548 GB, free: 44.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.8953, allocations: 73.41 kB / 0.7548 GB, free: 44.85 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.8976, allocations: 1.986 MB / 0.7568 GB, free: 42.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.8978, allocations: 65.7 kB / 0.7568 GB, free: 42.78 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009907/0.8988, allocations: 2.382 MB / 0.7592 GB, free: 40.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004925/0.8993, allocations: 0.7246 MB / 0.7599 GB, free: 39.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.8994, allocations: 56 kB / 0.7599 GB, free: 39.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8995, allocations: 407.4 kB / 0.7603 GB, free: 39.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.9011, allocations: 1.368 MB / 0.7616 GB, free: 37.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.9029, allocations: 2.1 MB / 0.7637 GB, free: 35.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.9048, allocations: 1.735 MB / 0.7654 GB, free: 33.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.9048, allocations: 4 kB / 0.7654 GB, free: 33.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006352/0.9112, allocations: 5.05 MB / 0.7703 GB, free: 28.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.9112, allocations: 16 kB / 0.7703 GB, free: 28.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.9112, allocations: 24.83 kB / 0.7704 GB, free: 28.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002819/0.9141, allocations: 1.527 MB / 0.7718 GB, free: 27.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.9154, allocations: 455.2 kB / 0.7723 GB, free: 26.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/0.9315, allocations: 17.08 MB / 0.789 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.9336, allocations: 147.9 kB / 0.7891 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.9337, allocations: 104 kB / 0.7892 GB, free: 8.734 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(7,51.0%) 31,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002821/0.9366, allocations: 1.946 MB / 0.7911 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.9369, allocations: 284.6 kB / 0.7914 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005951/0.9429, allocations: 4.445 MB / 0.7957 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.9429, allocations: 20 kB / 0.7957 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.9429, allocations: 20 kB / 0.7958 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.9429, allocations: 15.92 kB / 0.7958 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.9584, allocations: 9.692 MB / 0.8052 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.9584, allocations: 8 kB / 0.8052 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009856/0.9594, allocations: 232.2 kB / 0.8055 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/0.9626, allocations: 1.423 MB / 0.8069 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.9628, allocations: 40 kB / 0.8069 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02049/0.9833, allocations: 17.07 MB / 0.8236 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.9833, allocations: 11.94 kB / 0.8236 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00691/0.9902, allocations: 4.521 MB / 0.828 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.9915, allocations: 0.6383 MB / 0.8286 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/0.9919, allocations: 36 kB / 0.8286 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.9929, allocations: 115.9 kB / 0.8288 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/0.9934, allocations: 189 kB / 0.8289 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.9935, allocations: 60 kB / 0.829 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001898/0.9954, allocations: 1.295 MB / 0.8303 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9954, allocations: 0 / 0.8303 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003564/0.999, allocations: 1.102 MB / 0.8313 GB, free: 12.8 MB / 0.5762 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002942/0.9993, allocations: 171 kB / 0.8315 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007401/1.007, allocations: 4.692 MB / 0.8361 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/1.007, allocations: 5 kB / 0.8361 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004514/1.011, allocations: 2.922 MB / 0.8389 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005295/1.017, allocations: 0.8472 MB / 0.8398 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/1.035, allocations: 11.39 MB / 0.8509 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004463/1.039, allocations: 3.701 MB / 0.8545 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002261/1.041, allocations: 0.5596 MB / 0.855 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/1.042, allocations: 151.4 kB / 0.8552 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/1.042, allocations: 0 / 0.8552 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of Templates: time 0.08252/1.124, allocations: 48.55 MB / 0.9026 GB, free: 4.266 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) Environment - environmentSimulation: