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.2038/0.2046, allocations: 82.21 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005142/0.2098, allocations: 3.664 MB / 0.597 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.2143, allocations: 2.94 MB / 0.5998 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.2146, allocations: 11.94 kB / 0.5998 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.2152, allocations: 159.2 kB / 0.6 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008555/0.2161, allocations: 297.1 kB / 0.6003 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000573/0.2167, allocations: 171.5 kB / 0.6004 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005029/0.2172, allocations: 335.3 kB / 0.6008 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.2184, allocations: 0.7384 MB / 0.6015 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.2187, allocations: 171.4 kB / 0.6016 GB, free: 13.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.2191, allocations: 183.3 kB / 0.6018 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.2191, allocations: 16 kB / 0.6018 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003839/0.2195, allocations: 171.7 kB / 0.602 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.2197, allocations: 123.6 kB / 0.6021 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.195e-05/0.2198, allocations: 97.52 kB / 0.6022 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.2205, allocations: 0.5962 MB / 0.6028 GB, free: 12.31 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2205, allocations: 0 / 0.6028 GB, free: 12.31 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2205, allocations: 0 / 0.6028 GB, free: 12.31 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.2205, allocations: 0 / 0.6028 GB, free: 12.31 MB / 462.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.001267/0.2218, allocations: 0.6934 MB / 0.6035 GB, free: 11.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2218, allocations: 12.02 kB / 0.6035 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.2246, allocations: 0.6741 MB / 0.6041 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.2254, allocations: 430.7 kB / 0.6045 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.2254, allocations: 20.66 kB / 0.6046 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.2255, allocations: 35.98 kB / 0.6046 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.227, allocations: 0.7669 MB / 0.6053 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.2271, allocations: 4 kB / 0.6054 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.2271, allocations: 19.98 kB / 0.6054 GB, free: 9.543 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.2273, allocations: 44.61 kB / 0.6054 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.2292, allocations: 0.8647 MB / 0.6063 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003862/0.233, allocations: 2.418 MB / 0.6086 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.2346, allocations: 0.5197 MB / 0.6091 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.2347, allocations: 81.11 kB / 0.6092 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.2348, allocations: 38.56 kB / 0.6092 GB, free: 5.422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 2.595e-06/0.2348, allocations: 0 / 0.6092 GB, free: 5.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.01104/0.2459, allocations: 3.088 MB / 0.6123 GB, free: 2.301 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.246, allocations: 51.41 kB / 0.6123 GB, free: 2.238 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/0.2465, allocations: 409.5 kB / 0.6127 GB, free: 1.828 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.2466, allocations: 29.7 kB / 0.6127 GB, free: 1.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.2468, allocations: 227.9 kB / 0.6129 GB, free: 1.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.2469, allocations: 90.73 kB / 0.613 GB, free: 1.473 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.2469, allocations: 4 kB / 0.613 GB, free: 1.469 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2471, allocations: 346.8 kB / 0.6134 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008645/0.248, allocations: 359.7 kB / 0.6137 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/0.2489, allocations: 432.5 kB / 0.6141 GB, free: 324 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009203/0.2498, allocations: 386.6 kB / 0.6145 GB, free: 15.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2498, allocations: 0 / 0.6145 GB, free: 15.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005074/0.2549, allocations: 1.518 MB / 0.616 GB, free: 14.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004601/0.2554, allocations: 0.794 MB / 0.6167 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.2554, allocations: 4 kB / 0.6167 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/0.2591, allocations: 0.8207 MB / 0.6175 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/0.2597, allocations: 127.8 kB / 0.6177 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006823/0.2666, allocations: 4.644 MB / 0.6222 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008063/0.2674, allocations: 115.8 kB / 0.6223 GB, free: 7.566 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.2675, allocations: 16.05 kB / 0.6223 GB, free: 7.551 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.2675, allocations: 8 kB / 0.6223 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004049/0.2716, allocations: 1.245 MB / 0.6236 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2716, allocations: 4 kB / 0.6236 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.274, allocations: 0.5353 MB / 0.6241 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.2747, allocations: 147.8 kB / 0.6242 GB, free: 5.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/0.2783, allocations: 2.51 MB / 0.6267 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007539/0.2791, allocations: 107.9 kB / 0.6268 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.2791, allocations: 15.98 kB / 0.6268 GB, free: 2.848 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004451/0.2796, allocations: 317 kB / 0.6271 GB, free: 2.527 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2797, allocations: 43.53 kB / 0.6271 GB, free: 2.484 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/0.2842, allocations: 1.401 MB / 0.6285 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.2842, allocations: 7.953 kB / 0.6285 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2842, allocations: 0 / 0.6285 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2842, allocations: 0 / 0.6285 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/0.2895, allocations: 2.068 MB / 0.6305 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.2895, allocations: 0 / 0.6305 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.2899, allocations: 87.94 kB / 0.6306 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003281/0.2932, allocations: 0.7545 MB / 0.6314 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.2933, allocations: 11.98 kB / 0.6314 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00598/0.2993, allocations: 4.47 MB / 0.6357 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.2993, allocations: 4.031 kB / 0.6357 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004421/0.3037, allocations: 1.452 MB / 0.6372 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.3041, allocations: 164.7 kB / 0.6373 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.3042, allocations: 11.95 kB / 0.6373 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.3047, allocations: 91.86 kB / 0.6374 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.3049, allocations: 23.95 kB / 0.6374 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.3049, allocations: 8 kB / 0.6374 GB, free: 7.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004016/0.3053, allocations: 299.1 kB / 0.6377 GB, free: 7.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3053, allocations: 0 / 0.6377 GB, free: 7.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009049/0.3062, allocations: 196 kB / 0.6379 GB, free: 7.027 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002581/0.3065, allocations: 115.2 kB / 0.638 GB, free: 6.902 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003613/0.3101, allocations: 1.579 MB / 0.6396 GB, free: 5.285 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3102, allocations: 0 / 0.6396 GB, free: 5.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.3114, allocations: 0.6418 MB / 0.6402 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.312, allocations: 112.9 kB / 0.6403 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.314, allocations: 1.246 MB / 0.6415 GB, free: 3.234 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.3146, allocations: 0.921 MB / 0.6424 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005539/0.3152, allocations: 167.1 kB / 0.6426 GB, free: 2.125 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3153, allocations: 31.42 kB / 0.6426 GB, free: 2.094 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3153, allocations: 0 / 0.6426 GB, free: 2.094 MB / 494.1 MB Notification: Performance of Templates: time 0.01904/0.3343, allocations: 11.46 MB / 0.6538 GB, free: 6.711 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: