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.2013/0.2021, allocations: 82.22 MB / 0.5935 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006828/0.209, allocations: 4.811 MB / 0.5982 GB, free: 1.133 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005003/0.214, allocations: 2.613 MB / 0.6007 GB, free: 14.51 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005139/0.2146, allocations: 19.81 kB / 0.6007 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.215, allocations: 103.1 kB / 0.6008 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.2162, allocations: 350.2 kB / 0.6012 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009092/0.2171, allocations: 299.3 kB / 0.6015 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.2184, allocations: 1.022 MB / 0.6025 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.2199, allocations: 0.7398 MB / 0.6032 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005496/0.2204, allocations: 310.7 kB / 0.6035 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006751/0.2211, allocations: 382.6 kB / 0.6038 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-05/0.2212, allocations: 28 kB / 0.6039 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007424/0.2219, allocations: 183.7 kB / 0.6041 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.2222, allocations: 211.4 kB / 0.6043 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.2223, allocations: 137.4 kB / 0.6044 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008973/0.2233, allocations: 0.7132 MB / 0.6051 GB, free: 10 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2233, allocations: 0 / 0.6051 GB, free: 10 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2233, allocations: 0 / 0.6051 GB, free: 10 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.2233, allocations: 3.938 kB / 0.6051 GB, free: 10 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001539/0.2248, allocations: 0.8413 MB / 0.6059 GB, free: 9.105 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.2249, allocations: 8.031 kB / 0.6059 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.2262, allocations: 191 kB / 0.6061 GB, free: 8.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/0.227, allocations: 485.3 kB / 0.6066 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.227, allocations: 36.98 kB / 0.6066 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/0.2273, allocations: 48 kB / 0.6066 GB, free: 8.312 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.2285, allocations: 0.8091 MB / 0.6074 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.2285, allocations: 7.938 kB / 0.6074 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.2286, allocations: 23.98 kB / 0.6075 GB, free: 7.387 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.2288, allocations: 68.94 kB / 0.6075 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.2296, allocations: 0.5579 MB / 0.6081 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/0.2341, allocations: 3.967 MB / 0.6119 GB, free: 2.594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.2347, allocations: 303.2 kB / 0.6122 GB, free: 2.289 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000506/0.2352, allocations: 221.3 kB / 0.6124 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.2353, allocations: 4.281 kB / 0.6124 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.2354, allocations: 42.84 kB / 0.6125 GB, free: 2.016 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 4.628e-06/0.2355, allocations: 0 / 0.6125 GB, free: 2.016 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.005878/0.2413, allocations: 2.642 MB / 0.6151 GB, free: 15.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.2414, allocations: 55.41 kB / 0.6151 GB, free: 15.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.2419, allocations: 458 kB / 0.6156 GB, free: 14.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.242, allocations: 33.7 kB / 0.6156 GB, free: 14.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.2424, allocations: 331.8 kB / 0.6159 GB, free: 14.35 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.2426, allocations: 149.9 kB / 0.616 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.2426, allocations: 8 kB / 0.6161 GB, free: 14.19 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.2428, allocations: 366.8 kB / 0.6164 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.2432, allocations: 237 kB / 0.6166 GB, free: 13.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.2437, allocations: 410.4 kB / 0.617 GB, free: 13.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.2441, allocations: 290.5 kB / 0.6173 GB, free: 12.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2441, allocations: 4 kB / 0.6173 GB, free: 12.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001676/0.2458, allocations: 0.9293 MB / 0.6182 GB, free: 11.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.2459, allocations: 8 kB / 0.6182 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2459, allocations: 4 kB / 0.6182 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007878/0.2467, allocations: 222.6 kB / 0.6184 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.2473, allocations: 111.8 kB / 0.6185 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00546/0.2528, allocations: 4.934 MB / 0.6234 GB, free: 6.207 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.2535, allocations: 36.03 kB / 0.6234 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.2535, allocations: 20 kB / 0.6234 GB, free: 6.152 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003849/0.2539, allocations: 229.5 kB / 0.6236 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.254, allocations: 55.48 kB / 0.6237 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.2556, allocations: 0.7857 MB / 0.6245 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2556, allocations: 4 kB / 0.6245 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2556, allocations: 4 kB / 0.6245 GB, free: 5.055 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.2556, allocations: 7.938 kB / 0.6245 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.2584, allocations: 1.482 MB / 0.6259 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.2584, allocations: 4 kB / 0.6259 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.2587, allocations: 71.88 kB / 0.626 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006008/0.2594, allocations: 202.6 kB / 0.6262 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.2594, allocations: 8.188 kB / 0.6262 GB, free: 3.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/0.2644, allocations: 4.876 MB / 0.631 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2645, allocations: 0 / 0.631 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.2665, allocations: 1.127 MB / 0.6321 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.2668, allocations: 180.4 kB / 0.6322 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.2668, allocations: 12 kB / 0.6322 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.2671, allocations: 23.97 kB / 0.6323 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.2672, allocations: 39.91 kB / 0.6323 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.2673, allocations: 8 kB / 0.6323 GB, free: 12.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003581/0.2676, allocations: 318.8 kB / 0.6326 GB, free: 12.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2676, allocations: 0 / 0.6326 GB, free: 12.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007112/0.2684, allocations: 168 kB / 0.6328 GB, free: 11.98 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.2685, allocations: 122.7 kB / 0.6329 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.2702, allocations: 1.002 MB / 0.6339 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2702, allocations: 0 / 0.6339 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009331/0.2712, allocations: 0.6799 MB / 0.6345 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009575/0.2721, allocations: 163.6 kB / 0.6347 GB, free: 9.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.2743, allocations: 1.499 MB / 0.6361 GB, free: 8.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.2751, allocations: 0.9456 MB / 0.6371 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005771/0.2757, allocations: 113 kB / 0.6372 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.2758, allocations: 47.38 kB / 0.6372 GB, free: 7.262 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2758, allocations: 0 / 0.6372 GB, free: 7.262 MB / 494.1 MB Notification: Performance of Templates: time 0.01731/0.2931, allocations: 8.137 MB / 0.6452 GB, free: 15.27 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: