Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [/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.2089/0.2129, allocations: 80.84 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01695/0.2299, allocations: 14.45 MB / 0.6847 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.2477, allocations: 10.57 MB / 0.6951 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.2501, allocations: 59.56 kB / 0.6951 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005119/0.2553, allocations: 1.688 MB / 0.6968 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007516/0.2628, allocations: 1.877 MB / 0.6986 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.2655, allocations: 0.7507 MB / 0.6993 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00497/0.2705, allocations: 2.715 MB / 0.702 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002701/0.2732, allocations: 1.407 MB / 0.7034 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003296/0.2765, allocations: 1.516 MB / 0.7048 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/0.2796, allocations: 1.171 MB / 0.706 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008052/0.2805, allocations: 164 kB / 0.7061 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.2831, allocations: 0.7877 MB / 0.7069 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.2844, allocations: 0.5881 MB / 0.7075 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002842/0.2873, allocations: 0.9289 MB / 0.7084 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006577/0.2939, allocations: 2.714 MB / 0.711 GB, free: 8.469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.2939, allocations: 0 / 0.711 GB, free: 8.469 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.394e-06/0.294, allocations: 0 / 0.711 GB, free: 8.469 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001624/0.2941, allocations: 0 / 0.711 GB, free: 8.469 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.007292/0.3014, allocations: 2.143 MB / 0.7131 GB, free: 6.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.3015, allocations: 8.031 kB / 0.7132 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/0.3142, allocations: 2.112 MB / 0.7152 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/0.3184, allocations: 1.299 MB / 0.7165 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.3186, allocations: 94.16 kB / 0.7166 GB, free: 2.695 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007333/0.3194, allocations: 108 kB / 0.7167 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009231/0.3286, allocations: 2.65 MB / 0.7193 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.3288, allocations: 4 kB / 0.7193 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004289/0.3292, allocations: 47.98 kB / 0.7193 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007822/0.33, allocations: 198 kB / 0.7195 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008924/0.3389, allocations: 2.775 MB / 0.7222 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01843/0.3574, allocations: 8.805 MB / 0.7308 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007244/0.3647, allocations: 2.34 MB / 0.7331 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003548/0.3683, allocations: 1.276 MB / 0.7343 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.3685, allocations: 12.98 kB / 0.7344 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.3685, allocations: 43.56 kB / 0.7344 GB, free: 60 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=89): time 3.627e-06/0.3685, allocations: 0 / 0.7344 GB, free: 60 kB / 0.5606 GB Notification: Performance of matching and sorting (n=153): time 0.4892/0.8577, allocations: 16.43 MB / 0.7504 GB, free: 71.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.8578, allocations: 71.59 kB / 0.7505 GB, free: 71.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.8606, allocations: 1.175 MB / 0.7517 GB, free: 71.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004605/0.8611, allocations: 51.8 kB / 0.7517 GB, free: 71.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008656/0.8619, allocations: 0.7311 MB / 0.7524 GB, free: 71.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009408/0.8629, allocations: 0.5125 MB / 0.7529 GB, free: 71.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009111/0.8638, allocations: 286.9 kB / 0.7532 GB, free: 71.28 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.8639, allocations: 306.9 kB / 0.7535 GB, free: 70.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004244/0.8682, allocations: 1.509 MB / 0.755 GB, free: 70.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004683/0.8729, allocations: 1.795 MB / 0.7567 GB, free: 69.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009319/0.8822, allocations: 3.375 MB / 0.76 GB, free: 68.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/0.8823, allocations: 2.156 kB / 0.76 GB, free: 68.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01639/0.8987, allocations: 5.27 MB / 0.7652 GB, free: 66.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.8988, allocations: 8.406 kB / 0.7652 GB, free: 66.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.8988, allocations: 7.656 kB / 0.7652 GB, free: 66.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00761/0.9064, allocations: 1.898 MB / 0.767 GB, free: 66.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.9086, allocations: 421.3 kB / 0.7674 GB, free: 66.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0311/0.9398, allocations: 24.2 MB / 0.7911 GB, free: 48.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/0.9436, allocations: 309.1 kB / 0.7914 GB, free: 48.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003959/0.944, allocations: 73.67 kB / 0.7914 GB, free: 48.19 MB / 0.5762 GB 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (6,14,80.6%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001261/0.9453, allocations: 464.7 kB / 0.7919 GB, free: 47.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000506/0.9458, allocations: 176.7 kB / 0.792 GB, free: 47.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.9587, allocations: 5.322 MB / 0.7972 GB, free: 44.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.9587, allocations: 21.78 kB / 0.7973 GB, free: 44.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.813e-05/0.9588, allocations: 18.12 kB / 0.7973 GB, free: 44.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.9588, allocations: 7.969 kB / 0.7973 GB, free: 44.67 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.9746, allocations: 7.427 MB / 0.8045 GB, free: 39.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.9746, allocations: 0 / 0.8045 GB, free: 39.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.9763, allocations: 347.4 kB / 0.8049 GB, free: 39.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005466/0.9818, allocations: 1.715 MB / 0.8065 GB, free: 37.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/0.982, allocations: 39.97 kB / 0.8066 GB, free: 37.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02344/1.005, allocations: 23.3 MB / 0.8293 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.006, allocations: 3.984 kB / 0.8293 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/1.017, allocations: 4.899 MB / 0.8341 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.018, allocations: 494.8 kB / 0.8346 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/1.019, allocations: 31.98 kB / 0.8346 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/1.021, allocations: 321.3 kB / 0.8349 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006203/1.022, allocations: 149.4 kB / 0.8351 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.022, allocations: 55.97 kB / 0.8351 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00097/1.023, allocations: 0.7899 MB / 0.8359 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.023, allocations: 0 / 0.8359 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002318/1.025, allocations: 0.6445 MB / 0.8365 GB, free: 5.859 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003178/1.025, allocations: 140.7 kB / 0.8367 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.036, allocations: 5.201 MB / 0.8417 GB, free: 424 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.036, allocations: 0 / 0.8417 GB, free: 424 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008055/1.044, allocations: 3.365 MB / 0.845 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004028/1.048, allocations: 0.5633 MB / 0.8456 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/1.062, allocations: 4.361 MB / 0.8498 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/1.065, allocations: 1.563 MB / 0.8514 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002289/1.067, allocations: 393.4 kB / 0.8517 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/1.068, allocations: 111.4 kB / 0.8518 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/1.068, allocations: 0 / 0.8518 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of Templates: time 0.09215/1.16, allocations: 45.34 MB / 0.8961 GB, free: 8.984 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)