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_RLC_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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.1944/0.1963, allocations: 80.83 MB / 0.6706 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.5599/0.7563, allocations: 40.39 MB / 0.7101 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03478/0.7911, allocations: 15.53 MB / 0.7253 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009828/0.801, allocations: 191.7 kB / 0.7254 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01849/0.8196, allocations: 4.458 MB / 0.7298 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.8344, allocations: 2.99 MB / 0.7327 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0115/0.8459, allocations: 3.132 MB / 0.7358 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0237/0.8697, allocations: 11.11 MB / 0.7466 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03035/0.9001, allocations: 12.42 MB / 0.7588 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01407/0.9142, allocations: 4.822 MB / 0.7635 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01248/0.9267, allocations: 5.394 MB / 0.7687 GB, free: 452 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00481/0.9316, allocations: 0.9336 MB / 0.7696 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009733/0.9413, allocations: 2.029 MB / 0.7716 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.009195/0.9506, allocations: 3.582 MB / 0.7751 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01505/0.9657, allocations: 4.166 MB / 0.7792 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02779/0.9935, allocations: 14.02 MB / 0.7929 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.9936, allocations: 3.938 kB / 0.7929 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.885e-06/0.9936, allocations: 0 / 0.7929 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000542/0.9941, allocations: 0 / 0.7929 GB, free: 7.641 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1632 * Number of variables: 1632 Notification: Performance of Generate backend data structure: time 0.02977/1.024, allocations: 7.498 MB / 0.8002 GB, free: 64 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.368e-05/1.024, allocations: 8.031 kB / 0.8002 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/1.039, allocations: 1.487 MB / 0.8017 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/1.053, allocations: 4.412 MB / 0.806 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006284/1.054, allocations: 448.2 kB / 0.8064 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004178/1.058, allocations: 0.5783 MB / 0.807 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03547/1.093, allocations: 10.58 MB / 0.8173 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004873/1.094, allocations: 31.69 kB / 0.8173 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003139/1.097, allocations: 255.9 kB / 0.8176 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003696/1.101, allocations: 0.7687 MB / 0.8183 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02579/1.127, allocations: 8.493 MB / 0.8266 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07947/1.206, allocations: 33.6 MB / 0.8594 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008729/1.215, allocations: 4.309 MB / 0.8636 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008847/1.224, allocations: 3.72 MB / 0.8673 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005655/1.225, allocations: 42.72 kB / 0.8673 GB, free: 10.23 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/1.225, allocations: 73.33 kB / 0.8674 GB, free: 10.15 MB / 0.67 GB Notification: Performance of pre-optimization done (n=353): time 1.019e-05/1.225, allocations: 0 / 0.8674 GB, free: 10.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=578): time 1.051/2.276, allocations: 122.8 MB / 0.9873 GB, free: 244.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/2.276, allocations: 110.2 kB / 0.9874 GB, free: 244.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006067/2.282, allocations: 2.678 MB / 0.99 GB, free: 244 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.002173/2.284, allocations: 123.9 kB / 0.9902 GB, free: 244 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003059/2.287, allocations: 2.631 MB / 0.9927 GB, free: 243.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003569/2.291, allocations: 1.938 MB / 0.9946 GB, free: 242.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002851/2.294, allocations: 0.9296 MB / 0.9955 GB, free: 242.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/2.294, allocations: 301.7 kB / 0.9958 GB, free: 242.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009789/2.303, allocations: 4.09 MB / 0.9998 GB, free: 240.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01214/2.316, allocations: 5.023 MB / 1.005 GB, free: 237.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02299/2.339, allocations: 9.881 MB / 1.014 GB, free: 232.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.319e-05/2.339, allocations: 5.406 kB / 1.014 GB, free: 232.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04952/2.388, allocations: 17.01 MB / 1.031 GB, free: 226.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/2.389, allocations: 19.28 kB / 1.031 GB, free: 226.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.117e-05/2.389, allocations: 21.69 kB / 1.031 GB, free: 226.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03324/2.422, allocations: 9.261 MB / 1.04 GB, free: 224 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/2.425, allocations: 0.5272 MB / 1.041 GB, free: 223.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09141/2.516, allocations: 77.32 MB / 1.116 GB, free: 155.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006557/2.523, allocations: 276.7 kB / 1.116 GB, free: 155.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/2.524, allocations: 189.8 kB / 1.117 GB, free: 154.9 MB / 0.7794 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,88.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,51.0%), (24,62,41.7%), (6,40,77.8%), (6,72,88.9%), (12,66,59.7%), (7,39,77.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004322/2.528, allocations: 2.427 MB / 1.119 GB, free: 152.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/2.529, allocations: 470.4 kB / 1.119 GB, free: 152 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03429/2.564, allocations: 16.84 MB / 1.136 GB, free: 135 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-05/2.564, allocations: 56 kB / 1.136 GB, free: 134.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002257/2.564, allocations: 72 kB / 1.136 GB, free: 134.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001238/2.564, allocations: 27.89 kB / 1.136 GB, free: 134.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05236/2.616, allocations: 25.69 MB / 1.161 GB, free: 108.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-05/2.617, allocations: 8 kB / 1.161 GB, free: 108.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001943/2.618, allocations: 325 kB / 1.161 GB, free: 108.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02671/2.645, allocations: 8.249 MB / 1.169 GB, free: 100.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/2.646, allocations: 108.7 kB / 1.17 GB, free: 100.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08647/2.733, allocations: 73.83 MB / 1.242 GB, free: 24.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/2.733, allocations: 11.94 kB / 1.242 GB, free: 24.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03923/2.772, allocations: 21.62 MB / 1.263 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004042/2.776, allocations: 1.358 MB / 1.264 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/2.778, allocations: 115.9 kB / 1.264 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004637/2.782, allocations: 283.6 kB / 1.264 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002544/2.785, allocations: 0.5221 MB / 1.265 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004163/2.785, allocations: 144 kB / 1.265 GB, free: 452 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002697/2.788, allocations: 1.776 MB / 1.267 GB, free: 14.68 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/2.788, allocations: 3.938 kB / 1.267 GB, free: 14.67 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00948/2.797, allocations: 2.375 MB / 1.269 GB, free: 12.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,83.3%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,77.8%), (7,71,71.4%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/2.799, allocations: 246.9 kB / 1.269 GB, free: 12.05 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.03089/2.829, allocations: 14.84 MB / 1.284 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-05/2.83, allocations: 5 kB / 1.284 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.02441/2.854, allocations: 9.347 MB / 1.293 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01317/2.867, allocations: 1.374 MB / 1.294 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.479/3.346, allocations: 16.08 MB / 1.31 GB, free: 244.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01217/3.359, allocations: 4.888 MB / 1.315 GB, free: 244 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003931/3.362, allocations: 0.7546 MB / 1.316 GB, free: 243.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007846/3.363, allocations: 196.7 kB / 1.316 GB, free: 243.9 MB / 0.8106 GB Notification: Performance of SimCode: time 1.954e-06/3.363, allocations: 0 / 1.316 GB, free: 243.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.2345/3.598, allocations: 146.6 MB / 1.459 GB, free: 138.8 MB / 0.8106 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)