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.2012/0.2033, allocations: 80.83 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007191/0.2105, allocations: 5.434 MB / 0.6759 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004909/0.2155, allocations: 2.783 MB / 0.6787 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.216, allocations: 23.81 kB / 0.6787 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.2179, allocations: 0.6807 MB / 0.6793 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.219, allocations: 433.8 kB / 0.6798 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.2201, allocations: 414.3 kB / 0.6802 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.2211, allocations: 0.9319 MB / 0.6811 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006821/0.2218, allocations: 454.5 kB / 0.6815 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.2223, allocations: 378.5 kB / 0.6819 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006147/0.223, allocations: 418.5 kB / 0.6823 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.545e-05/0.223, allocations: 48 kB / 0.6823 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006719/0.2237, allocations: 355.2 kB / 0.6826 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.224, allocations: 239.4 kB / 0.6829 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.2243, allocations: 338.3 kB / 0.6832 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.2253, allocations: 0.9499 MB / 0.6841 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2254, allocations: 0 / 0.6841 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.706e-06/0.2254, allocations: 0 / 0.6841 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.2254, allocations: 7.984 kB / 0.6841 GB, free: 4.152 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.001986/0.2274, allocations: 0.962 MB / 0.6851 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.2275, allocations: 12.03 kB / 0.6851 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.229, allocations: 191.8 kB / 0.6853 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.23, allocations: 0.518 MB / 0.6858 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.2301, allocations: 37.36 kB / 0.6858 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.2302, allocations: 52.55 kB / 0.6859 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.2315, allocations: 0.8084 MB / 0.6866 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.2315, allocations: 11.91 kB / 0.6867 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.2316, allocations: 35.92 kB / 0.6867 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/0.2318, allocations: 64.94 kB / 0.6867 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008223/0.2326, allocations: 0.5618 MB / 0.6873 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004321/0.237, allocations: 3.936 MB / 0.6911 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.2375, allocations: 295.3 kB / 0.6914 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.2378, allocations: 225.3 kB / 0.6916 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.2378, allocations: 8.219 kB / 0.6916 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2379, allocations: 38.84 kB / 0.6917 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 3.026e-06/0.2379, allocations: 0 / 0.6917 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.005551/0.2434, allocations: 2.637 MB / 0.6943 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.2435, allocations: 55.41 kB / 0.6943 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/0.2441, allocations: 462 kB / 0.6948 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.2441, allocations: 33.7 kB / 0.6948 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.2444, allocations: 335.7 kB / 0.6951 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.2445, allocations: 142 kB / 0.6952 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.2447, allocations: 114.1 kB / 0.6953 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2449, allocations: 362.7 kB / 0.6957 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.2452, allocations: 241 kB / 0.6959 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.2457, allocations: 414.2 kB / 0.6963 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008293/0.2465, allocations: 0.6786 MB / 0.697 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2466, allocations: 4 kB / 0.697 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001652/0.2482, allocations: 0.9215 MB / 0.6979 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.2482, allocations: 8 kB / 0.6979 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2483, allocations: 4 kB / 0.6979 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008511/0.2491, allocations: 230.4 kB / 0.6981 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.2497, allocations: 111.8 kB / 0.6982 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/0.2551, allocations: 5.343 MB / 0.7034 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/0.2558, allocations: 31.97 kB / 0.7035 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.2559, 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.0004004/0.2563, allocations: 225.7 kB / 0.7037 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.2564, allocations: 55.34 kB / 0.7038 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.258, allocations: 0.7773 MB / 0.7045 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.258, allocations: 4 kB / 0.7045 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.258, allocations: 11.92 kB / 0.7045 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.258, allocations: 192 / 0.7045 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.2608, allocations: 1.494 MB / 0.706 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2608, allocations: 224 / 0.706 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.2612, allocations: 67.89 kB / 0.7061 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006543/0.2618, allocations: 198.4 kB / 0.7063 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.2619, allocations: 19.98 kB / 0.7063 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005127/0.267, allocations: 5.277 MB / 0.7114 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.267, allocations: 4.031 kB / 0.7114 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.2689, allocations: 1.143 MB / 0.7125 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/0.2692, allocations: 164.4 kB / 0.7127 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.2693, allocations: 20.06 kB / 0.7127 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.2696, allocations: 23.97 kB / 0.7127 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2698, allocations: 35.83 kB / 0.7128 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.2698, allocations: 16 kB / 0.7128 GB, free: 5.008 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003884/0.2702, allocations: 314.9 kB / 0.7131 GB, free: 4.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2702, allocations: 4 kB / 0.7131 GB, free: 4.699 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007565/0.271, allocations: 160 kB / 0.7133 GB, free: 4.543 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.0001779/0.2712, allocations: 119.1 kB / 0.7134 GB, free: 4.414 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.2729, allocations: 1.014 MB / 0.7144 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.2729, allocations: 0 / 0.7144 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009616/0.2738, allocations: 0.6798 MB / 0.715 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009441/0.2748, allocations: 182.7 kB / 0.7152 GB, free: 2.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.2769, allocations: 1.265 MB / 0.7164 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.2775, allocations: 0.9417 MB / 0.7173 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003571/0.2779, allocations: 121 kB / 0.7175 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.278, allocations: 39.44 kB / 0.7175 GB, free: 36 kB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.278, allocations: 0 / 0.7175 GB, free: 36 kB / 0.545 GB Notification: Performance of Templates: time 0.01668/0.2947, allocations: 9.143 MB / 0.7264 GB, free: 7.004 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)