Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6696/0.6696, allocations: 132.3 MB / 144.9 MB, free: 10.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009962/0.000996, allocations: 170.6 kB / 176.9 MB, free: 2.285 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.138/1.138, allocations: 170.5 MB / 379.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001538/0.001539, allocations: 106 kB / 450 MB, free: 5.84 MB / 346.7 MB [/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.3784/0.3785, allocations: 73.38 MB / 0.6736 GB, free: 47.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.5473, allocations: 154.9 MB / 0.8249 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.5477, allocations: 99.92 kB / 0.825 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4434/0.9911, allocations: 62.86 MB / 0.8864 GB, free: 130.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9911, allocations: 0 / 0.8864 GB, free: 130.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.239e-05/0.9912, allocations: 37.39 kB / 0.8864 GB, free: 130.2 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.002397/0.9936, allocations: 1.545 MB / 0.8879 GB, free: 129.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.9936, allocations: 17.17 kB / 0.8879 GB, free: 129.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.9959, allocations: 491.7 kB / 0.8884 GB, free: 129.4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.9976, allocations: 1.139 MB / 0.8895 GB, free: 129.1 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.89e-05/0.9977, allocations: 115.8 kB / 0.8896 GB, free: 129.1 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.9979, allocations: 150.7 kB / 0.8898 GB, free: 129.1 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003502/1.001, allocations: 2.413 MB / 0.8921 GB, free: 128.9 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/1.001, allocations: 7.359 kB / 0.8921 GB, free: 128.9 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/1.002, allocations: 61.52 kB / 0.8922 GB, free: 128.9 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.472e-05/1.002, allocations: 89.81 kB / 0.8923 GB, free: 128.9 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/1.005, allocations: 1.961 MB / 0.8942 GB, free: 128.9 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0095/1.014, allocations: 8.216 MB / 0.9022 GB, free: 126.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000887/1.015, allocations: 0.5633 MB / 0.9028 GB, free: 126.1 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/1.016, allocations: 377.4 kB / 0.9031 GB, free: 126.1 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-05/1.016, allocations: 98.14 kB / 0.9032 GB, free: 126 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/1.016, allocations: 44.75 kB / 0.9033 GB, free: 125.9 MB / 0.573 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/1.016, allocations: 0 / 0.9033 GB, free: 125.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=52): time 0.01267/1.028, allocations: 4.785 MB / 0.9079 GB, free: 125.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/1.028, allocations: 83.11 kB / 0.908 GB, free: 125.5 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009437/1.029, allocations: 0.8039 MB / 0.9088 GB, free: 125.3 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/1.029, allocations: 35.02 kB / 0.9088 GB, free: 125.3 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/1.03, allocations: 0.7511 MB / 0.9096 GB, free: 124.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/1.03, allocations: 185.5 kB / 0.9097 GB, free: 124.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/1.03, allocations: 18.41 kB / 0.9098 GB, free: 124.7 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.03, allocations: 388.6 kB / 0.9101 GB, free: 124.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007627/1.031, allocations: 0.5984 MB / 0.9107 GB, free: 124.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000828/1.032, allocations: 0.9616 MB / 0.9116 GB, free: 123.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008704/1.033, allocations: 0.7848 MB / 0.9124 GB, free: 123.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/1.033, allocations: 2.688 kB / 0.9124 GB, free: 123.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005553/1.038, allocations: 2.787 MB / 0.9151 GB, free: 122.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007958/1.039, allocations: 4.523 MB / 0.9196 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/1.039, allocations: 17.58 kB / 0.9196 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004552/1.044, allocations: 1.427 MB / 0.921 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/1.044, allocations: 220.8 kB / 0.9212 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006826/1.051, allocations: 6.815 MB / 0.9278 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/1.053, allocations: 168 kB / 0.928 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/1.053, allocations: 40.23 kB / 0.928 GB, free: 112.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/1.053, allocations: 2.844 kB / 0.928 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004793/1.057, allocations: 2.254 MB / 0.9302 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/1.057, allocations: 15.41 kB / 0.9302 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003043/1.061, allocations: 0.8623 MB / 0.9311 GB, free: 111.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/1.061, allocations: 256.4 kB / 0.9313 GB, free: 111.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005599/1.067, allocations: 5.382 MB / 0.9366 GB, free: 108.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.068, allocations: 128 kB / 0.9367 GB, free: 108.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-05/1.068, allocations: 43.72 kB / 0.9368 GB, free: 108.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.000294/1.068, allocations: 172.9 kB / 0.9369 GB, free: 108.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/1.069, allocations: 76.41 kB / 0.937 GB, free: 108.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0051/1.074, allocations: 2.325 MB / 0.9393 GB, free: 107.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/1.074, allocations: 5.781 kB / 0.9393 GB, free: 107.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.074, allocations: 1.094 kB / 0.9393 GB, free: 107.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/1.074, allocations: 4.812 kB / 0.9393 GB, free: 107.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007907/1.082, allocations: 4.185 MB / 0.9434 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.082, allocations: 6.406 kB / 0.9434 GB, free: 105.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/1.082, allocations: 98.5 kB / 0.9435 GB, free: 105.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004374/1.087, allocations: 1.365 MB / 0.9448 GB, free: 105.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/1.087, allocations: 12.66 kB / 0.9448 GB, free: 105.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008883/1.095, allocations: 9.48 MB / 0.9541 GB, free: 98.98 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.095, allocations: 6.422 kB / 0.9541 GB, free: 98.97 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005038/1.101, allocations: 2.379 MB / 0.9564 GB, free: 98.07 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/1.101, allocations: 292.3 kB / 0.9567 GB, free: 97.87 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/1.101, allocations: 13.59 kB / 0.9567 GB, free: 97.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/1.102, allocations: 119 kB / 0.9568 GB, free: 97.86 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/1.102, allocations: 55.41 kB / 0.9568 GB, free: 97.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/1.102, allocations: 11.31 kB / 0.9569 GB, free: 97.84 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007911/1.103, allocations: 0.6326 MB / 0.9575 GB, free: 97.58 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.103, allocations: 0 / 0.9575 GB, free: 97.58 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001932/1.105, allocations: 0.5864 MB / 0.9581 GB, free: 97.53 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002736/1.105, allocations: 178.9 kB / 0.9582 GB, free: 97.41 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004007/1.109, allocations: 2.96 MB / 0.9611 GB, free: 96.14 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.109, allocations: 8 kB / 0.9611 GB, free: 96.14 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/1.111, allocations: 1.236 MB / 0.9623 GB, free: 95.44 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/1.111, allocations: 213 kB / 0.9625 GB, free: 95.38 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/1.115, allocations: 2.452 MB / 0.9649 GB, free: 94.45 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009664/1.116, allocations: 1.639 MB / 0.9665 GB, free: 93.54 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001286/1.117, allocations: 0.6196 MB / 0.9671 GB, free: 93.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/1.117, allocations: 48.5 kB / 0.9672 GB, free: 93.49 MB / 0.573 GB Notification: Performance of SimCode: time 7.42e-07/1.117, allocations: 2.5 kB / 0.9672 GB, free: 93.49 MB / 0.573 GB Notification: Performance of Templates: time 0.02585/1.143, allocations: 22.82 MB / 0.9895 GB, free: 89.91 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)