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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [/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.4675/0.4707, allocations: 80.81 MB / 0.5904 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02376/0.4945, allocations: 26.17 MB / 0.616 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.5114, allocations: 8.481 MB / 0.6243 GB, free: 4.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003656/0.5152, allocations: 119.4 kB / 0.6244 GB, free: 3.953 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007702/0.5229, allocations: 2.754 MB / 0.6271 GB, free: 1.191 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006032/0.529, allocations: 1.652 MB / 0.6287 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00586/0.5349, allocations: 1.653 MB / 0.6303 GB, free: 13.88 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00932/0.5442, allocations: 6.01 MB / 0.6362 GB, free: 7.859 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01185/0.5561, allocations: 7.392 MB / 0.6434 GB, free: 368 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005076/0.5613, allocations: 2.535 MB / 0.6459 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006375/0.5677, allocations: 2.843 MB / 0.6486 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001988/0.5697, allocations: 0.5078 MB / 0.6491 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004743/0.5745, allocations: 1.275 MB / 0.6504 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004045/0.5785, allocations: 1.996 MB / 0.6523 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005977/0.5846, allocations: 2.314 MB / 0.6546 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.5965, allocations: 7.864 MB / 0.6623 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5965, allocations: 4 kB / 0.6623 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5965, allocations: 3.938 kB / 0.6623 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002964/0.5968, allocations: 0 / 0.6623 GB, free: 12.96 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01301/0.6098, allocations: 4.181 MB / 0.6664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 9.231e-05/0.61, allocations: 8.031 kB / 0.6664 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005133/0.6151, allocations: 0.7806 MB / 0.6671 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005413/0.6205, allocations: 2.413 MB / 0.6695 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.6208, allocations: 271.5 kB / 0.6697 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/0.6225, allocations: 376.5 kB / 0.6701 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.6372, allocations: 5.935 MB / 0.6759 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000206/0.6375, allocations: 23.86 kB / 0.6759 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.6386, allocations: 156 kB / 0.6761 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006944/0.6393, allocations: 274.8 kB / 0.6763 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.6495, allocations: 4.488 MB / 0.6807 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03423/0.6838, allocations: 20.06 MB / 0.7003 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.6858, allocations: 1.119 MB / 0.7014 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.6873, allocations: 1.021 MB / 0.7024 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.604e-05/0.6874, allocations: 13 kB / 0.7024 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.794e-05/0.6875, allocations: 47.56 kB / 0.7024 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 3.317e-06/0.6875, allocations: 3.938 kB / 0.7024 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.02507/0.7125, allocations: 9.663 MB / 0.7119 GB, free: 8.867 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.7126, allocations: 72.72 kB / 0.712 GB, free: 8.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.7154, allocations: 1.494 MB / 0.7134 GB, free: 7.293 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.7156, allocations: 45.7 kB / 0.7135 GB, free: 7.242 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.717, allocations: 1.64 MB / 0.7151 GB, free: 5.578 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/0.7175, allocations: 473.2 kB / 0.7155 GB, free: 5.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005895/0.7181, allocations: 327.2 kB / 0.7158 GB, free: 4.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.7182, allocations: 309 kB / 0.7161 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.7195, allocations: 0.9174 MB / 0.717 GB, free: 3.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.7215, allocations: 1.467 MB / 0.7184 GB, free: 1.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/0.7251, allocations: 2.57 MB / 0.721 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.7251, allocations: 4 kB / 0.721 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006275/0.7314, allocations: 3.294 MB / 0.7242 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.7314, allocations: 12 kB / 0.7242 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.7315, allocations: 24.09 kB / 0.7242 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.7337, allocations: 0.7451 MB / 0.7249 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.7353, allocations: 387.4 kB / 0.7253 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/0.7537, allocations: 17.05 MB / 0.742 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.7561, allocations: 99.84 kB / 0.742 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004507/0.7566, allocations: 76 kB / 0.7421 GB, free: 8.035 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003163/0.7598, allocations: 1.305 MB / 0.7434 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007728/0.7605, allocations: 197.7 kB / 0.7436 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005832/0.7664, allocations: 2.804 MB / 0.7463 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.7664, allocations: 15.94 kB / 0.7463 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.766e-05/0.7665, allocations: 8 kB / 0.7463 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.7665, allocations: 11.91 kB / 0.7464 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3772/1.144, allocations: 6.244 MB / 0.7525 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.144, allocations: 3.969 kB / 0.7525 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/1.145, allocations: 234.6 kB / 0.7527 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/1.147, allocations: 0.6718 MB / 0.7533 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.147, allocations: 40.89 kB / 0.7534 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/1.163, allocations: 16.79 MB / 0.7698 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.431e-05/1.163, allocations: 9.688 kB / 0.7698 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00602/1.169, allocations: 4.021 MB / 0.7737 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.17, allocations: 453.6 kB / 0.7741 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/1.17, allocations: 43.42 kB / 0.7742 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008836/1.171, allocations: 77.27 kB / 0.7743 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/1.172, allocations: 119.7 kB / 0.7744 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-05/1.172, allocations: 39.47 kB / 0.7744 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001283/1.173, allocations: 0.9927 MB / 0.7754 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.173, allocations: 0 / 0.7754 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002383/1.175, allocations: 0.6649 MB / 0.776 GB, free: 123.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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 Backend phase and start with SimCode phase: time 0.0002226/1.176, allocations: 150 kB / 0.7762 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005363/1.181, allocations: 4.126 MB / 0.7802 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.181, allocations: 9.5 kB / 0.7802 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002494/1.184, allocations: 2.298 MB / 0.7824 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.186, allocations: 0.6761 MB / 0.7831 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008864/1.195, allocations: 6.601 MB / 0.7896 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/1.197, allocations: 2.664 MB / 0.7922 GB, free: 113 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001405/1.198, allocations: 0.5013 MB / 0.7926 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/1.199, allocations: 115.4 kB / 0.7928 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/1.199, allocations: 0 / 0.7928 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.04732/1.246, allocations: 33.44 MB / 0.8254 GB, free: 79.48 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)