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.2041/0.2062, allocations: 80.83 MB / 0.5897 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0212/0.2274, allocations: 19.71 MB / 0.6089 GB, free: 3.332 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2396, allocations: 6.738 MB / 0.6155 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003794/0.2435, allocations: 79.56 kB / 0.6156 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005816/0.2494, allocations: 2.078 MB / 0.6176 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.2536, allocations: 1.147 MB / 0.6188 GB, free: 9.262 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.2571, allocations: 1.154 MB / 0.6199 GB, free: 8.109 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007449/0.2646, allocations: 6.875 MB / 0.6266 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008568/0.2732, allocations: 6.14 MB / 0.6326 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003201/0.2764, allocations: 1.755 MB / 0.6343 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.2799, allocations: 2.395 MB / 0.6366 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005837/0.2805, allocations: 288 kB / 0.6369 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.2827, allocations: 1.03 MB / 0.6379 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.2843, allocations: 1.489 MB / 0.6394 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.2865, allocations: 1.707 MB / 0.641 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006168/0.2926, allocations: 6.31 MB / 0.6472 GB, free: 12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2927, allocations: 3.938 kB / 0.6472 GB, free: 12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2927, allocations: 0 / 0.6472 GB, free: 12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001212/0.2928, allocations: 0 / 0.6472 GB, free: 12 MB / 0.4981 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.007492/0.3003, allocations: 3.409 MB / 0.6505 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.3004, allocations: 8.031 kB / 0.6505 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003604/0.304, allocations: 0.6293 MB / 0.6512 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/0.3072, allocations: 1.932 MB / 0.653 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.3074, allocations: 218.2 kB / 0.6533 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/0.3078, allocations: 288.4 kB / 0.6535 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007706/0.3155, allocations: 4.845 MB / 0.6583 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.405e-05/0.3156, allocations: 11.84 kB / 0.6583 GB, free: 352 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/0.3159, allocations: 132 kB / 0.6584 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000428/0.3164, allocations: 233.6 kB / 0.6586 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005845/0.3222, allocations: 3.718 MB / 0.6623 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01725/0.3395, allocations: 15.04 MB / 0.6769 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.3413, allocations: 1.314 MB / 0.6782 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.3427, allocations: 1.049 MB / 0.6792 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.75e-05/0.3428, allocations: 9 kB / 0.6793 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.3429, allocations: 51.56 kB / 0.6793 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=107): time 2.805e-06/0.3429, allocations: 0 / 0.6793 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=138): time 0.02353/0.3664, allocations: 8.66 MB / 0.6878 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.3665, allocations: 64.72 kB / 0.6878 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.368, allocations: 1.13 MB / 0.6889 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.3682, allocations: 53.69 kB / 0.689 GB, free: 364 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.3692, allocations: 1.28 MB / 0.6902 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/0.3698, allocations: 477.1 kB / 0.6907 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006549/0.3705, allocations: 287.4 kB / 0.691 GB, free: 14.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3706, allocations: 309.1 kB / 0.6913 GB, free: 14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.3725, allocations: 0.9174 MB / 0.6921 GB, free: 13.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.3747, allocations: 1.33 MB / 0.6934 GB, free: 11.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004159/0.3789, allocations: 2.437 MB / 0.6958 GB, free: 8.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-05/0.3789, allocations: 7.984 kB / 0.6958 GB, free: 8.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.008671/0.3876, allocations: 3.476 MB / 0.6992 GB, free: 5.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.3877, allocations: 16.06 kB / 0.6992 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/0.3877, allocations: 12 kB / 0.6993 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004444/0.3922, allocations: 1.172 MB / 0.7004 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.3937, allocations: 259.5 kB / 0.7006 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4347/0.8284, allocations: 12.71 MB / 0.7131 GB, free: 100.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.8299, allocations: 86.2 kB / 0.7131 GB, free: 100.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.83, allocations: 61.67 kB / 0.7132 GB, free: 100.9 MB / 0.545 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.00217/0.8322, allocations: 1.122 MB / 0.7143 GB, free: 100.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003746/0.8326, allocations: 157.1 kB / 0.7144 GB, free: 100.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00614/0.8387, allocations: 3.182 MB / 0.7176 GB, free: 99.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.8388, allocations: 15.3 kB / 0.7176 GB, free: 99.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.8388, allocations: 13.59 kB / 0.7176 GB, free: 99.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.8388, allocations: 6.656 kB / 0.7176 GB, free: 99.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.8506, allocations: 6.275 MB / 0.7237 GB, free: 97.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.8507, allocations: 7.625 kB / 0.7237 GB, free: 97.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006498/0.8513, allocations: 154.1 kB / 0.7239 GB, free: 97.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/0.8545, allocations: 1.071 MB / 0.7249 GB, free: 97.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.8547, allocations: 34.67 kB / 0.725 GB, free: 97.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/0.8714, allocations: 12.41 MB / 0.7371 GB, free: 89.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.8715, allocations: 8.406 kB / 0.7371 GB, free: 89.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004999/0.8765, allocations: 3.167 MB / 0.7402 GB, free: 87.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008843/0.8774, allocations: 425.5 kB / 0.7406 GB, free: 87.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.8776, allocations: 27.91 kB / 0.7406 GB, free: 87.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007149/0.8783, allocations: 84.2 kB / 0.7407 GB, free: 87.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004407/0.8788, allocations: 127.6 kB / 0.7408 GB, free: 87.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/0.8789, allocations: 35.53 kB / 0.7408 GB, free: 87.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001007/0.8799, allocations: 0.7689 MB / 0.7416 GB, free: 86.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8799, allocations: 0 / 0.7416 GB, free: 86.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00247/0.8824, allocations: 0.6408 MB / 0.7422 GB, free: 86.87 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 (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.0002996/0.8827, allocations: 136.1 kB / 0.7423 GB, free: 86.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00459/0.8873, allocations: 3.132 MB / 0.7454 GB, free: 84.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8873, allocations: 0.75 kB / 0.7454 GB, free: 84.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002676/0.89, allocations: 1.956 MB / 0.7473 GB, free: 83.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.8924, allocations: 481 kB / 0.7478 GB, free: 83.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00913/0.9015, allocations: 6.792 MB / 0.7544 GB, free: 77.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/0.9035, allocations: 2.336 MB / 0.7567 GB, free: 75.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001164/0.9047, allocations: 365.2 kB / 0.757 GB, free: 74.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.9049, allocations: 87.42 kB / 0.7571 GB, free: 74.66 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/0.9049, allocations: 0 / 0.7571 GB, free: 74.66 MB / 0.545 GB Notification: Performance of Templates: time 0.04649/0.9514, allocations: 31.55 MB / 0.7879 GB, free: 43.62 MB / 0.545 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)