Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [/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.2292/0.2316, allocations: 80.84 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01348/0.2451, allocations: 9.895 MB / 0.6803 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006964/0.2521, allocations: 3.225 MB / 0.6835 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.2534, allocations: 39.81 kB / 0.6835 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.2554, allocations: 0.6803 MB / 0.6842 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.2578, allocations: 0.7469 MB / 0.6849 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.2597, allocations: 0.6304 MB / 0.6855 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003543/0.2633, allocations: 2.688 MB / 0.6881 GB, free: 28 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003235/0.2665, allocations: 2.523 MB / 0.6906 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.2691, allocations: 1.126 MB / 0.6917 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/0.2717, allocations: 1.391 MB / 0.6931 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003548/0.2721, allocations: 220 kB / 0.6933 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.2735, allocations: 487.3 kB / 0.6937 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.2747, allocations: 0.9629 MB / 0.6947 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.276, allocations: 0.9841 MB / 0.6956 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004345/0.2803, allocations: 3.377 MB / 0.6989 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2804, allocations: 0 / 0.6989 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2804, allocations: 0 / 0.6989 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.658e-05/0.2805, allocations: 0 / 0.6989 GB, free: 4.902 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: 416 * Number of variables: 416 Notification: Performance of Generate backend data structure: time 0.005341/0.2858, allocations: 1.928 MB / 0.7008 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.096e-05/0.2859, allocations: 16.03 kB / 0.7008 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005717/0.2916, allocations: 0.8765 MB / 0.7017 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.2945, allocations: 1.165 MB / 0.7028 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.2946, allocations: 103.3 kB / 0.7029 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003624/0.295, allocations: 152.3 kB / 0.7031 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005598/0.3006, allocations: 3.005 MB / 0.706 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.3006, allocations: 7.938 kB / 0.706 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.3008, allocations: 59.98 kB / 0.7061 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/0.3011, allocations: 171 kB / 0.7062 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004226/0.3053, allocations: 2.604 MB / 0.7088 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/0.3222, allocations: 10.66 MB / 0.7192 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.3244, allocations: 1.338 MB / 0.7205 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.3259, allocations: 1.079 MB / 0.7215 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.142e-05/0.326, allocations: 12.59 kB / 0.7216 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.3261, allocations: 39.22 kB / 0.7216 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.056e-06/0.3261, allocations: 0 / 0.7216 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=139): time 0.06911/0.3952, allocations: 19.73 MB / 0.7409 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.3953, allocations: 64.72 kB / 0.7409 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.3972, allocations: 0.9106 MB / 0.7418 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002916/0.3975, allocations: 49.7 kB / 0.7419 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006809/0.3982, allocations: 0.7321 MB / 0.7426 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000639/0.3988, allocations: 481.1 kB / 0.743 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006782/0.3995, allocations: 295.3 kB / 0.7433 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.3997, allocations: 353.9 kB / 0.7436 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.4018, allocations: 1.401 MB / 0.745 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.4041, allocations: 1.714 MB / 0.7467 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5528/0.957, allocations: 3.222 MB / 0.7498 GB, free: 71.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.957, allocations: 3.125 kB / 0.7498 GB, free: 71.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01595/0.973, allocations: 5.828 MB / 0.7555 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.9731, allocations: 8.25 kB / 0.7555 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.625e-05/0.9732, allocations: 8.781 kB / 0.7555 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/0.9838, allocations: 2.804 MB / 0.7583 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.9849, allocations: 192.4 kB / 0.7585 GB, free: 69.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03753/1.022, allocations: 26.8 MB / 0.7846 GB, free: 54.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.024, allocations: 101.7 kB / 0.7847 GB, free: 54.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/1.024, allocations: 58.27 kB / 0.7848 GB, free: 54.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (10,20,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001328/1.026, allocations: 0.7362 MB / 0.7855 GB, free: 53.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/1.026, allocations: 109.4 kB / 0.7856 GB, free: 53.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009527/1.035, allocations: 5.616 MB / 0.7911 GB, free: 50.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/1.036, allocations: 11.69 kB / 0.7911 GB, free: 50.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.494e-05/1.036, allocations: 26.47 kB / 0.7911 GB, free: 50.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/1.036, allocations: 3.984 kB / 0.7911 GB, free: 50.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/1.049, allocations: 9.077 MB / 0.8 GB, free: 43.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.049, allocations: 11.89 kB / 0.8 GB, free: 43.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/1.05, allocations: 119.8 kB / 0.8001 GB, free: 43.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007448/1.057, allocations: 2.661 MB / 0.8027 GB, free: 40.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002762/1.058, allocations: 29.64 kB / 0.8028 GB, free: 40.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02729/1.085, allocations: 25.2 MB / 0.8274 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.085, allocations: 7.938 kB / 0.8274 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009352/1.094, allocations: 5.451 MB / 0.8327 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009687/1.095, allocations: 0.5071 MB / 0.8332 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.096, allocations: 27.98 kB / 0.8332 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/1.096, allocations: 87.89 kB / 0.8333 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005961/1.097, allocations: 125 kB / 0.8334 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/1.097, allocations: 36 kB / 0.8335 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007941/1.098, allocations: 0.6473 MB / 0.8341 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.098, allocations: 0 / 0.8341 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00279/1.101, allocations: 0.707 MB / 0.8348 GB, free: 7.43 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002579/1.101, allocations: 140.9 kB / 0.8349 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006911/1.108, allocations: 4.543 MB / 0.8394 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.108, allocations: 0 / 0.8394 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004588/1.113, allocations: 2.836 MB / 0.8421 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/1.114, allocations: 227.9 kB / 0.8423 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007761/1.122, allocations: 4.308 MB / 0.8465 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/1.124, allocations: 1.711 MB / 0.8482 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008707/1.125, allocations: 333 kB / 0.8485 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/1.125, allocations: 63.42 kB / 0.8486 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of SimCode: time 1.773e-06/1.125, allocations: 4 kB / 0.8486 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of Templates: time 0.06761/1.192, allocations: 40.86 MB / 0.8885 GB, free: 404 kB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)