Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.2498/0.2526, allocations: 80.84 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008078/0.2607, allocations: 5.921 MB / 0.6764 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005957/0.2668, allocations: 3.387 MB / 0.6797 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006623/0.2675, allocations: 27.81 kB / 0.6798 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.2699, allocations: 0.9182 MB / 0.6806 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.2716, allocations: 0.5092 MB / 0.6811 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.273, allocations: 477.3 kB / 0.6816 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.2744, allocations: 1.05 MB / 0.6826 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009534/0.2754, allocations: 0.6271 MB / 0.6832 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006245/0.276, allocations: 434.4 kB / 0.6837 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007654/0.2768, allocations: 486.2 kB / 0.6841 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.285e-05/0.2769, allocations: 56 kB / 0.6842 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009786/0.2779, allocations: 483 kB / 0.6846 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.2782, allocations: 275.2 kB / 0.6849 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000352/0.2785, allocations: 378 kB / 0.6853 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.2799, allocations: 1.137 MB / 0.6864 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.28, allocations: 8 kB / 0.6864 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.715e-06/0.28, allocations: 0 / 0.6864 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.28, allocations: 4 kB / 0.6864 GB, free: 1.855 MB / 0.5137 GB 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.001958/0.282, allocations: 1.017 MB / 0.6874 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.282, allocations: 8.031 kB / 0.6874 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.2836, allocations: 227.6 kB / 0.6876 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.2846, allocations: 0.5727 MB / 0.6882 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.2847, allocations: 45.67 kB / 0.6882 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2848, allocations: 56.28 kB / 0.6882 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.2862, allocations: 1.01 MB / 0.6892 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.2863, allocations: 11.94 kB / 0.6892 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.2863, allocations: 27.98 kB / 0.6893 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-05/0.2864, allocations: 69.27 kB / 0.6893 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009743/0.2874, allocations: 0.6723 MB / 0.69 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005204/0.2926, allocations: 4.675 MB / 0.6946 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008802/0.2935, allocations: 0.6024 MB / 0.6951 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008386/0.2944, allocations: 440.5 kB / 0.6956 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.2944, allocations: 4 kB / 0.6956 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.2945, allocations: 38.56 kB / 0.6956 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=41): time 3.006e-06/0.2945, allocations: 3.938 kB / 0.6956 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.004418/0.2989, allocations: 2.007 MB / 0.6976 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.299, allocations: 55.41 kB / 0.6976 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.2995, allocations: 458.7 kB / 0.6981 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.2995, allocations: 33.7 kB / 0.6981 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.2998, allocations: 379.2 kB / 0.6985 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.2999, allocations: 145.9 kB / 0.6986 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.3001, allocations: 110.2 kB / 0.6987 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3002, allocations: 370.7 kB / 0.6991 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.3006, allocations: 245.2 kB / 0.6993 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.3012, allocations: 465 kB / 0.6997 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009347/0.3021, allocations: 0.7442 MB / 0.7005 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3021, allocations: 0 / 0.7005 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001803/0.3039, allocations: 1.046 MB / 0.7015 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.304, allocations: 8 kB / 0.7015 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.304, allocations: 8 kB / 0.7015 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.3051, allocations: 315.8 kB / 0.7018 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.3054, allocations: 99.81 kB / 0.7019 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007203/0.3126, allocations: 7.464 MB / 0.7092 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.3131, allocations: 36.03 kB / 0.7092 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.3131, allocations: 24.28 kB / 0.7092 GB, free: 9.07 MB / 0.545 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004522/0.3136, allocations: 253.5 kB / 0.7095 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.636e-05/0.3137, allocations: 55.34 kB / 0.7095 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.3154, allocations: 0.8963 MB / 0.7104 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3154, allocations: 4 kB / 0.7104 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3154, allocations: 11.94 kB / 0.7104 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3154, allocations: 0 / 0.7104 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/0.3181, allocations: 1.669 MB / 0.7121 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3181, allocations: 7.938 kB / 0.7121 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.3183, allocations: 40 kB / 0.7121 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008791/0.3192, allocations: 319.3 kB / 0.7124 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.3192, allocations: 8 kB / 0.7124 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008132/0.3274, allocations: 7.443 MB / 0.7197 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.3274, allocations: 4.281 kB / 0.7197 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.3293, allocations: 0.9877 MB / 0.7206 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.3297, allocations: 172.3 kB / 0.7208 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.3298, allocations: 19.92 kB / 0.7208 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.3301, allocations: 19.98 kB / 0.7209 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.3302, allocations: 44.11 kB / 0.7209 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.3303, allocations: 8 kB / 0.7209 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004915/0.3307, allocations: 314.8 kB / 0.7212 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3308, allocations: 0 / 0.7212 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000947/0.3317, allocations: 188 kB / 0.7214 GB, free: 11.88 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002757/0.332, allocations: 115.1 kB / 0.7215 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00214/0.3341, allocations: 1.21 MB / 0.7227 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3342, allocations: 0 / 0.7227 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.3354, allocations: 0.8551 MB / 0.7235 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3365, allocations: 207.4 kB / 0.7237 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.3389, allocations: 1.219 MB / 0.7249 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008718/0.3398, allocations: 0.9921 MB / 0.7259 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000335/0.3401, allocations: 101.2 kB / 0.726 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3402, allocations: 39.42 kB / 0.726 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.3402, allocations: 0 / 0.726 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of Templates: time 0.02126/0.3615, allocations: 10.13 MB / 0.7359 GB, free: 12.93 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)