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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7775/0.7775, allocations: 132.4 MB / 139.7 MB, free: 15.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.001369/0.001369, allocations: 167 kB / 171.6 MB, free: 1.98 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.705/1.705, allocations: 170.5 MB / 373.9 MB, free: 15.79 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.001799/0.001799, allocations: 121.6 kB / 444.5 MB, free: 9.324 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.4881/0.4881, allocations: 73.4 MB / 0.666 GB, free: 62.47 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.682, allocations: 155 MB / 0.8174 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.6824, allocations: 100.4 kB / 0.8175 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.2262/0.9086, allocations: 64.64 MB / 0.8806 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001324/0.9088, allocations: 39.98 kB / 0.8807 GB, free: 11.73 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00581/0.9146, allocations: 1.659 MB / 0.8823 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.9147, allocations: 8.031 kB / 0.8823 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005746/0.9204, allocations: 0.5482 MB / 0.8828 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004686/0.9251, allocations: 1.234 MB / 0.8841 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.9253, allocations: 56 kB / 0.8841 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000626/0.9259, allocations: 95.91 kB / 0.8842 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006383/0.9323, allocations: 1.994 MB / 0.8861 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006778/0.9391, allocations: 2.423 MB / 0.8885 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.007e-05/0.9392, allocations: 4 kB / 0.8885 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.9395, allocations: 0 / 0.8885 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.9397, allocations: 95.16 kB / 0.8886 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3509/1.291, allocations: 8.033 MB / 0.8964 GB, free: 220 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/1.292, allocations: 0.7061 MB / 0.8971 GB, free: 220 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006331/1.292, allocations: 0.5286 MB / 0.8977 GB, free: 219.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/1.292, allocations: 95.97 kB / 0.8977 GB, free: 219.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/1.292, allocations: 38.03 kB / 0.8978 GB, free: 219.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=46): time 2.224e-06/1.292, allocations: 0 / 0.8978 GB, free: 219.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72): time 0.01038/1.303, allocations: 4.225 MB / 0.9019 GB, free: 219.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/1.303, allocations: 88.52 kB / 0.902 GB, free: 219.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.304, allocations: 0.7711 MB / 0.9027 GB, free: 219.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.304, allocations: 25.7 kB / 0.9028 GB, free: 219.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/1.305, allocations: 0.6909 MB / 0.9034 GB, free: 218.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/1.305, allocations: 243.6 kB / 0.9037 GB, free: 218.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/1.305, allocations: 0 / 0.9037 GB, free: 218.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.305, allocations: 395.2 kB / 0.9041 GB, free: 218.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009377/1.306, allocations: 0.7831 MB / 0.9048 GB, free: 218.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.307, allocations: 1.143 MB / 0.9059 GB, free: 218.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/1.309, allocations: 1.111 MB / 0.907 GB, free: 218 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.309, allocations: 3.906 kB / 0.907 GB, free: 218 MB / 0.5886 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006922/1.316, allocations: 3.16 MB / 0.9101 GB, free: 217.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008221/1.316, allocations: 4.265 MB / 0.9143 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.316, allocations: 10.69 kB / 0.9143 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005045/1.321, allocations: 1.266 MB / 0.9155 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009462/1.322, allocations: 207.2 kB / 0.9157 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009468/1.332, allocations: 6.755 MB / 0.9223 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/1.334, allocations: 127.7 kB / 0.9224 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/1.334, allocations: 54.81 kB / 0.9225 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.334, allocations: 4.656 kB / 0.9225 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002489/1.336, allocations: 1.735 MB / 0.9242 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.336, allocations: 13.75 kB / 0.9242 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.336, allocations: 17.66 kB / 0.9242 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.337, allocations: 306.7 kB / 0.9245 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/1.337, allocations: 26.61 kB / 0.9245 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009661/1.338, allocations: 90.91 kB / 0.9246 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.092e-05/1.339, allocations: 42.31 kB / 0.9247 GB, free: 211.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003251/1.339, allocations: 142.5 kB / 0.9248 GB, free: 211.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/1.339, allocations: 82.84 kB / 0.9249 GB, free: 211.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006939/1.346, allocations: 2.909 MB / 0.9277 GB, free: 211.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/1.346, allocations: 11.56 kB / 0.9277 GB, free: 211.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.346, allocations: 6.469 kB / 0.9277 GB, free: 211.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.346, allocations: 7.312 kB / 0.9277 GB, free: 211.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.357, allocations: 5.15 MB / 0.9328 GB, free: 210.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.357, allocations: 0 / 0.9328 GB, free: 210.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/1.357, allocations: 105.8 kB / 0.9329 GB, free: 210.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005438/1.363, allocations: 1.474 MB / 0.9343 GB, free: 210.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.363, allocations: 4.625 kB / 0.9343 GB, free: 210.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/1.374, allocations: 8.737 MB / 0.9429 GB, free: 207.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.374, allocations: 3.188 kB / 0.9429 GB, free: 207.5 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006462/1.381, allocations: 2.885 MB / 0.9457 GB, free: 206.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007639/1.382, allocations: 330.3 kB / 0.946 GB, free: 206.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/1.382, allocations: 6.75 kB / 0.946 GB, free: 206.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.383, allocations: 110 kB / 0.9461 GB, free: 206.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/1.383, allocations: 51.34 kB / 0.9461 GB, free: 206.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-05/1.383, allocations: 22.41 kB / 0.9462 GB, free: 206.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0007968/1.384, allocations: 0.5993 MB / 0.9468 GB, free: 205.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002814/1.387, allocations: 0.5921 MB / 0.9473 GB, free: 205.9 MB / 0.5886 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 (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004986/1.387, allocations: 168.4 kB / 0.9475 GB, free: 205.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005772/1.393, allocations: 2.921 MB / 0.9503 GB, free: 204.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.393, allocations: 5.031 kB / 0.9503 GB, free: 204.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002761/1.396, allocations: 1.237 MB / 0.9516 GB, free: 204.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.397, allocations: 196.8 kB / 0.9517 GB, free: 204.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007892/1.405, allocations: 2.952 MB / 0.9546 GB, free: 203.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/1.407, allocations: 1.787 MB / 0.9564 GB, free: 202.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.413e-06/1.407, allocations: 0 / 0.9564 GB, free: 202.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.04641/1.454, allocations: 28.25 MB / 0.984 GB, free: 188.6 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)