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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [/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.1893/0.1913, allocations: 80.83 MB / 0.6706 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.4819/0.6732, allocations: 31.87 MB / 0.7018 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01754/0.6908, allocations: 10.85 MB / 0.7124 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005293/0.6962, allocations: 149.3 kB / 0.7125 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.7065, allocations: 3.708 MB / 0.7161 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008716/0.7152, allocations: 1.931 MB / 0.718 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008407/0.7237, allocations: 2.108 MB / 0.7201 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0158/0.7395, allocations: 7.112 MB / 0.727 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0152/0.7547, allocations: 9.396 MB / 0.7362 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007703/0.7625, allocations: 3.128 MB / 0.7392 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008206/0.7707, allocations: 3.492 MB / 0.7427 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001901/0.7726, allocations: 0.638 MB / 0.7433 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00553/0.7782, allocations: 1.763 MB / 0.745 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0042/0.7824, allocations: 2.466 MB / 0.7474 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006956/0.7894, allocations: 2.788 MB / 0.7501 GB, free: 3.293 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.8042, allocations: 9.907 MB / 0.7598 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.8043, allocations: 0 / 0.7598 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8043, allocations: 0 / 0.7598 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003196/0.8046, allocations: 0 / 0.7598 GB, free: 9.508 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.0129/0.8175, allocations: 4.918 MB / 0.7646 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.8176, allocations: 12.03 kB / 0.7646 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005149/0.8227, allocations: 0.9278 MB / 0.7655 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006227/0.829, allocations: 3.018 MB / 0.7685 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/0.8293, allocations: 333.5 kB / 0.7688 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009967/0.8303, allocations: 464.1 kB / 0.7692 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.8438, allocations: 7.581 MB / 0.7766 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/0.844, allocations: 27.77 kB / 0.7767 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004915/0.8445, allocations: 196 kB / 0.7769 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003249/0.8448, allocations: 308.7 kB / 0.7771 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.8549, allocations: 5.651 MB / 0.7827 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03687/0.8918, allocations: 24.19 MB / 0.8063 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002883/0.8948, allocations: 2.157 MB / 0.8084 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.8965, allocations: 1.265 MB / 0.8096 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.12e-05/0.8966, allocations: 17.31 kB / 0.8096 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.8966, allocations: 43.88 kB / 0.8097 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=133): time 2.686e-06/0.8966, allocations: 0 / 0.8097 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=136): time 0.0138/0.9104, allocations: 7.089 MB / 0.8166 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.9105, allocations: 64.72 kB / 0.8167 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/0.9129, allocations: 1.484 MB / 0.8181 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-05/0.913, allocations: 45.7 kB / 0.8182 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.9142, allocations: 1.973 MB / 0.8201 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/0.9147, allocations: 477.2 kB / 0.8205 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005029/0.9152, allocations: 343.2 kB / 0.8209 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.9153, allocations: 309.1 kB / 0.8212 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.9166, allocations: 0.9174 MB / 0.8221 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.9183, allocations: 1.605 MB / 0.8236 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.9216, allocations: 2.753 MB / 0.8263 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/0.9216, allocations: 8 kB / 0.8263 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006128/0.9277, allocations: 3.534 MB / 0.8298 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.9278, allocations: 16 kB / 0.8298 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/0.9278, allocations: 28.11 kB / 0.8298 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002624/0.9305, allocations: 0.8921 MB / 0.8307 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.9317, allocations: 351.3 kB / 0.831 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02309/0.9549, allocations: 23.1 MB / 0.8536 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/0.9575, allocations: 108 kB / 0.8537 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006785/0.9582, allocations: 92 kB / 0.8538 GB, free: 5.219 MB / 0.6544 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.004396/0.9626, allocations: 1.612 MB / 0.8554 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007263/0.9634, allocations: 201.6 kB / 0.8555 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006136/0.9695, allocations: 2.998 MB / 0.8585 GB, free: 360 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.9696, allocations: 16 kB / 0.8585 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.575e-05/0.9696, allocations: 8 kB / 0.8585 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.9696, allocations: 11.91 kB / 0.8585 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.984, allocations: 7.045 MB / 0.8654 GB, free: 9.102 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.9841, allocations: 7.938 kB / 0.8654 GB, free: 9.094 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/0.9849, allocations: 179.7 kB / 0.8656 GB, free: 8.918 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/0.9874, allocations: 0.8223 MB / 0.8664 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.9875, allocations: 24 kB / 0.8664 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/1.008, allocations: 21.93 MB / 0.8878 GB, free: 432 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/1.008, allocations: 8 kB / 0.8878 GB, free: 424 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006532/1.014, allocations: 3.041 MB / 0.8908 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.016, allocations: 458.5 kB / 0.8912 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005341/1.016, allocations: 36.05 kB / 0.8913 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.017, allocations: 67.92 kB / 0.8913 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004939/1.018, allocations: 128.8 kB / 0.8914 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.018, allocations: 36 kB / 0.8915 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001918/1.02, allocations: 0.9795 MB / 0.8924 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.7e-07/1.02, allocations: 0 / 0.8924 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00356/1.024, allocations: 0.7578 MB / 0.8932 GB, free: 10.77 MB / 0.7012 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003089/1.024, allocations: 147 kB / 0.8933 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006107/1.03, allocations: 4.039 MB / 0.8973 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.03, allocations: 4 kB / 0.8973 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003936/1.034, allocations: 2.741 MB / 0.8999 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/1.038, allocations: 0.7298 MB / 0.9007 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.054, allocations: 7.193 MB / 0.9077 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00577/1.06, allocations: 3.096 MB / 0.9107 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001819/1.062, allocations: 465.9 kB / 0.9111 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/1.063, allocations: 119.4 kB / 0.9113 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of SimCode: time 1.703e-06/1.063, allocations: 4 kB / 0.9113 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of Templates: time 0.07472/1.137, allocations: 35.94 MB / 0.9464 GB, free: 4.27 MB / 0.7481 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)