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_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.525/0.5276, allocations: 80.82 MB / 0.5904 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03154/0.5592, allocations: 32.6 MB / 0.6223 GB, free: 6.074 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02721/0.5864, allocations: 15.23 MB / 0.6371 GB, free: 6.816 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006121/0.5927, allocations: 155.2 kB / 0.6373 GB, free: 6.664 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01289/0.6057, allocations: 3.639 MB / 0.6408 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.6176, allocations: 2.936 MB / 0.6437 GB, free: 68 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008168/0.6258, allocations: 2.292 MB / 0.646 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01411/0.6399, allocations: 8.561 MB / 0.6543 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01513/0.6551, allocations: 9.609 MB / 0.6637 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008923/0.6641, allocations: 3.868 MB / 0.6675 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0086/0.6727, allocations: 4.038 MB / 0.6714 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003959/0.6767, allocations: 0.707 MB / 0.6721 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008713/0.6855, allocations: 1.705 MB / 0.6738 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.007315/0.6928, allocations: 2.74 MB / 0.6764 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01365/0.7065, allocations: 3.283 MB / 0.6797 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02201/0.7286, allocations: 10.9 MB / 0.6903 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.7286, allocations: 0 / 0.6903 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd: time 3.727e-06/0.7287, allocations: 0 / 0.6903 GB, free: 144 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005137/0.7292, allocations: 0 / 0.6903 GB, free: 144 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1309 * Number of variables: 1309 Notification: Performance of Generate backend data structure: time 0.02308/0.7523, allocations: 5.901 MB / 0.6961 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.7524, allocations: 15.98 kB / 0.6961 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008712/0.7611, allocations: 1.118 MB / 0.6972 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009858/0.771, allocations: 3.301 MB / 0.7004 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/0.7714, allocations: 362.2 kB / 0.7007 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00254/0.774, allocations: 492 kB / 0.7012 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02535/0.7993, allocations: 7.923 MB / 0.7089 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002231/0.7996, allocations: 23.84 kB / 0.709 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/0.8007, allocations: 212 kB / 0.7092 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001273/0.8019, allocations: 437.3 kB / 0.7096 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/0.8179, allocations: 6.029 MB / 0.7155 GB, free: 5.898 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05062/0.8686, allocations: 24.78 MB / 0.7397 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/0.8729, allocations: 2.026 MB / 0.7417 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003386/0.8763, allocations: 1.858 MB / 0.7435 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.8766, allocations: 18 kB / 0.7435 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.736e-05/0.8767, allocations: 64.5 kB / 0.7435 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 5.1e-06/0.8767, allocations: 3.938 kB / 0.7436 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.6959/1.573, allocations: 38.88 MB / 0.7815 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/1.573, allocations: 77.58 kB / 0.7816 GB, free: 128 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/1.577, allocations: 2.282 MB / 0.7838 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005772/1.577, allocations: 73.7 kB / 0.7839 GB, free: 125.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001381/1.579, allocations: 2.241 MB / 0.7861 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009769/1.58, allocations: 0.9303 MB / 0.787 GB, free: 122.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/1.581, allocations: 0.5061 MB / 0.7875 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.41e-05/1.581, allocations: 305.1 kB / 0.7878 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/1.584, allocations: 1.977 MB / 0.7897 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002941/1.587, allocations: 2.61 MB / 0.7923 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005104/1.592, allocations: 4.945 MB / 0.7971 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/1.592, allocations: 4 kB / 0.7971 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01267/1.604, allocations: 7.758 MB / 0.8047 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/1.605, allocations: 19.98 kB / 0.8047 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/1.605, allocations: 16.88 kB / 0.8047 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008843/1.613, allocations: 3.239 MB / 0.8079 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/1.615, allocations: 407.3 kB / 0.8082 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0364/1.652, allocations: 33.91 MB / 0.8414 GB, free: 65.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/1.655, allocations: 163.8 kB / 0.8415 GB, free: 65.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/1.656, allocations: 108 kB / 0.8416 GB, free: 65.08 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002797/1.658, allocations: 1.79 MB / 0.8434 GB, free: 63.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008143/1.659, allocations: 332.1 kB / 0.8437 GB, free: 62.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.672, allocations: 7.368 MB / 0.8509 GB, free: 55.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/1.672, allocations: 28 kB / 0.8509 GB, free: 55.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001202/1.672, allocations: 28 kB / 0.8509 GB, free: 55.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-05/1.672, allocations: 15.02 kB / 0.8509 GB, free: 55.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02329/1.695, allocations: 12.96 MB / 0.8636 GB, free: 42.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/1.695, allocations: 8.5 kB / 0.8636 GB, free: 42.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.696, allocations: 227.5 kB / 0.8638 GB, free: 42.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007411/1.704, allocations: 2.877 MB / 0.8666 GB, free: 39.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004071/1.704, allocations: 58.72 kB / 0.8667 GB, free: 39.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03508/1.739, allocations: 32.71 MB / 0.8986 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/1.739, allocations: 11.94 kB / 0.8987 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.752, allocations: 6.898 MB / 0.9054 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00255/1.755, allocations: 0.786 MB / 0.9062 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007755/1.755, allocations: 55.94 kB / 0.9062 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/1.757, allocations: 171.8 kB / 0.9064 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/1.759, allocations: 255.5 kB / 0.9066 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/1.759, allocations: 76 kB / 0.9067 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00339/1.762, allocations: 1.525 MB / 0.9082 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.72e-07/1.762, allocations: 8 kB / 0.9082 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007/1.769, allocations: 1.336 MB / 0.9095 GB, free: 10.27 MB / 0.5919 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006605/1.77, allocations: 171 kB / 0.9097 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0168/1.787, allocations: 8.399 MB / 0.9179 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.37e-05/1.787, allocations: 8.125 kB / 0.9179 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00868/1.796, allocations: 4.413 MB / 0.9222 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005898/1.802, allocations: 1.14 MB / 0.9233 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0265/1.828, allocations: 10.25 MB / 0.9333 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007775/1.836, allocations: 3.637 MB / 0.9368 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002992/1.839, allocations: 0.5673 MB / 0.9374 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000639/1.84, allocations: 163.4 kB / 0.9376 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of SimCode: time 1.112e-06/1.84, allocations: 4 kB / 0.9376 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of Templates: time 0.1471/1.987, allocations: 77.86 MB / 1.014 GB, free: 276 kB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)