Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7429/0.7429, allocations: 132.4 MB / 139.7 MB, free: 15.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00112/0.00112, allocations: 166.7 kB / 171.6 MB, free: 1.973 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.523/1.523, allocations: 170.5 MB / 373.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001826/0.001826, allocations: 110 kB / 444.4 MB, free: 9.445 MB / 346.7 MB [/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.5834/0.5834, allocations: 73.39 MB / 0.666 GB, free: 62.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.7541, allocations: 117.1 MB / 0.7804 GB, free: 3.129 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.7545, allocations: 92.44 kB / 0.7805 GB, free: 3.039 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.1013/0.8558, allocations: 30.23 MB / 0.81 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.642e-05/0.8559, allocations: 19.98 kB / 0.81 GB, free: 4.637 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002104/0.858, allocations: 0.7923 MB / 0.8108 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.8581, allocations: 8.031 kB / 0.8108 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.8609, allocations: 194.9 kB / 0.811 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.8624, allocations: 492.3 kB / 0.8115 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.8625, allocations: 16 kB / 0.8115 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.8626, allocations: 31.91 kB / 0.8115 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001283/0.8639, allocations: 433.8 kB / 0.8119 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.8657, allocations: 0.8496 MB / 0.8128 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/0.8658, allocations: 7.938 kB / 0.8128 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.652e-05/0.8659, allocations: 11.92 kB / 0.8128 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.866, allocations: 52.75 kB / 0.8128 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007872/0.8739, allocations: 5.033 MB / 0.8177 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.875, allocations: 422.3 kB / 0.8182 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/0.8756, allocations: 224.8 kB / 0.8184 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.8757, allocations: 8 kB / 0.8184 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.8757, allocations: 34.55 kB / 0.8184 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 4.068e-06/0.8757, allocations: 0 / 0.8184 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.003096/0.8788, allocations: 0.8314 MB / 0.8192 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.8789, allocations: 55.41 kB / 0.8193 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.8797, allocations: 366 kB / 0.8196 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.8797, allocations: 25.7 kB / 0.8196 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.88, allocations: 291.4 kB / 0.8199 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.8802, allocations: 114.4 kB / 0.82 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.8803, allocations: 0 / 0.82 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002676/0.8806, allocations: 362.7 kB / 0.8204 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.8811, allocations: 185.2 kB / 0.8206 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008321/0.882, allocations: 397.5 kB / 0.8209 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.8827, allocations: 247.7 kB / 0.8212 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.8827, allocations: 4 kB / 0.8212 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002264/0.885, allocations: 0.7119 MB / 0.8219 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.885, allocations: 4 kB / 0.8219 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.8851, allocations: 8 kB / 0.8219 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009817/0.886, allocations: 160.7 kB / 0.822 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009239/0.887, allocations: 110.2 kB / 0.8221 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005294/0.8923, allocations: 3.862 MB / 0.8259 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/0.8931, allocations: 15.98 kB / 0.8259 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/0.8932, allocations: 27.94 kB / 0.826 GB, free: 3.254 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002286/0.8934, allocations: 125.9 kB / 0.8261 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.8936, allocations: 51.34 kB / 0.8261 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.8955, allocations: 0.5847 MB / 0.8267 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.8956, allocations: 11.91 kB / 0.8267 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8956, allocations: 0 / 0.8267 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.8956, allocations: 0 / 0.8267 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/0.8989, allocations: 1.192 MB / 0.8279 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.8989, allocations: 4 kB / 0.8279 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.8994, allocations: 47.91 kB / 0.8279 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007997/0.9002, allocations: 148.4 kB / 0.8281 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.9002, allocations: 5.938 kB / 0.8281 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/0.9051, allocations: 3.836 MB / 0.8318 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.9052, allocations: 7.922 kB / 0.8318 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001978/0.9071, allocations: 0.7756 MB / 0.8326 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/0.9076, allocations: 168.4 kB / 0.8327 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.9077, allocations: 0 / 0.8327 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.9082, allocations: 18.61 kB / 0.8328 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.9083, allocations: 19.92 kB / 0.8328 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.9084, allocations: 15.91 kB / 0.8328 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.000522/0.9089, allocations: 270.9 kB / 0.833 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001234/0.9102, allocations: 127.9 kB / 0.8332 GB, free: 11.29 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000247/0.9104, allocations: 107.2 kB / 0.8333 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002168/0.9126, allocations: 0.9714 MB / 0.8342 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.9127, allocations: 0 / 0.8342 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.9141, allocations: 0.693 MB / 0.8349 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.9155, allocations: 159.3 kB / 0.835 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.9179, allocations: 0.77 MB / 0.8358 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008713/0.9188, allocations: 0.9522 MB / 0.8367 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of SimCode: time 3.196e-06/0.9188, allocations: 0 / 0.8367 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of Templates: time 0.02269/0.9415, allocations: 7.029 MB / 0.8436 GB, free: 492 kB / 0.5417 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)