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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [/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.2231/0.2252, allocations: 80.83 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007203/0.2324, allocations: 5.434 MB / 0.6759 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004814/0.2373, allocations: 2.791 MB / 0.6787 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004883/0.2379, allocations: 19.88 kB / 0.6787 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.2398, allocations: 0.6864 MB / 0.6793 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.241, allocations: 433.8 kB / 0.6798 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.2421, allocations: 401.7 kB / 0.6801 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.2433, allocations: 0.9397 MB / 0.6811 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007171/0.244, allocations: 458.5 kB / 0.6815 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004667/0.2445, allocations: 362.6 kB / 0.6818 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006631/0.2451, allocations: 418.4 kB / 0.6822 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.2452, allocations: 48 kB / 0.6823 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.246, allocations: 359.2 kB / 0.6826 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.2463, allocations: 243.3 kB / 0.6829 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.2466, allocations: 330.3 kB / 0.6832 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.2477, allocations: 0.9539 MB / 0.6841 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.2478, allocations: 0 / 0.6841 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.929e-06/0.2478, allocations: 0 / 0.6841 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.2478, allocations: 3.938 kB / 0.6841 GB, free: 4.141 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001708/0.2495, allocations: 0.9659 MB / 0.6851 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.2496, allocations: 12.03 kB / 0.6851 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.251, allocations: 187.9 kB / 0.6852 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00086/0.2518, allocations: 0.5218 MB / 0.6858 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.2519, allocations: 37.36 kB / 0.6858 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.252, allocations: 56.53 kB / 0.6858 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.2531, allocations: 0.8084 MB / 0.6866 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.2532, allocations: 15.84 kB / 0.6867 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.2532, allocations: 23.98 kB / 0.6867 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/0.2534, allocations: 68.95 kB / 0.6867 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000824/0.2543, allocations: 0.5618 MB / 0.6873 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/0.2585, allocations: 3.932 MB / 0.6911 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.259, allocations: 299.2 kB / 0.6914 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.2593, allocations: 225.3 kB / 0.6916 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.2593, allocations: 8.219 kB / 0.6916 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.2594, allocations: 42.78 kB / 0.6917 GB, free: 12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/0.2594, allocations: 3.984 kB / 0.6917 GB, free: 12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.005586/0.265, allocations: 2.63 MB / 0.6943 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.2651, allocations: 59.41 kB / 0.6943 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.2656, allocations: 466 kB / 0.6948 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.2656, allocations: 33.7 kB / 0.6948 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.2658, allocations: 331.7 kB / 0.6951 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.266, allocations: 149.9 kB / 0.6952 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.2661, allocations: 106.2 kB / 0.6953 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.2663, allocations: 362.7 kB / 0.6957 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.2666, allocations: 241 kB / 0.6959 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.2671, allocations: 418.2 kB / 0.6963 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008618/0.268, allocations: 0.6786 MB / 0.697 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.268, allocations: 4 kB / 0.697 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001553/0.2695, allocations: 0.9177 MB / 0.6979 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.2696, allocations: 12.81 kB / 0.6979 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.2696, allocations: 4 kB / 0.6979 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007591/0.2704, allocations: 222.4 kB / 0.6981 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.2708, allocations: 111.8 kB / 0.6982 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00483/0.2757, allocations: 5.336 MB / 0.7034 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.2762, allocations: 31.97 kB / 0.7035 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.2763, allocations: 28 kB / 0.7035 GB, free: 15.14 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003312/0.2766, allocations: 225.6 kB / 0.7037 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/0.2767, allocations: 59.34 kB / 0.7038 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.2782, allocations: 0.7772 MB / 0.7045 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2782, allocations: 8 kB / 0.7045 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2782, allocations: 7.938 kB / 0.7045 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2782, allocations: 3.984 kB / 0.7045 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.2805, allocations: 1.486 MB / 0.706 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2805, allocations: 4 kB / 0.706 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.2809, allocations: 68.09 kB / 0.7061 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006578/0.2815, allocations: 206.4 kB / 0.7063 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.2816, allocations: 12 kB / 0.7063 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004735/0.2863, allocations: 5.273 MB / 0.7114 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.2864, allocations: 8.094 kB / 0.7114 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.2882, allocations: 1.139 MB / 0.7125 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.2885, allocations: 168.4 kB / 0.7127 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.2886, allocations: 16 kB / 0.7127 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.2889, allocations: 24.03 kB / 0.7127 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.289, allocations: 39.83 kB / 0.7128 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.289, allocations: 16 kB / 0.7128 GB, free: 4.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003773/0.2894, allocations: 314.9 kB / 0.7131 GB, free: 4.691 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2894, allocations: 3.938 kB / 0.7131 GB, free: 4.688 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007319/0.2902, allocations: 164 kB / 0.7132 GB, free: 4.527 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001699/0.2903, allocations: 119.1 kB / 0.7134 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.292, allocations: 1.006 MB / 0.7143 GB, free: 3.355 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.292, allocations: 4.125 kB / 0.7143 GB, free: 3.352 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009092/0.2929, allocations: 0.6836 MB / 0.715 GB, free: 2.629 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/0.2938, allocations: 183.4 kB / 0.7152 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.2958, allocations: 1.262 MB / 0.7164 GB, free: 1.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.2964, allocations: 0.9455 MB / 0.7173 GB, free: 180 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003347/0.2967, allocations: 125 kB / 0.7175 GB, free: 56 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.2968, allocations: 39.44 kB / 0.7175 GB, free: 16 kB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.2968, allocations: 0 / 0.7175 GB, free: 16 kB / 0.545 GB Notification: Performance of Templates: time 0.01455/0.3114, allocations: 8.953 MB / 0.7262 GB, free: 7.176 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)