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.1636/0.1655, allocations: 80.84 MB / 0.5897 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03562/0.2011, allocations: 31.59 MB / 0.6205 GB, free: 7.441 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01712/0.2184, allocations: 10.85 MB / 0.6311 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003285/0.2217, allocations: 135.2 kB / 0.6313 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008646/0.2303, allocations: 3.471 MB / 0.6347 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007355/0.2377, allocations: 1.813 MB / 0.6364 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007832/0.2456, allocations: 1.92 MB / 0.6383 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01367/0.2593, allocations: 10.38 MB / 0.6484 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01547/0.2748, allocations: 10.59 MB / 0.6588 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005402/0.2802, allocations: 2.662 MB / 0.6614 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006254/0.2865, allocations: 3.563 MB / 0.6649 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000994/0.2875, allocations: 448 kB / 0.6653 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004113/0.2917, allocations: 1.88 MB / 0.6671 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002464/0.2941, allocations: 2.269 MB / 0.6693 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004207/0.2984, allocations: 2.578 MB / 0.6719 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.3096, allocations: 9.78 MB / 0.6814 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3097, allocations: 0 / 0.6814 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3097, allocations: 0 / 0.6814 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002664/0.3099, allocations: 4 kB / 0.6814 GB, free: 8.863 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.0129/0.3229, allocations: 4.904 MB / 0.6862 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3229, allocations: 8.031 kB / 0.6862 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005631/0.3286, allocations: 0.924 MB / 0.6871 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005374/0.334, allocations: 2.843 MB / 0.6899 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3782/0.7122, allocations: 341 kB / 0.6902 GB, free: 90.46 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002172/0.7144, allocations: 449.8 kB / 0.6906 GB, free: 90.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.7306, allocations: 7.575 MB / 0.698 GB, free: 89.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000148/0.7308, allocations: 35.17 kB / 0.6981 GB, free: 89.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005254/0.7313, allocations: 194.3 kB / 0.6983 GB, free: 89.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004103/0.7317, allocations: 308.3 kB / 0.6986 GB, free: 89.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/0.7445, allocations: 5.657 MB / 0.7041 GB, free: 87.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03199/0.7765, allocations: 24.45 MB / 0.728 GB, free: 69.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.7788, allocations: 2.152 MB / 0.7301 GB, free: 68.01 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.7801, allocations: 1.267 MB / 0.7313 GB, free: 67.33 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/0.7802, allocations: 13.19 kB / 0.7313 GB, free: 67.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.7802, allocations: 43.84 kB / 0.7314 GB, free: 67.28 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 3.566e-06/0.7802, allocations: 0 / 0.7314 GB, free: 67.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136): time 0.01274/0.793, allocations: 7.09 MB / 0.7383 GB, free: 62.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.7931, allocations: 68.72 kB / 0.7383 GB, free: 62.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.7949, allocations: 1.489 MB / 0.7398 GB, free: 60.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.795, allocations: 45.7 kB / 0.7398 GB, free: 60.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007636/0.7958, allocations: 1.968 MB / 0.7418 GB, free: 58.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.7961, allocations: 484.6 kB / 0.7422 GB, free: 58.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/0.7965, allocations: 347.1 kB / 0.7426 GB, free: 57.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.7966, allocations: 301.1 kB / 0.7428 GB, free: 57.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.7976, allocations: 0.919 MB / 0.7437 GB, free: 56.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.799, allocations: 1.605 MB / 0.7453 GB, free: 54.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/0.8014, allocations: 2.749 MB / 0.748 GB, free: 51.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.8014, allocations: 4 kB / 0.748 GB, free: 51.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004937/0.8064, allocations: 3.538 MB / 0.7515 GB, free: 47.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.8064, allocations: 16 kB / 0.7515 GB, free: 47.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.8064, allocations: 20 kB / 0.7515 GB, free: 47.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/0.8087, allocations: 0.9042 MB / 0.7524 GB, free: 46.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.8098, allocations: 355.4 kB / 0.7527 GB, free: 46.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.8237, allocations: 21.2 MB / 0.7734 GB, free: 23.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.8253, allocations: 108 kB / 0.7735 GB, free: 23.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.8255, allocations: 88 kB / 0.7736 GB, free: 23.61 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.002319/0.8278, allocations: 1.603 MB / 0.7752 GB, free: 22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.8281, allocations: 209.6 kB / 0.7754 GB, free: 21.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.8323, allocations: 3.005 MB / 0.7783 GB, free: 18.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.8324, allocations: 24 kB / 0.7783 GB, free: 18.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.8324, allocations: 8 kB / 0.7783 GB, free: 18.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.8324, allocations: 7.969 kB / 0.7783 GB, free: 18.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009652/0.8421, allocations: 7.054 MB / 0.7852 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.8421, allocations: 4 kB / 0.7852 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/0.8428, allocations: 171.7 kB / 0.7854 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/0.845, allocations: 0.8184 MB / 0.7862 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.8451, allocations: 31.94 kB / 0.7862 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/0.8634, allocations: 20.3 MB / 0.8061 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.8634, allocations: 4 kB / 0.8061 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/0.8691, allocations: 3.043 MB / 0.809 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.8704, allocations: 454.5 kB / 0.8095 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/0.8707, allocations: 28 kB / 0.8095 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008049/0.8715, allocations: 67.91 kB / 0.8096 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004667/0.872, allocations: 128.7 kB / 0.8097 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/0.872, allocations: 36 kB / 0.8097 GB, free: 0.668 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001508/0.8736, allocations: 0.9756 MB / 0.8107 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8736, allocations: 0 / 0.8107 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003116/0.8767, allocations: 0.7578 MB / 0.8114 GB, free: 14.91 MB / 0.5606 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.0002846/0.877, allocations: 143.6 kB / 0.8115 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00597/0.883, allocations: 4.027 MB / 0.8155 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.883, allocations: 0 / 0.8155 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00375/0.8868, allocations: 2.74 MB / 0.8181 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/0.89, allocations: 0.6714 MB / 0.8188 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.9043, allocations: 9.194 MB / 0.8278 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003126/0.9075, allocations: 3.107 MB / 0.8308 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00159/0.9091, allocations: 465.9 kB / 0.8313 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.9094, allocations: 115.4 kB / 0.8314 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.9094, allocations: 0 / 0.8314 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of Templates: time 0.06386/0.9733, allocations: 34.41 MB / 0.865 GB, free: 8.094 MB / 0.6075 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)