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.1812/0.1846, allocations: 80.84 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02392/0.2085, allocations: 19.86 MB / 0.69 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01367/0.2223, allocations: 6.73 MB / 0.6966 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.2252, allocations: 87.56 kB / 0.6967 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005961/0.2312, allocations: 2.238 MB / 0.6989 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004371/0.2355, allocations: 1.221 MB / 0.7001 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/0.2393, allocations: 1.277 MB / 0.7013 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00658/0.2459, allocations: 4.733 MB / 0.7059 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007661/0.2536, allocations: 5.56 MB / 0.7114 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/0.258, allocations: 2.103 MB / 0.7134 GB, free: 6.012 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005053/0.2631, allocations: 2.344 MB / 0.7157 GB, free: 3.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001289/0.2644, allocations: 428 kB / 0.7161 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.2676, allocations: 0.9947 MB / 0.7171 GB, free: 2.246 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002128/0.2697, allocations: 1.618 MB / 0.7187 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003194/0.2729, allocations: 1.848 MB / 0.7205 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008924/0.2819, allocations: 6.415 MB / 0.7267 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.2819, allocations: 7.875 kB / 0.7268 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.647e-06/0.2819, allocations: 0 / 0.7268 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001962/0.2821, allocations: 0 / 0.7268 GB, free: 8.328 MB / 0.5606 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.009799/0.2919, allocations: 3.424 MB / 0.7301 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.292, allocations: 12.03 kB / 0.7301 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003633/0.2957, allocations: 0.6215 MB / 0.7307 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/0.3002, allocations: 2.029 MB / 0.7327 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.3004, allocations: 218.2 kB / 0.7329 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006499/0.3011, allocations: 292.2 kB / 0.7332 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008585/0.3097, allocations: 4.849 MB / 0.7379 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.904e-05/0.3098, allocations: 19.91 kB / 0.7379 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.3102, allocations: 124 kB / 0.7381 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000551/0.3107, allocations: 225.6 kB / 0.7383 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007583/0.3183, allocations: 3.719 MB / 0.7419 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5031/0.8215, allocations: 14.87 MB / 0.7564 GB, free: 61.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.8237, allocations: 1.309 MB / 0.7577 GB, free: 61.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.8253, allocations: 1.055 MB / 0.7587 GB, free: 61.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.8254, allocations: 12.25 kB / 0.7587 GB, free: 61.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.8255, allocations: 44.94 kB / 0.7588 GB, free: 61.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=107): time 3.507e-06/0.8255, allocations: 1.781 kB / 0.7588 GB, free: 61.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138): time 0.02861/0.8541, allocations: 8.666 MB / 0.7673 GB, free: 59.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.8542, allocations: 66.55 kB / 0.7673 GB, free: 59.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/0.8563, allocations: 1.135 MB / 0.7684 GB, free: 59.06 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.8566, allocations: 47.36 kB / 0.7685 GB, free: 59.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.8577, allocations: 1.277 MB / 0.7697 GB, free: 58.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00067/0.8584, allocations: 475.3 kB / 0.7702 GB, free: 57.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005885/0.859, allocations: 295 kB / 0.7704 GB, free: 57.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.8591, allocations: 305.1 kB / 0.7707 GB, free: 57.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.8608, allocations: 0.9185 MB / 0.7716 GB, free: 56.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.8625, allocations: 1.332 MB / 0.7729 GB, free: 56.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003622/0.8661, allocations: 2.441 MB / 0.7753 GB, free: 54.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.8661, allocations: 7.312 kB / 0.7753 GB, free: 54.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007504/0.8736, allocations: 3.47 MB / 0.7787 GB, free: 53.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.8737, allocations: 10.16 kB / 0.7787 GB, free: 53.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/0.8738, allocations: 20.47 kB / 0.7787 GB, free: 53.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003545/0.8773, allocations: 1.184 MB / 0.7799 GB, free: 52.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.8783, allocations: 257.5 kB / 0.7801 GB, free: 52.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/0.8938, allocations: 13.83 MB / 0.7937 GB, free: 43.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.8955, allocations: 93.66 kB / 0.7937 GB, free: 43.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.8957, allocations: 63.84 kB / 0.7938 GB, free: 43.09 MB / 0.5762 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.001853/0.8975, allocations: 1.113 MB / 0.7949 GB, free: 42.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.8978, allocations: 163.6 kB / 0.7951 GB, free: 42.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/0.9026, allocations: 3.179 MB / 0.7982 GB, free: 40.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.9026, allocations: 15.77 kB / 0.7982 GB, free: 40.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.9027, allocations: 15.81 kB / 0.7982 GB, free: 40.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.9027, allocations: 7.453 kB / 0.7982 GB, free: 40.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009731/0.9124, allocations: 6.281 MB / 0.8043 GB, free: 36.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.9125, allocations: 4 kB / 0.8043 GB, free: 36.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.913, allocations: 152.6 kB / 0.8045 GB, free: 36.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/0.9155, allocations: 1.064 MB / 0.8055 GB, free: 35.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.359e-05/0.9156, allocations: 32 kB / 0.8055 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/0.9288, allocations: 13.53 MB / 0.8188 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.9288, allocations: 4 kB / 0.8188 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004792/0.9336, allocations: 3.162 MB / 0.8218 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.9349, allocations: 427 kB / 0.8223 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.9351, allocations: 28 kB / 0.8223 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008181/0.9359, allocations: 83.89 kB / 0.8224 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/0.9364, allocations: 127.7 kB / 0.8225 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.001e-05/0.9365, allocations: 39.94 kB / 0.8225 GB, free: 17.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000901/0.9374, allocations: 0.7671 MB / 0.8233 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9374, allocations: 4 kB / 0.8233 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002163/0.9395, allocations: 0.6443 MB / 0.8239 GB, free: 15.94 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 (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.0002225/0.9398, allocations: 143 kB / 0.824 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004265/0.944, allocations: 3.164 MB / 0.8271 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.9441, allocations: 0 / 0.8271 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002466/0.9465, allocations: 1.954 MB / 0.829 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.9488, allocations: 0.4922 MB / 0.8295 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008644/0.9574, allocations: 5.438 MB / 0.8348 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/0.9594, allocations: 2.347 MB / 0.8371 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001225/0.9606, allocations: 358.1 kB / 0.8375 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.9608, allocations: 91.42 kB / 0.8376 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.9608, allocations: 0 / 0.8376 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of Templates: time 0.06298/1.024, allocations: 33.66 MB / 0.8704 GB, free: 0.5742 MB / 0.6075 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)