Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [/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.1867/0.1878, allocations: 82.21 MB / 0.5935 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006476/0.1943, allocations: 5.325 MB / 0.5987 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.1993, allocations: 3.186 MB / 0.6018 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004473/0.1998, allocations: 23.81 kB / 0.6018 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.2002, allocations: 119 kB / 0.6019 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.2013, allocations: 402 kB / 0.6023 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.2023, allocations: 366.8 kB / 0.6027 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.2034, allocations: 1.174 MB / 0.6038 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.2049, allocations: 0.9014 MB / 0.6047 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.2054, allocations: 346.5 kB / 0.605 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.2061, allocations: 458.3 kB / 0.6055 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.2062, allocations: 32 kB / 0.6055 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006416/0.2068, allocations: 251.6 kB / 0.6057 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.2071, allocations: 235.3 kB / 0.6059 GB, free: 9.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.2072, allocations: 157.3 kB / 0.6061 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008626/0.2081, allocations: 0.8574 MB / 0.6069 GB, free: 8.082 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2081, allocations: 0 / 0.6069 GB, free: 8.082 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2081, allocations: 0 / 0.6069 GB, free: 8.082 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2081, allocations: 0 / 0.6069 GB, free: 8.082 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001345/0.2095, allocations: 0.9114 MB / 0.6078 GB, free: 7.121 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.2096, allocations: 8.031 kB / 0.6078 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.2109, allocations: 218.7 kB / 0.608 GB, free: 6.898 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006778/0.2116, allocations: 0.521 MB / 0.6086 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.2117, allocations: 49.3 kB / 0.6086 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.661e-05/0.2118, allocations: 59.92 kB / 0.6087 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.2131, allocations: 0.9983 MB / 0.6096 GB, free: 5.125 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.2131, allocations: 11.84 kB / 0.6096 GB, free: 5.113 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/0.2132, allocations: 27.98 kB / 0.6097 GB, free: 5.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.2133, allocations: 69.27 kB / 0.6097 GB, free: 5.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.2143, allocations: 0.6684 MB / 0.6104 GB, free: 4.352 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004429/0.2188, allocations: 4.706 MB / 0.615 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008383/0.2196, allocations: 0.5979 MB / 0.6156 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007019/0.2203, allocations: 417.3 kB / 0.616 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.2204, allocations: 4 kB / 0.616 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2204, allocations: 50.27 kB / 0.616 GB, free: 14.35 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.904e-06/0.2204, allocations: 0 / 0.616 GB, free: 14.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=42): time 0.00407/0.2245, allocations: 2.057 MB / 0.618 GB, free: 12.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.2246, allocations: 59.19 kB / 0.6181 GB, free: 12.12 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.225, allocations: 462.8 kB / 0.6185 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.2251, allocations: 29.7 kB / 0.6186 GB, free: 11.62 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.2253, allocations: 379.2 kB / 0.6189 GB, free: 11.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.2254, allocations: 145.9 kB / 0.6191 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.2255, allocations: 12 kB / 0.6191 GB, free: 11.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2256, allocations: 362.8 kB / 0.6194 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.226, allocations: 249.2 kB / 0.6196 GB, free: 10.49 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.2265, allocations: 461 kB / 0.6201 GB, free: 9.945 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.227, allocations: 311.8 kB / 0.6204 GB, free: 9.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.227, allocations: 4 kB / 0.6204 GB, free: 9.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001834/0.2288, allocations: 1.062 MB / 0.6214 GB, free: 8.555 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.2289, allocations: 8 kB / 0.6214 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.2289, allocations: 4 kB / 0.6214 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009943/0.2299, allocations: 339.7 kB / 0.6218 GB, free: 8.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.2302, allocations: 99.77 kB / 0.6219 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00708/0.2373, allocations: 6.931 MB / 0.6286 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.2377, allocations: 32.02 kB / 0.6287 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.2378, allocations: 28 kB / 0.6287 GB, free: 0.5742 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003154/0.2381, allocations: 245.6 kB / 0.6289 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.2382, allocations: 59.25 kB / 0.629 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.2399, allocations: 0.9276 MB / 0.6299 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.2399, allocations: 7.953 kB / 0.6299 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2399, allocations: 4 kB / 0.6299 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.24, allocations: 0 / 0.6299 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/0.2429, allocations: 1.705 MB / 0.6316 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.2429, allocations: 4 kB / 0.6316 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.2431, allocations: 43.86 kB / 0.6316 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008641/0.244, allocations: 319.3 kB / 0.6319 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.244, allocations: 8.281 kB / 0.6319 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00646/0.2505, allocations: 6.939 MB / 0.6387 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2505, allocations: 4 kB / 0.6387 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.2522, allocations: 1.007 MB / 0.6397 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.2524, allocations: 176.3 kB / 0.6398 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.577e-05/0.2525, allocations: 15.98 kB / 0.6399 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.2527, allocations: 19.98 kB / 0.6399 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.2528, allocations: 43.88 kB / 0.6399 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.2528, allocations: 12 kB / 0.6399 GB, free: 4.312 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003446/0.2532, allocations: 306.9 kB / 0.6402 GB, free: 4.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2532, allocations: 0 / 0.6402 GB, free: 4.016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007991/0.254, allocations: 188 kB / 0.6404 GB, free: 3.832 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00014/0.2542, allocations: 115.2 kB / 0.6405 GB, free: 3.711 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.2559, allocations: 1.196 MB / 0.6417 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2559, allocations: 0 / 0.6417 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.257, allocations: 0.8739 MB / 0.6425 GB, free: 1.539 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008571/0.2579, allocations: 176.1 kB / 0.6427 GB, free: 1.371 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.2598, allocations: 1.492 MB / 0.6442 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.2604, allocations: 0.9843 MB / 0.6451 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.2607, allocations: 105.2 kB / 0.6452 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.2608, allocations: 35.44 kB / 0.6453 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.2608, allocations: 4 kB / 0.6453 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.01504/0.2758, allocations: 9.158 MB / 0.6542 GB, free: 5.668 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: