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.1842/0.1849, allocations: 82.22 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005575/0.1905, allocations: 4.638 MB / 0.5979 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.1945, allocations: 2.59 MB / 0.6004 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.1948, allocations: 19.81 kB / 0.6005 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.195, allocations: 95.36 kB / 0.6005 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007929/0.1958, allocations: 338.9 kB / 0.6009 GB, free: 14.31 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.1965, allocations: 303.3 kB / 0.6012 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006565/0.1972, allocations: 0.559 MB / 0.6017 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.1983, allocations: 0.746 MB / 0.6024 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.1986, allocations: 275 kB / 0.6027 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.1991, allocations: 306.8 kB / 0.603 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.1991, allocations: 28 kB / 0.603 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.1994, allocations: 159.7 kB / 0.6032 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1996, allocations: 187.5 kB / 0.6033 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1997, allocations: 141.3 kB / 0.6035 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.2004, allocations: 0.6859 MB / 0.6041 GB, free: 10.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2004, allocations: 0 / 0.6041 GB, free: 10.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2004, allocations: 0 / 0.6041 GB, free: 10.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.2004, allocations: 0 / 0.6041 GB, free: 10.91 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.001356/0.2018, allocations: 0.8373 MB / 0.605 GB, free: 10.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2018, allocations: 11.97 kB / 0.605 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.2029, allocations: 183 kB / 0.6052 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007362/0.2037, allocations: 477.5 kB / 0.6056 GB, free: 9.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.2037, allocations: 37 kB / 0.6056 GB, free: 9.285 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.2039, allocations: 55.88 kB / 0.6057 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.205, allocations: 0.8082 MB / 0.6065 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.205, allocations: 7.938 kB / 0.6065 GB, free: 8.328 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/0.2051, allocations: 16 kB / 0.6065 GB, free: 8.312 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/0.2053, allocations: 68.95 kB / 0.6066 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008176/0.2061, allocations: 0.5541 MB / 0.6071 GB, free: 7.691 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.2101, allocations: 3.959 MB / 0.611 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.2106, allocations: 299.3 kB / 0.6113 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.2106, allocations: 8.266 kB / 0.6113 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.2106, allocations: 38.84 kB / 0.6113 GB, free: 3.176 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.494e-06/0.2106, allocations: 0 / 0.6113 GB, free: 3.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.005447/0.2161, allocations: 2.639 MB / 0.6139 GB, free: 420 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.2162, allocations: 55.41 kB / 0.6139 GB, free: 352 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.2168, allocations: 458.1 kB / 0.6144 GB, free: 15.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.2169, allocations: 33.7 kB / 0.6144 GB, free: 15.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.2172, allocations: 339.7 kB / 0.6147 GB, free: 15.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.2173, allocations: 145.9 kB / 0.6149 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.2173, allocations: 12 kB / 0.6149 GB, free: 15.35 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2175, allocations: 370.8 kB / 0.6152 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.2179, allocations: 232.9 kB / 0.6155 GB, free: 14.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.2183, allocations: 402.5 kB / 0.6158 GB, free: 14.28 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.2188, allocations: 298.5 kB / 0.6161 GB, free: 13.99 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2188, allocations: 4 kB / 0.6161 GB, free: 13.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001593/0.2204, allocations: 0.9211 MB / 0.617 GB, free: 13.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2204, allocations: 4 kB / 0.617 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.2204, allocations: 8 kB / 0.617 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007826/0.2212, allocations: 235 kB / 0.6173 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.2217, allocations: 111.8 kB / 0.6174 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004929/0.2267, allocations: 5.013 MB / 0.6223 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.2271, allocations: 31.97 kB / 0.6223 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.2272, allocations: 23.98 kB / 0.6223 GB, free: 7.227 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.0003092/0.2275, allocations: 217.7 kB / 0.6225 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.2276, allocations: 59.41 kB / 0.6226 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.229, allocations: 0.7779 MB / 0.6233 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.2291, allocations: 11.94 kB / 0.6234 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2291, allocations: 4 kB / 0.6234 GB, free: 6.137 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2291, allocations: 11.88 kB / 0.6234 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.2315, allocations: 1.474 MB / 0.6248 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2315, allocations: 4 kB / 0.6248 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.2319, allocations: 68.16 kB / 0.6249 GB, free: 4.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006506/0.2325, allocations: 210.5 kB / 0.6251 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.2326, allocations: 8 kB / 0.6251 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004671/0.2373, allocations: 4.954 MB / 0.6299 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2373, allocations: 0 / 0.6299 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.2391, allocations: 1.211 MB / 0.6311 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.2393, allocations: 176.4 kB / 0.6313 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.2394, allocations: 20.33 kB / 0.6313 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.2397, allocations: 19.97 kB / 0.6313 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.2398, allocations: 43.89 kB / 0.6314 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.2398, allocations: 12 kB / 0.6314 GB, free: 13.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003226/0.2401, allocations: 310.9 kB / 0.6317 GB, free: 13.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2402, allocations: 0 / 0.6317 GB, free: 13.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006766/0.2408, allocations: 164 kB / 0.6318 GB, free: 12.86 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.0001499/0.241, allocations: 115.2 kB / 0.6319 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.2426, allocations: 0.9965 MB / 0.6329 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.2426, allocations: 8 kB / 0.6329 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008946/0.2435, allocations: 0.6798 MB / 0.6336 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000711/0.2442, allocations: 163.4 kB / 0.6337 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.2463, allocations: 1.491 MB / 0.6352 GB, free: 9.285 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.2469, allocations: 0.9611 MB / 0.6361 GB, free: 8.293 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.2472, allocations: 120.9 kB / 0.6362 GB, free: 8.172 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.2473, allocations: 43.44 kB / 0.6363 GB, free: 8.129 MB / 494.1 MB Notification: Performance of SimCode: time 1.674e-06/0.2473, allocations: 0 / 0.6363 GB, free: 8.129 MB / 494.1 MB Notification: Performance of Templates: time 0.01335/0.2607, allocations: 8.133 MB / 0.6442 GB, free: 152 kB / 494.1 MB 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: