Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.1921/0.1928, allocations: 82.22 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02729/0.2202, allocations: 22.25 MB / 0.6159 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.2348, allocations: 6.91 MB / 0.6226 GB, free: 8.301 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/0.2382, allocations: 75.56 kB / 0.6227 GB, free: 8.227 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.2405, allocations: 468.5 kB / 0.6231 GB, free: 7.766 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007616/0.2482, allocations: 1.849 MB / 0.6249 GB, free: 5.91 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004658/0.2529, allocations: 1.197 MB / 0.6261 GB, free: 4.715 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01369/0.2666, allocations: 10.49 MB / 0.6363 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01586/0.2825, allocations: 8.054 MB / 0.6442 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004894/0.2875, allocations: 2.039 MB / 0.6462 GB, free: 16 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006499/0.294, allocations: 3.24 MB / 0.6494 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001579/0.2956, allocations: 240 kB / 0.6496 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.2991, allocations: 1.057 MB / 0.6506 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003766/0.3029, allocations: 2.062 MB / 0.6526 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.005102/0.3081, allocations: 2.081 MB / 0.6547 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.321, allocations: 8.032 MB / 0.6625 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.3211, allocations: 0 / 0.6625 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.48e-06/0.3211, allocations: 0 / 0.6625 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004984/0.3216, allocations: 0 / 0.6625 GB, free: 15.25 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1044 * Number of variables: 1044 Notification: Performance of Generate backend data structure: time 0.01198/0.3336, allocations: 3.542 MB / 0.666 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.439e-05/0.3337, allocations: 8.031 kB / 0.666 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009894/0.3436, allocations: 1.661 MB / 0.6676 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007036/0.3507, allocations: 2.567 MB / 0.6701 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/0.3511, allocations: 279.6 kB / 0.6704 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001755/0.3528, allocations: 356.2 kB / 0.6707 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01599/0.3689, allocations: 7.466 MB / 0.678 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.393e-05/0.369, allocations: 7.938 kB / 0.678 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004484/0.3694, allocations: 155.9 kB / 0.6782 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005973/0.3701, allocations: 487.2 kB / 0.6786 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.3806, allocations: 5.685 MB / 0.6842 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3782/0.7588, allocations: 25.13 MB / 0.7087 GB, free: 75.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003304/0.7622, allocations: 2.299 MB / 0.711 GB, free: 75.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003476/0.7657, allocations: 2.338 MB / 0.7133 GB, free: 75.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.7659, allocations: 25.28 kB / 0.7133 GB, free: 75.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.766, allocations: 49.42 kB / 0.7133 GB, free: 75.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 5.09e-06/0.766, allocations: 0.5625 kB / 0.7133 GB, free: 75.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.3259/1.092, allocations: 72.91 MB / 0.7845 GB, free: 16.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/1.092, allocations: 77.41 kB / 0.7846 GB, free: 16.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/1.095, allocations: 1.67 MB / 0.7862 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006818/1.095, allocations: 65.7 kB / 0.7863 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/1.097, allocations: 1.733 MB / 0.788 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001447/1.098, allocations: 0.858 MB / 0.7888 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008241/1.099, allocations: 211 kB / 0.789 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/1.099, allocations: 301.1 kB / 0.7893 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004013/1.103, allocations: 2.902 MB / 0.7922 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004225/1.107, allocations: 3.515 MB / 0.7956 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008488/1.116, allocations: 6.795 MB / 0.8022 GB, free: 13.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/1.116, allocations: 8 kB / 0.8022 GB, free: 13.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03415/1.15, allocations: 14.68 MB / 0.8166 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/1.15, allocations: 12.19 kB / 0.8166 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/1.15, allocations: 24 kB / 0.8166 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03039/1.18, allocations: 8.902 MB / 0.8253 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.182, allocations: 303.5 kB / 0.8256 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08222/1.264, allocations: 50.03 MB / 0.8744 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/1.267, allocations: 191.8 kB / 0.8746 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004164/1.267, allocations: 99.98 kB / 0.8747 GB, free: 2.516 MB / 0.6075 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,60.4%), (19,19,58.4%), (12,18,50.0%), (12,18,50.0%), (12,10,53.5%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003032/1.27, allocations: 1.604 MB / 0.8763 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006684/1.271, allocations: 241.1 kB / 0.8765 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03483/1.306, allocations: 14.81 MB / 0.891 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/1.306, allocations: 24 kB / 0.891 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001499/1.306, allocations: 44 kB / 0.891 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-05/1.306, allocations: 11.95 kB / 0.8911 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05024/1.357, allocations: 21.02 MB / 0.9116 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.426e-05/1.357, allocations: 8.844 kB / 0.9116 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008973/1.358, allocations: 163.7 kB / 0.9117 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03025/1.388, allocations: 8.693 MB / 0.9202 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006418/1.389, allocations: 51.94 kB / 0.9203 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4779/1.866, allocations: 49.24 MB / 0.9684 GB, free: 226.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-05/1.866, allocations: 13.31 kB / 0.9684 GB, free: 226.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03658/1.903, allocations: 14.38 MB / 0.9824 GB, free: 224.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002742/1.906, allocations: 0.913 MB / 0.9833 GB, free: 224.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007823/1.907, allocations: 55.02 kB / 0.9834 GB, free: 224.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/1.909, allocations: 168.7 kB / 0.9835 GB, free: 224.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001602/1.911, allocations: 237.5 kB / 0.9838 GB, free: 224.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/1.911, allocations: 69.52 kB / 0.9838 GB, free: 224.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001626/1.913, allocations: 1.137 MB / 0.9849 GB, free: 224 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.032e-06/1.913, allocations: 0 / 0.9849 GB, free: 224 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005695/1.918, allocations: 1.607 MB / 0.9865 GB, free: 223.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,52.8%), (12,18,50.0%), (19,19,56.5%), (12,10,53.5%), (12,18,50.0%), (14,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005453/1.919, allocations: 162.3 kB / 0.9867 GB, free: 223.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02098/1.94, allocations: 10.74 MB / 0.9971 GB, free: 220.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.94, allocations: 0 / 0.9971 GB, free: 220.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01586/1.956, allocations: 7.181 MB / 1.004 GB, free: 215.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/1.96, allocations: 0.5116 MB / 1.005 GB, free: 215 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/1.976, allocations: 11 MB / 1.015 GB, free: 204 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003152/1.98, allocations: 3.25 MB / 1.019 GB, free: 200.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001332/1.981, allocations: 415.3 kB / 1.019 GB, free: 200.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/1.981, allocations: 99.42 kB / 1.019 GB, free: 200.2 MB / 0.6856 GB Notification: Performance of SimCode: time 1.713e-06/1.981, allocations: 4 kB / 1.019 GB, free: 200.2 MB / 0.6856 GB Notification: Performance of Templates: time 0.1214/2.103, allocations: 89.93 MB / 1.107 GB, free: 110.6 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: