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_RL_N.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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [/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.2144/0.2165, allocations: 80.83 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02472/0.2413, allocations: 19.86 MB / 0.69 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.2542, allocations: 6.73 MB / 0.6966 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.257, allocations: 91.56 kB / 0.6967 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006175/0.2632, allocations: 2.231 MB / 0.6989 GB, free: 5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004526/0.2677, allocations: 1.221 MB / 0.7001 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.272, allocations: 1.269 MB / 0.7013 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007543/0.2795, allocations: 4.741 MB / 0.7059 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01018/0.2897, allocations: 5.575 MB / 0.7114 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004671/0.2945, allocations: 2.06 MB / 0.7134 GB, free: 6.035 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006675/0.3012, allocations: 2.337 MB / 0.7157 GB, free: 3.691 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002383/0.3036, allocations: 428 kB / 0.7161 GB, free: 3.273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004735/0.3084, allocations: 0.9947 MB / 0.7171 GB, free: 2.277 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003968/0.3124, allocations: 1.618 MB / 0.7186 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006314/0.3188, allocations: 1.856 MB / 0.7205 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.3304, allocations: 6.419 MB / 0.7267 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.3305, allocations: 0 / 0.7267 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.228e-06/0.3305, allocations: 0 / 0.7267 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003403/0.3308, allocations: 0 / 0.7267 GB, free: 8.355 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 784 * Number of variables: 784 Notification: Performance of Generate backend data structure: time 0.01229/0.3431, allocations: 3.416 MB / 0.7301 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3432, allocations: 11.97 kB / 0.7301 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/0.3471, allocations: 0.6293 MB / 0.7307 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004776/0.3519, allocations: 2.021 MB / 0.7327 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.3521, allocations: 222.2 kB / 0.7329 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000632/0.3527, allocations: 296.2 kB / 0.7332 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.3633, allocations: 4.845 MB / 0.7379 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.3635, allocations: 15.92 kB / 0.7379 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00037/0.3639, allocations: 124 kB / 0.738 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004983/0.3644, allocations: 229.6 kB / 0.7382 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008101/0.3725, allocations: 3.722 MB / 0.7419 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.521/0.8936, allocations: 14.87 MB / 0.7564 GB, free: 61.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.8956, allocations: 1.303 MB / 0.7577 GB, free: 61.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.8972, allocations: 1.061 MB / 0.7587 GB, free: 61.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.278e-05/0.8973, allocations: 15.28 kB / 0.7587 GB, free: 61.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.8973, allocations: 49.78 kB / 0.7588 GB, free: 60.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=107): time 3.176e-06/0.8973, allocations: 0 / 0.7588 GB, free: 60.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138): time 0.02823/0.9256, allocations: 8.664 MB / 0.7672 GB, free: 58.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.9257, allocations: 65.97 kB / 0.7673 GB, free: 58.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.9277, allocations: 1.131 MB / 0.7684 GB, free: 58.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.9279, allocations: 47.55 kB / 0.7684 GB, free: 58.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008958/0.9288, allocations: 1.282 MB / 0.7697 GB, free: 57.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005138/0.9293, allocations: 480.4 kB / 0.7701 GB, free: 57.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004884/0.9298, allocations: 292.2 kB / 0.7704 GB, free: 56.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.9299, allocations: 301.6 kB / 0.7707 GB, free: 56.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.9314, allocations: 0.9204 MB / 0.7716 GB, free: 56.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.9331, allocations: 1.324 MB / 0.7729 GB, free: 55.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003339/0.9365, allocations: 2.444 MB / 0.7753 GB, free: 54.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/0.9365, allocations: 4.344 kB / 0.7753 GB, free: 54.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006888/0.9434, allocations: 3.475 MB / 0.7787 GB, free: 52.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.9435, allocations: 10.12 kB / 0.7787 GB, free: 52.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/0.9435, allocations: 13.22 kB / 0.7787 GB, free: 52.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003374/0.9469, allocations: 1.189 MB / 0.7799 GB, free: 52.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.948, allocations: 262.9 kB / 0.7801 GB, free: 52.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/0.9652, allocations: 13.83 MB / 0.7936 GB, free: 42.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.9671, allocations: 87.47 kB / 0.7937 GB, free: 42.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.9672, allocations: 65.84 kB / 0.7938 GB, free: 42.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001904/0.9692, allocations: 1.117 MB / 0.7949 GB, free: 41.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/0.9695, allocations: 161.5 kB / 0.795 GB, free: 41.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005094/0.9746, allocations: 3.181 MB / 0.7981 GB, free: 39.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.9747, allocations: 11.81 kB / 0.7981 GB, free: 39.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/0.9747, allocations: 11.88 kB / 0.7981 GB, free: 39.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.9747, allocations: 15.05 kB / 0.7982 GB, free: 39.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.9856, allocations: 6.277 MB / 0.8043 GB, free: 35.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.9856, allocations: 4 kB / 0.8043 GB, free: 35.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.9862, allocations: 143.8 kB / 0.8044 GB, free: 35.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/0.9888, allocations: 1.067 MB / 0.8055 GB, free: 34.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.989, allocations: 28 kB / 0.8055 GB, free: 34.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/1.003, allocations: 13.54 MB / 0.8187 GB, free: 20.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.003, allocations: 7.938 kB / 0.8187 GB, free: 20.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/1.008, allocations: 3.158 MB / 0.8218 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009544/1.009, allocations: 431.9 kB / 0.8222 GB, free: 17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/1.009, allocations: 34.72 kB / 0.8223 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000791/1.01, allocations: 83.47 kB / 0.8223 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003695/1.01, allocations: 124.7 kB / 0.8225 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/1.01, allocations: 40 kB / 0.8225 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008873/1.011, allocations: 0.7709 MB / 0.8232 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.011, allocations: 0 / 0.8232 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002326/1.013, allocations: 0.6406 MB / 0.8239 GB, free: 15.32 MB / 0.5762 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002268/1.014, allocations: 143.1 kB / 0.824 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004253/1.018, allocations: 3.153 MB / 0.8271 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.018, allocations: 4 kB / 0.8271 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/1.021, allocations: 1.965 MB / 0.829 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.023, allocations: 0.5009 MB / 0.8295 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008303/1.031, allocations: 5.426 MB / 0.8348 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/1.033, allocations: 2.339 MB / 0.8371 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001019/1.034, allocations: 362.1 kB / 0.8374 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/1.034, allocations: 87.44 kB / 0.8375 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of SimCode: time 1.222e-06/1.034, allocations: 0 / 0.8375 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of Templates: time 0.06105/1.095, allocations: 33.12 MB / 0.8699 GB, free: 496 kB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)