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.1685/0.1693, allocations: 82.22 MB / 0.5941 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005333/0.1747, allocations: 3.976 MB / 0.598 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.1796, allocations: 3.215 MB / 0.6011 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.18, allocations: 11.94 kB / 0.6012 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.1807, allocations: 175.3 kB / 0.6013 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001/0.1817, allocations: 356.5 kB / 0.6017 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.1823, allocations: 235 kB / 0.6019 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009123/0.1832, allocations: 0.7906 MB / 0.6027 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.1845, allocations: 0.8207 MB / 0.6035 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.185, allocations: 219.1 kB / 0.6037 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.1854, allocations: 255 kB / 0.6039 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.1855, allocations: 16 kB / 0.6039 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.186, allocations: 315.5 kB / 0.6042 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.1862, allocations: 127.5 kB / 0.6043 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.1865, allocations: 220.6 kB / 0.6046 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008887/0.1874, allocations: 0.7398 MB / 0.6053 GB, free: 10.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1874, allocations: 0 / 0.6053 GB, free: 10.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1874, allocations: 0 / 0.6053 GB, free: 10.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.1874, allocations: 4 kB / 0.6053 GB, free: 10.02 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.001355/0.1888, allocations: 0.6896 MB / 0.606 GB, free: 9.281 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1888, allocations: 8.031 kB / 0.606 GB, free: 9.273 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.1917, allocations: 0.6672 MB / 0.6066 GB, free: 8.605 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.1924, allocations: 435.9 kB / 0.607 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1924, allocations: 24.59 kB / 0.6071 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.1925, allocations: 35.97 kB / 0.6071 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.1941, allocations: 0.7709 MB / 0.6078 GB, free: 7.281 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.1942, allocations: 7.906 kB / 0.6079 GB, free: 7.273 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.1942, allocations: 23.97 kB / 0.6079 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.1943, allocations: 40.56 kB / 0.6079 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.1964, allocations: 0.8648 MB / 0.6088 GB, free: 6.348 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/0.2012, allocations: 2.417 MB / 0.6111 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.203, allocations: 0.5214 MB / 0.6116 GB, free: 3.273 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007224/0.2037, allocations: 264.6 kB / 0.6119 GB, free: 3.012 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.2038, allocations: 89.09 kB / 0.612 GB, free: 2.906 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.2039, allocations: 34.56 kB / 0.612 GB, free: 2.863 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 2.705e-06/0.2039, allocations: 3.938 kB / 0.612 GB, free: 2.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.01164/0.2155, allocations: 3.086 MB / 0.615 GB, free: 15.74 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.2156, allocations: 59.41 kB / 0.6151 GB, free: 15.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/0.2163, allocations: 405.5 kB / 0.6155 GB, free: 15.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.2163, allocations: 29.7 kB / 0.6155 GB, free: 15.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.2165, allocations: 239.8 kB / 0.6157 GB, free: 14.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.2167, allocations: 86.8 kB / 0.6158 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.2167, allocations: 25.72 kB / 0.6158 GB, free: 14.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2169, allocations: 342.8 kB / 0.6162 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009476/0.2179, allocations: 363.7 kB / 0.6165 GB, free: 14.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009858/0.2189, allocations: 436.4 kB / 0.6169 GB, free: 13.72 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.2208, allocations: 0.7792 MB / 0.6177 GB, free: 12.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2208, allocations: 0 / 0.6177 GB, free: 12.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005279/0.2261, allocations: 1.526 MB / 0.6192 GB, free: 11.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.2262, allocations: 144.1 kB / 0.6193 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2262, allocations: 0 / 0.6193 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003847/0.2301, allocations: 0.8208 MB / 0.6201 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.2307, allocations: 131.8 kB / 0.6202 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006887/0.2376, allocations: 4.532 MB / 0.6247 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000799/0.2385, allocations: 115.9 kB / 0.6248 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.2385, allocations: 15.98 kB / 0.6248 GB, free: 5.312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.2385, allocations: 4 kB / 0.6248 GB, free: 5.309 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00428/0.2428, allocations: 1.253 MB / 0.626 GB, free: 4.051 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2429, allocations: 0 / 0.626 GB, free: 4.051 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/0.2454, allocations: 0.5432 MB / 0.6265 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.246, allocations: 139.8 kB / 0.6267 GB, free: 3.367 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/0.2506, allocations: 2.693 MB / 0.6293 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007429/0.2513, allocations: 107.9 kB / 0.6294 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.2514, allocations: 15.98 kB / 0.6294 GB, free: 432 kB / 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.0004224/0.2518, allocations: 333.6 kB / 0.6297 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.2519, allocations: 31.62 kB / 0.6298 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004796/0.2567, allocations: 1.408 MB / 0.6311 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2567, allocations: 0 / 0.6311 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2568, allocations: 4 kB / 0.6311 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2568, allocations: 7.922 kB / 0.6312 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/0.2623, allocations: 2.049 MB / 0.6332 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2623, allocations: 4 kB / 0.6332 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.2627, allocations: 87.83 kB / 0.6332 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003438/0.2661, allocations: 0.7585 MB / 0.634 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.2662, allocations: 4 kB / 0.634 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006003/0.2722, allocations: 4.364 MB / 0.6383 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2722, allocations: 4 kB / 0.6383 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/0.2767, allocations: 1.413 MB / 0.6396 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.277, allocations: 172.6 kB / 0.6398 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.2771, allocations: 7.938 kB / 0.6398 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/0.2777, allocations: 95.86 kB / 0.6399 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.2778, allocations: 23.95 kB / 0.6399 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.2779, allocations: 8 kB / 0.6399 GB, free: 5.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000366/0.2782, allocations: 299.1 kB / 0.6402 GB, free: 4.945 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2782, allocations: 0 / 0.6402 GB, free: 4.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00108/0.2793, allocations: 200 kB / 0.6404 GB, free: 4.75 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 (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.0002236/0.2796, allocations: 123.1 kB / 0.6405 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00469/0.2843, allocations: 1.754 MB / 0.6422 GB, free: 2.824 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2843, allocations: 0 / 0.6422 GB, free: 2.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.2856, allocations: 0.6307 MB / 0.6429 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007908/0.2864, allocations: 117.9 kB / 0.643 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.2887, allocations: 1.272 MB / 0.6442 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006604/0.2893, allocations: 0.9171 MB / 0.6451 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006038/0.29, allocations: 163.1 kB / 0.6453 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.2901, allocations: 35.42 kB / 0.6453 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.2901, allocations: 0 / 0.6453 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.01935/0.3095, allocations: 11.67 MB / 0.6567 GB, free: 4.016 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: