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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [/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.1642/0.1671, allocations: 80.84 MB / 0.5899 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03663/0.2037, allocations: 34.25 MB / 0.6233 GB, free: 4.609 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01795/0.2217, allocations: 10.44 MB / 0.6335 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/0.2252, allocations: 131.3 kB / 0.6337 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009288/0.2345, allocations: 3.548 MB / 0.6371 GB, free: 6.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006334/0.2408, allocations: 1.972 MB / 0.639 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005202/0.246, allocations: 1.776 MB / 0.6408 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.009441/0.2555, allocations: 7.858 MB / 0.6485 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01979/0.2753, allocations: 11.7 MB / 0.6599 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00612/0.2815, allocations: 3.395 MB / 0.6632 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006524/0.288, allocations: 3.953 MB / 0.6671 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002334/0.2904, allocations: 0.6758 MB / 0.6677 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/0.2945, allocations: 1.44 MB / 0.6691 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00496/0.2995, allocations: 2.549 MB / 0.6716 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.006897/0.3064, allocations: 3.027 MB / 0.6746 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.319, allocations: 10.27 MB / 0.6846 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.3191, allocations: 0 / 0.6846 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3191, allocations: 0 / 0.6846 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003918/0.3195, allocations: 4 kB / 0.6846 GB, free: 5.633 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: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.01577/0.3353, allocations: 5.361 MB / 0.6898 GB, free: 208 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3353, allocations: 8.031 kB / 0.6898 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3305/0.6658, allocations: 0.9328 MB / 0.6907 GB, free: 90.35 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006889/0.6727, allocations: 2.985 MB / 0.6937 GB, free: 89.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003916/0.6732, allocations: 351.2 kB / 0.694 GB, free: 89.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.6751, allocations: 464.7 kB / 0.6944 GB, free: 89.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/0.694, allocations: 7.873 MB / 0.7021 GB, free: 88.17 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002468/0.6943, allocations: 20.89 kB / 0.7021 GB, free: 88.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001718/0.696, allocations: 212.9 kB / 0.7024 GB, free: 88.01 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007/0.6967, allocations: 365 kB / 0.7027 GB, free: 87.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.7105, allocations: 5.907 MB / 0.7085 GB, free: 85.85 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03633/0.7469, allocations: 25.69 MB / 0.7336 GB, free: 65.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.7501, allocations: 2.151 MB / 0.7357 GB, free: 64.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/0.752, allocations: 1.479 MB / 0.7371 GB, free: 63.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.7521, allocations: 17.31 kB / 0.7371 GB, free: 63.44 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.7522, allocations: 51.88 kB / 0.7372 GB, free: 63.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=157): time 4.258e-06/0.7522, allocations: 0 / 0.7372 GB, free: 63.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.01229/0.7645, allocations: 7.554 MB / 0.7445 GB, free: 55.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.7645, allocations: 69.66 kB / 0.7446 GB, free: 55.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.767, allocations: 1.856 MB / 0.7464 GB, free: 53.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.7671, allocations: 61.7 kB / 0.7465 GB, free: 53.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008758/0.768, allocations: 2.103 MB / 0.7485 GB, free: 51.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004021/0.7684, allocations: 0.5529 MB / 0.7491 GB, free: 50.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005548/0.769, allocations: 403.7 kB / 0.7495 GB, free: 50.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.7691, allocations: 309.1 kB / 0.7498 GB, free: 50.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.7703, allocations: 1.066 MB / 0.7508 GB, free: 49.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.7717, allocations: 1.764 MB / 0.7525 GB, free: 47 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003038/0.7748, allocations: 3.064 MB / 0.7555 GB, free: 43.63 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/0.7748, allocations: 11.75 kB / 0.7555 GB, free: 43.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005488/0.7803, allocations: 3.924 MB / 0.7594 GB, free: 39.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.7804, allocations: 17 kB / 0.7594 GB, free: 39.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/0.7804, allocations: 24 kB / 0.7594 GB, free: 39.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/0.7825, allocations: 0.9308 MB / 0.7603 GB, free: 38.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.7839, allocations: 431.3 kB / 0.7607 GB, free: 38.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.7989, allocations: 22.77 MB / 0.7829 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/0.8011, allocations: 119.9 kB / 0.7831 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003685/0.8015, allocations: 95.98 kB / 0.7832 GB, free: 13.58 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002723/0.8042, allocations: 1.646 MB / 0.7848 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006653/0.8049, allocations: 249.1 kB / 0.785 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/0.8097, allocations: 3.283 MB / 0.7882 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.8097, allocations: 19.94 kB / 0.7882 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.137e-05/0.8098, allocations: 8 kB / 0.7882 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.8098, allocations: 15.91 kB / 0.7882 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.8211, allocations: 7.592 MB / 0.7957 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.8211, allocations: 4 kB / 0.7957 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008497/0.822, allocations: 215.6 kB / 0.7959 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/0.8242, allocations: 0.8887 MB / 0.7967 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.8243, allocations: 35.94 kB / 0.7968 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/0.8447, allocations: 22.74 MB / 0.819 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.8447, allocations: 4 kB / 0.819 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005956/0.8507, allocations: 3.383 MB / 0.8223 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.8521, allocations: 0.5371 MB / 0.8228 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007487/0.8529, allocations: 35.98 kB / 0.8228 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/0.8547, allocations: 91.88 kB / 0.8229 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005849/0.8553, allocations: 137 kB / 0.8231 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/0.8554, allocations: 48 kB / 0.8231 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003006/0.8585, allocations: 1.225 MB / 0.8243 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8585, allocations: 0 / 0.8243 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004138/0.8626, allocations: 0.875 MB / 0.8252 GB, free: 0.5352 MB / 0.5606 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003892/0.863, allocations: 152 kB / 0.8253 GB, free: 384 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009229/0.8723, allocations: 5.238 MB / 0.8304 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.8723, allocations: 4 kB / 0.8304 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004406/0.8767, allocations: 2.991 MB / 0.8333 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004998/0.8817, allocations: 0.8213 MB / 0.8341 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.8995, allocations: 9.817 MB / 0.8437 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00465/0.9042, allocations: 3.208 MB / 0.8469 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002429/0.9067, allocations: 0.5449 MB / 0.8474 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.9072, allocations: 143.4 kB / 0.8475 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of SimCode: time 1.192e-06/0.9072, allocations: 0 / 0.8475 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of Templates: time 0.07732/0.9845, allocations: 42.89 MB / 0.8894 GB, free: 15.08 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)