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_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.2064/0.2073, allocations: 82.21 MB / 0.5941 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03786/0.2452, allocations: 32.87 MB / 0.6262 GB, free: 4.625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02398/0.2693, allocations: 11.98 MB / 0.6379 GB, free: 8.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004635/0.274, allocations: 135.2 kB / 0.6381 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.277, allocations: 0.69 MB / 0.6387 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007069/0.2841, allocations: 1.934 MB / 0.6406 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006431/0.2906, allocations: 1.971 MB / 0.6425 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01425/0.3049, allocations: 12.17 MB / 0.6544 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02646/0.3314, allocations: 14.3 MB / 0.6684 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006334/0.3377, allocations: 2.563 MB / 0.6709 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006924/0.3447, allocations: 3.562 MB / 0.6744 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001962/0.3467, allocations: 324 kB / 0.6747 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005992/0.3527, allocations: 1.907 MB / 0.6765 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.005089/0.3578, allocations: 2.381 MB / 0.6789 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.007022/0.3649, allocations: 2.617 MB / 0.6814 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.3825, allocations: 11.19 MB / 0.6924 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.3826, allocations: 4 kB / 0.6924 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.386e-06/0.3826, allocations: 3.938 kB / 0.6924 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004525/0.383, allocations: 0 / 0.6924 GB, free: 0.6406 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: 1452 * Number of variables: 1452 Notification: Performance of Generate backend data structure: time 0.3733/0.7563, allocations: 4.565 MB / 0.6968 GB, free: 89.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.7564, allocations: 11.25 kB / 0.6968 GB, free: 89.11 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007384/0.7638, allocations: 1.036 MB / 0.6978 GB, free: 88.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007254/0.7711, allocations: 3.225 MB / 0.701 GB, free: 88.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/0.7715, allocations: 408 kB / 0.7014 GB, free: 88.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001873/0.7734, allocations: 0.529 MB / 0.7019 GB, free: 88 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/0.796, allocations: 8.973 MB / 0.7107 GB, free: 85.49 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002971/0.7963, allocations: 29.25 kB / 0.7107 GB, free: 85.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001471/0.7978, allocations: 234.2 kB / 0.7109 GB, free: 85.31 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005346/0.7984, allocations: 343 kB / 0.7112 GB, free: 85.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01688/0.8153, allocations: 6.756 MB / 0.7178 GB, free: 81.82 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0431/0.8584, allocations: 27.29 MB / 0.7445 GB, free: 58.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/0.8616, allocations: 3.104 MB / 0.7475 GB, free: 55.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/0.8638, allocations: 1.955 MB / 0.7494 GB, free: 53.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.838e-05/0.8639, allocations: 22 kB / 0.7494 GB, free: 53.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.8639, allocations: 56.5 kB / 0.7495 GB, free: 53.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=179): time 4.318e-06/0.8639, allocations: 0 / 0.7495 GB, free: 53.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.02634/0.8903, allocations: 10.02 MB / 0.7593 GB, free: 42.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/0.8904, allocations: 77.39 kB / 0.7594 GB, free: 42.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/0.8938, allocations: 1.526 MB / 0.7609 GB, free: 41.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002701/0.8941, allocations: 61.64 kB / 0.7609 GB, free: 41.24 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001435/0.8955, allocations: 2.204 MB / 0.7631 GB, free: 39.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00093/0.8965, allocations: 0.6343 MB / 0.7637 GB, free: 38.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004789/0.897, allocations: 178.2 kB / 0.7639 GB, free: 38.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8971, allocations: 305.1 kB / 0.7641 GB, free: 37.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.899, allocations: 1.183 MB / 0.7653 GB, free: 36.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/0.9014, allocations: 1.893 MB / 0.7672 GB, free: 34.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/0.9057, allocations: 3.383 MB / 0.7705 GB, free: 30.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.9057, allocations: 8 kB / 0.7705 GB, free: 30.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007765/0.9135, allocations: 4.581 MB / 0.7749 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.9136, allocations: 12 kB / 0.7749 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.604e-05/0.9136, allocations: 24 kB / 0.775 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003502/0.9171, allocations: 1.52 MB / 0.7765 GB, free: 24.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.9184, allocations: 351.4 kB / 0.7768 GB, free: 24.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/0.9372, allocations: 17.05 MB / 0.7934 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.9395, allocations: 123.8 kB / 0.7936 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.9396, allocations: 96 kB / 0.7937 GB, free: 6.504 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002943/0.9426, allocations: 1.891 MB / 0.7955 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/0.943, allocations: 217.4 kB / 0.7957 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006046/0.9491, allocations: 4.11 MB / 0.7997 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.9491, allocations: 20 kB / 0.7997 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/0.9492, allocations: 16 kB / 0.7998 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.9492, allocations: 11.97 kB / 0.7998 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/0.9647, allocations: 9.07 MB / 0.8086 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.9647, allocations: 4.562 kB / 0.8086 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008213/0.9656, allocations: 179.7 kB / 0.8088 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00337/0.9689, allocations: 1.353 MB / 0.8101 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.9691, allocations: 32 kB / 0.8101 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02055/0.9896, allocations: 15.97 MB / 0.8257 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.9897, allocations: 12.44 kB / 0.8258 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007072/0.9968, allocations: 4.081 MB / 0.8297 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.9982, allocations: 0.5372 MB / 0.8303 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.9985, allocations: 39.94 kB / 0.8303 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009701/0.9995, allocations: 91.89 kB / 0.8304 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005598/1, allocations: 161.7 kB / 0.8305 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1, allocations: 51.94 kB / 0.8306 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001406/1.002, allocations: 1.005 MB / 0.8316 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.002, allocations: 0 / 0.8316 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003384/1.005, allocations: 0.9414 MB / 0.8325 GB, free: 13.9 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 (85): * Single equations (assignments): 81 * 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,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003125/1.005, allocations: 147.1 kB / 0.8326 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006976/1.012, allocations: 4.291 MB / 0.8368 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.012, allocations: 4 kB / 0.8368 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004444/1.017, allocations: 2.698 MB / 0.8395 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004535/1.021, allocations: 0.7206 MB / 0.8402 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/1.038, allocations: 11.04 MB / 0.8509 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004035/1.042, allocations: 3.563 MB / 0.8544 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001598/1.044, allocations: 483.8 kB / 0.8549 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/1.044, allocations: 119.4 kB / 0.855 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/1.044, allocations: 0 / 0.855 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of Templates: time 0.07183/1.116, allocations: 41.45 MB / 0.8955 GB, free: 13.69 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) Environment - environmentSimulation: