Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [: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.7467/0.7467, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001257/0.001257, allocations: 171.7 kB / 171.6 MB, free: 2.031 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.607/1.607, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001939/0.001939, allocations: 112.7 kB / 444.4 MB, free: 9.375 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.5173/0.5173, allocations: 73.39 MB / 0.666 GB, free: 61.53 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.6824, allocations: 116.5 MB / 0.7798 GB, free: 3.48 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.6827, allocations: 93.34 kB / 0.7799 GB, free: 3.391 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.07186/0.7546, allocations: 27.61 MB / 0.8069 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.595e-05/0.7546, allocations: 8 kB / 0.8069 GB, free: 7.656 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001307/0.756, allocations: 0.6807 MB / 0.8075 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.756, allocations: 12.03 kB / 0.8075 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.7578, allocations: 183.1 kB / 0.8077 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000725/0.7585, allocations: 398.3 kB / 0.8081 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.7586, allocations: 16 kB / 0.8081 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-05/0.7586, allocations: 19.98 kB / 0.8081 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006473/0.7593, allocations: 357.2 kB / 0.8085 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008653/0.7602, allocations: 0.6303 MB / 0.8091 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.7602, allocations: 11.94 kB / 0.8091 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.212e-05/0.7603, allocations: 4 kB / 0.8091 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.071e-05/0.7604, allocations: 47.95 kB / 0.8091 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003491/0.7639, allocations: 3.25 MB / 0.8123 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/0.7647, allocations: 440.3 kB / 0.8127 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.765, allocations: 174.5 kB / 0.8129 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.765, allocations: 7.984 kB / 0.8129 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.765, allocations: 34.75 kB / 0.8129 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.765, allocations: 11.88 kB / 0.813 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001634/0.7667, allocations: 0.8176 MB / 0.8138 GB, free: 208 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.7668, allocations: 110.8 kB / 0.8139 GB, free: 72 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.7672, allocations: 292.8 kB / 0.8141 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.7672, allocations: 29.7 kB / 0.8142 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.7674, allocations: 235.5 kB / 0.8144 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.7675, allocations: 114.3 kB / 0.8145 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.7675, allocations: 0 / 0.8145 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7677, allocations: 350.8 kB / 0.8148 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.7679, allocations: 169 kB / 0.815 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.7683, allocations: 348.6 kB / 0.8153 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.7687, allocations: 225.5 kB / 0.8155 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.7687, allocations: 0 / 0.8155 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001017/0.7697, allocations: 0.6185 MB / 0.8161 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.7697, allocations: 4.094 kB / 0.8161 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.7698, allocations: 8 kB / 0.8162 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.7701, allocations: 90.52 kB / 0.8162 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.7705, allocations: 106 kB / 0.8163 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.7741, allocations: 3.866 MB / 0.8201 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.7746, allocations: 16.14 kB / 0.8201 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.7746, allocations: 24 kB / 0.8202 GB, free: 9.145 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.7748, allocations: 120.8 kB / 0.8203 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.7749, allocations: 43.44 kB / 0.8203 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009391/0.7759, allocations: 0.5046 MB / 0.8208 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7759, allocations: 4 kB / 0.8208 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.7759, allocations: 7.984 kB / 0.8208 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.7759, allocations: 0 / 0.8208 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.7779, allocations: 1.225 MB / 0.822 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.778, allocations: 0 / 0.822 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.7782, allocations: 59.91 kB / 0.8221 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002877/0.7785, allocations: 94.78 kB / 0.8222 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.7786, allocations: 7.938 kB / 0.8222 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/0.7821, allocations: 3.835 MB / 0.8259 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.7821, allocations: 7.906 kB / 0.8259 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001212/0.7834, allocations: 0.9068 MB / 0.8268 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.7837, allocations: 152.5 kB / 0.827 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.7838, allocations: 4 kB / 0.827 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.7841, allocations: 11.98 kB / 0.827 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.7842, allocations: 27.91 kB / 0.827 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.7842, allocations: 15.94 kB / 0.827 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003127/0.7846, allocations: 231.2 kB / 0.8272 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007921/0.7854, allocations: 107.9 kB / 0.8273 GB, free: 1.203 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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 {(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.000235/0.7856, allocations: 111.1 kB / 0.8274 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.7869, allocations: 0.7498 MB / 0.8282 GB, free: 316 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.787, allocations: 4 kB / 0.8282 GB, free: 312 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007531/0.7877, allocations: 0.51 MB / 0.8287 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.7884, allocations: 103.7 kB / 0.8288 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.7899, allocations: 0.6634 MB / 0.8294 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007001/0.7906, allocations: 0.9088 MB / 0.8303 GB, free: 14 MB / 0.5417 GB Notification: Performance of SimCode: time 3.4e-07/0.7907, allocations: 0 / 0.8303 GB, free: 14 MB / 0.5417 GB Notification: Performance of Templates: time 0.01135/0.802, allocations: 5.544 MB / 0.8357 GB, free: 8.539 MB / 0.5417 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)