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.1993/0.2001, allocations: 82.22 MB / 0.5941 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03409/0.2342, allocations: 30.82 MB / 0.6242 GB, free: 6.641 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01862/0.2529, allocations: 10.75 MB / 0.6347 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003066/0.256, allocations: 127.2 kB / 0.6348 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.2586, allocations: 0.6279 MB / 0.6354 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006498/0.2651, allocations: 1.809 MB / 0.6372 GB, free: 9.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006264/0.2714, allocations: 1.741 MB / 0.6389 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01173/0.2832, allocations: 10.38 MB / 0.649 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02167/0.3049, allocations: 12.04 MB / 0.6608 GB, free: 1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005266/0.3102, allocations: 2.19 MB / 0.663 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005648/0.3159, allocations: 2.993 MB / 0.6659 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.3173, allocations: 260 kB / 0.6661 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.3216, allocations: 1.696 MB / 0.6678 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0034/0.3251, allocations: 1.98 MB / 0.6697 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00463/0.3297, allocations: 2.248 MB / 0.6719 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.342, allocations: 9.461 MB / 0.6811 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3421, allocations: 4 kB / 0.6811 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3421, allocations: 0 / 0.6811 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002995/0.3424, allocations: 0 / 0.6811 GB, free: 12.1 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: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.008743/0.3511, allocations: 3.948 MB / 0.685 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3512, allocations: 8.031 kB / 0.685 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005444/0.3567, allocations: 0.9201 MB / 0.6859 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005384/0.3621, allocations: 2.839 MB / 0.6887 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.3623, allocations: 349.5 kB / 0.689 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009825/0.3633, allocations: 456.2 kB / 0.6895 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3576/0.721, allocations: 7.572 MB / 0.6968 GB, free: 86.44 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001553/0.7212, allocations: 35.78 kB / 0.6969 GB, free: 86.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000472/0.7217, allocations: 192.3 kB / 0.6971 GB, free: 86.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003163/0.722, allocations: 312.6 kB / 0.6974 GB, free: 86.42 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.7335, allocations: 5.647 MB / 0.7029 GB, free: 86.06 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03606/0.7696, allocations: 24.5 MB / 0.7268 GB, free: 68.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/0.7724, allocations: 2.162 MB / 0.7289 GB, free: 66.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.7741, allocations: 1.263 MB / 0.7301 GB, free: 66.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.7742, allocations: 18.11 kB / 0.7302 GB, free: 66.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.7743, allocations: 52.88 kB / 0.7302 GB, free: 66.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 3.767e-06/0.7743, allocations: 0.8125 kB / 0.7302 GB, free: 66.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136): time 0.01378/0.7881, allocations: 7.112 MB / 0.7372 GB, free: 61.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.7882, allocations: 64.59 kB / 0.7372 GB, free: 61.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.7904, allocations: 1.489 MB / 0.7387 GB, free: 60.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.7906, allocations: 46.14 kB / 0.7387 GB, free: 60.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009602/0.7915, allocations: 1.972 MB / 0.7406 GB, free: 58.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.7919, allocations: 480.2 kB / 0.7411 GB, free: 58.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.7921, allocations: 150.3 kB / 0.7412 GB, free: 58.31 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.7922, allocations: 305.1 kB / 0.7415 GB, free: 58.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.7933, allocations: 0.9191 MB / 0.7424 GB, free: 57.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.7947, allocations: 1.597 MB / 0.744 GB, free: 56.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.7976, allocations: 2.753 MB / 0.7467 GB, free: 54.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/0.7977, allocations: 3.594 kB / 0.7467 GB, free: 54.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005559/0.8032, allocations: 3.542 MB / 0.7501 GB, free: 50.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.8033, allocations: 16 kB / 0.7502 GB, free: 50.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/0.8033, allocations: 20 kB / 0.7502 GB, free: 50.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/0.8058, allocations: 0.8948 MB / 0.7511 GB, free: 49.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.8069, allocations: 351.3 kB / 0.7514 GB, free: 49.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/0.8225, allocations: 21.24 MB / 0.7721 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.8242, allocations: 104 kB / 0.7722 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.8245, allocations: 87.98 kB / 0.7723 GB, free: 26.46 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 (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.002529/0.8271, allocations: 1.595 MB / 0.7739 GB, free: 24.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/0.8275, allocations: 201.6 kB / 0.7741 GB, free: 24.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004978/0.8325, allocations: 3.022 MB / 0.777 GB, free: 21.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.8325, allocations: 16 kB / 0.777 GB, free: 21.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.849e-05/0.8325, allocations: 8.281 kB / 0.777 GB, free: 21.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.8326, allocations: 3.984 kB / 0.777 GB, free: 21.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.8439, allocations: 7.048 MB / 0.7839 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.8439, allocations: 4.062 kB / 0.7839 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007647/0.8447, allocations: 183.7 kB / 0.7841 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/0.847, allocations: 0.8218 MB / 0.7849 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.8471, allocations: 28 kB / 0.7849 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/0.8639, allocations: 20.32 MB / 0.8048 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/0.864, allocations: 7.938 kB / 0.8048 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005579/0.8695, allocations: 3.031 MB / 0.8077 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/0.8705, allocations: 466.4 kB / 0.8082 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/0.8708, allocations: 31.98 kB / 0.8082 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009593/0.8718, allocations: 71.92 kB / 0.8083 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/0.8722, allocations: 124.7 kB / 0.8084 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.258e-05/0.8723, allocations: 36 kB / 0.8084 GB, free: 3.508 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001447/0.8737, allocations: 0.9717 MB / 0.8094 GB, free: 2.512 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8737, allocations: 0 / 0.8094 GB, free: 2.512 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0029/0.8766, allocations: 0.7578 MB / 0.8101 GB, free: 1.754 MB / 0.545 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.0002756/0.8769, allocations: 147 kB / 0.8103 GB, free: 1.598 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00696/0.8839, allocations: 4.04 MB / 0.8142 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.8839, allocations: 0 / 0.8142 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003945/0.8879, allocations: 2.75 MB / 0.8169 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004489/0.8924, allocations: 0.6703 MB / 0.8176 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.9071, allocations: 9.201 MB / 0.8265 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004174/0.9113, allocations: 3.1 MB / 0.8296 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001579/0.9129, allocations: 466 kB / 0.83 GB, free: 13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.9132, allocations: 111.4 kB / 0.8301 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/0.9132, allocations: 7.938 kB / 0.8301 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.06089/0.9741, allocations: 33.83 MB / 0.8632 GB, free: 11.49 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: