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.191/0.1929, allocations: 80.84 MB / 0.5897 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02338/0.2163, allocations: 22.91 MB / 0.6121 GB, free: 120 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.2279, allocations: 6.972 MB / 0.6189 GB, free: 9.121 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.2305, allocations: 91.5 kB / 0.619 GB, free: 9.031 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003956/0.2345, allocations: 1.345 MB / 0.6203 GB, free: 7.684 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00583/0.2404, allocations: 1.852 MB / 0.6221 GB, free: 5.824 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.2441, allocations: 1.328 MB / 0.6234 GB, free: 4.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01017/0.2543, allocations: 10.5 MB / 0.6336 GB, free: 9.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/0.2647, allocations: 7.598 MB / 0.6411 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/0.2688, allocations: 2.378 MB / 0.6434 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006143/0.275, allocations: 3.665 MB / 0.647 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001112/0.2761, allocations: 380 kB / 0.6473 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.2794, allocations: 1.19 MB / 0.6485 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002689/0.2821, allocations: 2.257 MB / 0.6507 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003458/0.2856, allocations: 2.298 MB / 0.6529 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009091/0.2947, allocations: 8.292 MB / 0.661 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.2947, allocations: 4 kB / 0.661 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2947, allocations: 0 / 0.661 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002232/0.2949, allocations: 0 / 0.661 GB, free: 13.78 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.009229/0.3042, allocations: 4.388 MB / 0.6653 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.3042, allocations: 16.02 kB / 0.6653 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008464/0.3127, allocations: 1.661 MB / 0.667 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005396/0.3182, allocations: 2.567 MB / 0.6695 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.3185, allocations: 275.6 kB / 0.6697 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001628/0.3201, allocations: 356.3 kB / 0.6701 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/0.3326, allocations: 7.462 MB / 0.6774 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.033e-05/0.3327, allocations: 19.78 kB / 0.6774 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000457/0.3332, allocations: 159.9 kB / 0.6775 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006015/0.3338, allocations: 487.2 kB / 0.678 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.3444, allocations: 5.669 MB / 0.6835 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4168/0.7612, allocations: 25.2 MB / 0.7081 GB, free: 76.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/0.7644, allocations: 2.295 MB / 0.7104 GB, free: 76.15 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/0.7679, allocations: 2.354 MB / 0.7127 GB, free: 75.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.7681, allocations: 23.5 kB / 0.7127 GB, free: 75.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.7681, allocations: 45.28 kB / 0.7127 GB, free: 75.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.917e-06/0.7681, allocations: 1.125 kB / 0.7127 GB, free: 75.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.2573/1.025, allocations: 74.7 MB / 0.7857 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/1.026, allocations: 77.41 kB / 0.7858 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/1.028, allocations: 1.674 MB / 0.7874 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005122/1.028, allocations: 65.7 kB / 0.7875 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008289/1.029, allocations: 1.735 MB / 0.7892 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008894/1.03, allocations: 0.8496 MB / 0.79 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/1.031, allocations: 0.4895 MB / 0.7905 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.701e-05/1.031, allocations: 301.1 kB / 0.7908 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003335/1.035, allocations: 2.902 MB / 0.7936 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/1.038, allocations: 3.511 MB / 0.797 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008876/1.047, allocations: 6.795 MB / 0.8037 GB, free: 10.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.731e-05/1.047, allocations: 4 kB / 0.8037 GB, free: 10.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03289/1.08, allocations: 14.68 MB / 0.818 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.164e-05/1.08, allocations: 16 kB / 0.818 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-05/1.08, allocations: 20.09 kB / 0.818 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03025/1.111, allocations: 8.908 MB / 0.8267 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.112, allocations: 307.5 kB / 0.827 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08291/1.195, allocations: 50.32 MB / 0.8762 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003585/1.199, allocations: 191.3 kB / 0.8763 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009638/1.2, allocations: 96 kB / 0.8764 GB, free: 15.19 MB / 0.6231 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.004573/1.204, allocations: 1.61 MB / 0.878 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.205, allocations: 241.1 kB / 0.8782 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03508/1.24, allocations: 14.81 MB / 0.8927 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.89e-05/1.241, allocations: 24 kB / 0.8927 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000201/1.241, allocations: 44 kB / 0.8928 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.612e-05/1.241, allocations: 11.95 kB / 0.8928 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04872/1.29, allocations: 21.02 MB / 0.9133 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.442e-05/1.29, allocations: 8 kB / 0.9133 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000874/1.291, allocations: 167.7 kB / 0.9135 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02985/1.32, allocations: 8.689 MB / 0.922 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007965/1.321, allocations: 51.98 kB / 0.922 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.465/1.786, allocations: 49.5 MB / 0.9703 GB, free: 226.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-05/1.786, allocations: 7.688 kB / 0.9704 GB, free: 226.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03091/1.817, allocations: 14.39 MB / 0.9844 GB, free: 224 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/1.819, allocations: 0.903 MB / 0.9853 GB, free: 223.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009793/1.82, allocations: 57.02 kB / 0.9853 GB, free: 223.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/1.823, allocations: 170.7 kB / 0.9855 GB, free: 223.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001626/1.824, allocations: 236.2 kB / 0.9857 GB, free: 223.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003035/1.825, allocations: 67.38 kB / 0.9858 GB, free: 223.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001666/1.826, allocations: 1.131 MB / 0.9869 GB, free: 223.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.01e-07/1.826, allocations: 6.75 kB / 0.9869 GB, free: 223.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004988/1.831, allocations: 1.609 MB / 0.9885 GB, free: 223 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.0004646/1.832, allocations: 156.3 kB / 0.9886 GB, free: 222.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01917/1.851, allocations: 10.9 MB / 0.9993 GB, free: 218.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.851, allocations: 3.938 kB / 0.9993 GB, free: 218.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01567/1.867, allocations: 7.303 MB / 1.006 GB, free: 212.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004441/1.871, allocations: 0.5123 MB / 1.007 GB, free: 211.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/1.889, allocations: 11.01 MB / 1.018 GB, free: 200.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004308/1.894, allocations: 3.25 MB / 1.021 GB, free: 197.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001317/1.895, allocations: 417.7 kB / 1.021 GB, free: 196.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/1.895, allocations: 95.44 kB / 1.021 GB, free: 196.8 MB / 0.6856 GB Notification: Performance of SimCode: time 9.42e-07/1.895, allocations: 0 / 1.021 GB, free: 196.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.116/2.011, allocations: 93.59 MB / 1.113 GB, free: 103.5 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (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)