Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") [/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.5356/0.538, allocations: 80.81 MB / 0.5904 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.00617/0.5442, allocations: 5.019 MB / 0.5953 GB, free: 17.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004321/0.5485, allocations: 3.361 MB / 0.5986 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.5489, allocations: 14 kB / 0.5986 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.5503, allocations: 0.5093 MB / 0.5991 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008186/0.5511, allocations: 388.8 kB / 0.5995 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.5517, allocations: 277.4 kB / 0.5997 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006484/0.5524, allocations: 0.6308 MB / 0.6004 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.5529, allocations: 0.5321 MB / 0.6009 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.5532, allocations: 275.2 kB / 0.6011 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.5536, allocations: 298.9 kB / 0.6014 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.5536, allocations: 44 kB / 0.6015 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.5541, allocations: 291.5 kB / 0.6017 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.5542, allocations: 175.6 kB / 0.6019 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.5544, allocations: 234.9 kB / 0.6021 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006352/0.555, allocations: 0.8102 MB / 0.6029 GB, free: 9.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5551, allocations: 0 / 0.6029 GB, free: 9.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5551, allocations: 0 / 0.6029 GB, free: 9.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.5551, allocations: 0 / 0.6029 GB, free: 9.98 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001308/0.5564, allocations: 0.7987 MB / 0.6037 GB, free: 9.133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.5564, allocations: 11.98 kB / 0.6037 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.5591, allocations: 0.6594 MB / 0.6044 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000675/0.5598, allocations: 451.8 kB / 0.6048 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.5598, allocations: 24.59 kB / 0.6048 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.989e-05/0.5599, allocations: 35.98 kB / 0.6049 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.5613, allocations: 0.8138 MB / 0.6057 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.5613, allocations: 8 kB / 0.6057 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.5614, allocations: 8 kB / 0.6057 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.5616, allocations: 60.58 kB / 0.6057 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.5634, allocations: 0.9116 MB / 0.6066 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.5665, allocations: 2.395 MB / 0.609 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.5681, allocations: 0.5449 MB / 0.6095 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/0.5688, allocations: 300.6 kB / 0.6098 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.647e-05/0.5689, allocations: 89.09 kB / 0.6099 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5689, allocations: 42.5 kB / 0.6099 GB, free: 2.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.595e-06/0.5689, allocations: 0 / 0.6099 GB, free: 2.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.0118/0.5807, allocations: 3.428 MB / 0.6132 GB, free: 15.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.5808, allocations: 55.41 kB / 0.6133 GB, free: 15.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.5813, allocations: 400.5 kB / 0.6137 GB, free: 14.64 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.5814, allocations: 29.7 kB / 0.6137 GB, free: 14.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.5816, allocations: 231.9 kB / 0.6139 GB, free: 14.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.5817, allocations: 106.4 kB / 0.614 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.5819, allocations: 85.55 kB / 0.6141 GB, free: 14.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5821, allocations: 354.8 kB / 0.6145 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009563/0.583, allocations: 388.5 kB / 0.6148 GB, free: 13.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009855/0.584, allocations: 452.2 kB / 0.6153 GB, free: 12.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/0.586, allocations: 0.8205 MB / 0.6161 GB, free: 12.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.586, allocations: 4 kB / 0.6161 GB, free: 12.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005596/0.5916, allocations: 1.63 MB / 0.6176 GB, free: 10.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.5917, allocations: 13.81 kB / 0.6177 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5917, allocations: 0 / 0.6177 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003928/0.5956, allocations: 0.8842 MB / 0.6185 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.5963, allocations: 123.8 kB / 0.6186 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009254/0.6055, allocations: 6.654 MB / 0.6251 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/0.6064, allocations: 108 kB / 0.6252 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.6065, allocations: 16 kB / 0.6253 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001265/0.6078, allocations: 0.5661 MB / 0.6258 GB, free: 1.668 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001002/0.6088, allocations: 456.7 kB / 0.6262 GB, free: 1.191 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001965/0.6107, allocations: 0.8 MB / 0.627 GB, free: 372 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.6108, allocations: 0 / 0.627 GB, free: 372 kB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004978/0.6157, allocations: 1.614 MB / 0.6286 GB, free: 14.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6158, allocations: 8 kB / 0.6286 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6158, allocations: 3.938 kB / 0.6286 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/0.6186, allocations: 0.6471 MB / 0.6292 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.6193, allocations: 131.8 kB / 0.6294 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007644/0.6269, allocations: 7.303 MB / 0.6365 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008474/0.6278, allocations: 99.86 kB / 0.6366 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.6279, allocations: 16 kB / 0.6366 GB, free: 5.91 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.6281, allocations: 209 kB / 0.6368 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.6282, allocations: 35.56 kB / 0.6369 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/0.6332, allocations: 1.544 MB / 0.6384 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6332, allocations: 4 kB / 0.6384 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6333, allocations: 0 / 0.6384 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6333, allocations: 0 / 0.6384 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005788/0.6391, allocations: 2.209 MB / 0.6405 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6391, allocations: 4 kB / 0.6405 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.6395, allocations: 83.92 kB / 0.6406 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003504/0.643, allocations: 0.81 MB / 0.6414 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.6431, allocations: 11.98 kB / 0.6414 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007749/0.6508, allocations: 6.515 MB / 0.6478 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6509, allocations: 0 / 0.6478 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004732/0.6556, allocations: 1.542 MB / 0.6493 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.6559, allocations: 168.7 kB / 0.6494 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.656, allocations: 12 kB / 0.6494 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006022/0.6566, allocations: 83.8 kB / 0.6495 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.6568, allocations: 31.97 kB / 0.6496 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.6568, allocations: 11.98 kB / 0.6496 GB, free: 8.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003983/0.6572, allocations: 299.1 kB / 0.6499 GB, free: 7.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6572, allocations: 0 / 0.6499 GB, free: 7.773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001056/0.6583, allocations: 232 kB / 0.6501 GB, free: 7.547 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002243/0.6585, allocations: 115.2 kB / 0.6502 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004861/0.6634, allocations: 2.245 MB / 0.6524 GB, free: 5.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.6634, allocations: 4 kB / 0.6524 GB, free: 5.082 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.665, allocations: 0.8164 MB / 0.6532 GB, free: 4.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000743/0.6657, allocations: 129.2 kB / 0.6533 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.6682, allocations: 1.19 MB / 0.6545 GB, free: 2.887 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/0.669, allocations: 0.9258 MB / 0.6554 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000578/0.6696, allocations: 183.1 kB / 0.6555 GB, free: 1.754 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.6697, allocations: 31.42 kB / 0.6556 GB, free: 1.723 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6697, allocations: 0 / 0.6556 GB, free: 1.723 MB / 494.1 MB Notification: Performance of Templates: time 0.02158/0.6913, allocations: 14.28 MB / 0.6695 GB, free: 3.559 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)