Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.5614/0.5635, allocations: 80.81 MB / 0.5904 GB, free: 22.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005552/0.5691, allocations: 4.319 MB / 0.5946 GB, free: 18.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004235/0.5734, allocations: 3.268 MB / 0.5978 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.5738, allocations: 11.94 kB / 0.5978 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.5754, allocations: 0.5098 MB / 0.5983 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.5765, allocations: 391.1 kB / 0.5987 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006685/0.5772, allocations: 247.4 kB / 0.5989 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007791/0.578, allocations: 0.5879 MB / 0.5995 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006483/0.5787, allocations: 0.5165 MB / 0.6 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.5792, allocations: 275.1 kB / 0.6003 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005435/0.5798, allocations: 279 kB / 0.6006 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.5799, allocations: 40 kB / 0.6006 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006218/0.5806, allocations: 291.4 kB / 0.6009 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.5807, allocations: 159.6 kB / 0.601 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.581, allocations: 226.9 kB / 0.6012 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006957/0.5817, allocations: 0.7596 MB / 0.602 GB, free: 10.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5817, allocations: 0 / 0.602 GB, free: 10.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5817, allocations: 0 / 0.602 GB, free: 10.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.5817, allocations: 3.938 kB / 0.602 GB, free: 10.95 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001156/0.5829, allocations: 0.7675 MB / 0.6027 GB, free: 10.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5829, allocations: 8.031 kB / 0.6027 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/0.5854, allocations: 0.6516 MB / 0.6034 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.586, allocations: 443.7 kB / 0.6038 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.586, allocations: 28.58 kB / 0.6038 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/0.5861, allocations: 32 kB / 0.6039 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.5874, allocations: 0.7708 MB / 0.6046 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.5874, allocations: 4 kB / 0.6046 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.5875, allocations: 12 kB / 0.6046 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.5876, allocations: 44.61 kB / 0.6047 GB, free: 8.078 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.5892, allocations: 0.8491 MB / 0.6055 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/0.5924, allocations: 2.398 MB / 0.6078 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.594, allocations: 0.5135 MB / 0.6083 GB, free: 4.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005974/0.5946, allocations: 252.6 kB / 0.6086 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.526e-05/0.5947, allocations: 81.11 kB / 0.6087 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.5947, allocations: 38.55 kB / 0.6087 GB, free: 3.785 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.5947, allocations: 0 / 0.6087 GB, free: 3.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.009794/0.6045, allocations: 2.943 MB / 0.6116 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.6046, allocations: 51.41 kB / 0.6116 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.6049, allocations: 409.6 kB / 0.612 GB, free: 348 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.605, allocations: 29.7 kB / 0.612 GB, free: 312 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.6051, allocations: 231.9 kB / 0.6123 GB, free: 76 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.6052, allocations: 86.78 kB / 0.6123 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.6054, allocations: 77.53 kB / 0.6124 GB, free: 15.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6055, allocations: 338.8 kB / 0.6127 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009529/0.6065, allocations: 356.5 kB / 0.6131 GB, free: 15.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000922/0.6074, allocations: 420.5 kB / 0.6135 GB, free: 14.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.6092, allocations: 0.7356 MB / 0.6142 GB, free: 14.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6092, allocations: 4 kB / 0.6142 GB, free: 14.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004783/0.614, allocations: 1.479 MB / 0.6156 GB, free: 12.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.614, allocations: 4 kB / 0.6157 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.614, allocations: 7.938 kB / 0.6157 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003446/0.6175, allocations: 0.7742 MB / 0.6164 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.6181, allocations: 127.8 kB / 0.6165 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007264/0.6254, allocations: 4.837 MB / 0.6213 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/0.6262, allocations: 111.9 kB / 0.6214 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.6262, allocations: 8 kB / 0.6214 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00111/0.6273, allocations: 0.5271 MB / 0.6219 GB, free: 5.836 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009191/0.6282, allocations: 408.6 kB / 0.6223 GB, free: 5.406 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001774/0.63, allocations: 0.7217 MB / 0.623 GB, free: 4.656 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.63, allocations: 0 / 0.623 GB, free: 4.656 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004019/0.6341, allocations: 1.255 MB / 0.6242 GB, free: 3.391 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6341, allocations: 10.19 kB / 0.6242 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.6341, allocations: 0 / 0.6242 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/0.6363, allocations: 0.4964 MB / 0.6247 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.6369, allocations: 135.7 kB / 0.6248 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.6406, allocations: 2.609 MB / 0.6274 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/0.6414, allocations: 99.78 kB / 0.6275 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.6414, allocations: 16 kB / 0.6275 GB, free: 15.88 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.6417, allocations: 204.2 kB / 0.6277 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.6418, allocations: 31.62 kB / 0.6277 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004404/0.6462, allocations: 1.358 MB / 0.629 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6462, allocations: 4 kB / 0.629 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6462, allocations: 4 kB / 0.6291 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.6462, allocations: 0 / 0.6291 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.6514, allocations: 1.999 MB / 0.631 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.6514, allocations: 4 kB / 0.631 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.6518, allocations: 75.91 kB / 0.6311 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002963/0.6548, allocations: 0.7038 MB / 0.6318 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.6548, allocations: 11.94 kB / 0.6318 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005899/0.6607, allocations: 4.678 MB / 0.6363 GB, free: 6.434 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6607, allocations: 4.031 kB / 0.6364 GB, free: 6.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/0.6649, allocations: 1.362 MB / 0.6377 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.6651, allocations: 160.6 kB / 0.6378 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.793e-05/0.6652, allocations: 11.98 kB / 0.6378 GB, free: 4.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/0.6658, allocations: 83.86 kB / 0.6379 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.6659, allocations: 23.97 kB / 0.6379 GB, free: 4.742 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.6659, allocations: 8 kB / 0.638 GB, free: 4.734 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003709/0.6663, allocations: 303.1 kB / 0.6382 GB, free: 4.438 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6663, allocations: 3.938 kB / 0.6382 GB, free: 4.434 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008391/0.6672, allocations: 196 kB / 0.6384 GB, free: 4.242 MB / 478.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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002141/0.6674, allocations: 119.1 kB / 0.6385 GB, free: 4.117 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003586/0.671, allocations: 1.57 MB / 0.6401 GB, free: 2.508 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.671, allocations: 0 / 0.6401 GB, free: 2.508 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.6722, allocations: 0.6295 MB / 0.6407 GB, free: 1.855 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.6729, allocations: 133.5 kB / 0.6408 GB, free: 1.738 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.6749, allocations: 1.083 MB / 0.6419 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.6755, allocations: 0.9093 MB / 0.6428 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005372/0.676, allocations: 163.1 kB / 0.6429 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.6761, allocations: 35.41 kB / 0.643 GB, free: 15.48 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6761, allocations: 0 / 0.643 GB, free: 15.48 MB / 494.1 MB Notification: Performance of Templates: time 0.0183/0.6945, allocations: 12.14 MB / 0.6548 GB, free: 3.418 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)