Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [: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.7552/0.7552, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001244/0.001245, allocations: 174.6 kB / 171.6 MB, free: 1.98 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.664/1.664, allocations: 170.5 MB / 373.8 MB, free: 15.85 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.001697/0.001698, allocations: 115.4 kB / 444.4 MB, free: 9.387 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.5503/0.5503, allocations: 73.39 MB / 0.666 GB, free: 62.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.7126, allocations: 123.8 MB / 0.7869 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.7129, allocations: 94.94 kB / 0.787 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.09276/0.8057, allocations: 36.93 MB / 0.8231 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.947e-05/0.8058, allocations: 20 kB / 0.8231 GB, free: 7.121 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002089/0.8079, allocations: 0.8547 MB / 0.824 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.808, allocations: 12.03 kB / 0.824 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.81, allocations: 214.8 kB / 0.8242 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.8117, allocations: 0.5312 MB / 0.8247 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.8117, allocations: 20 kB / 0.8247 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.8119, allocations: 43.84 kB / 0.8247 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001209/0.8131, allocations: 0.5538 MB / 0.8253 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.8148, allocations: 0.9828 MB / 0.8262 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.155e-05/0.8149, allocations: 7.938 kB / 0.8263 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/0.815, allocations: 7.906 kB / 0.8263 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.8151, allocations: 61.27 kB / 0.8263 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005612/0.8207, allocations: 4.614 MB / 0.8308 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.8213, allocations: 403.7 kB / 0.8312 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.8218, allocations: 299.8 kB / 0.8315 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.8218, allocations: 11.44 kB / 0.8315 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.8219, allocations: 34.56 kB / 0.8315 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=41): time 2.264e-06/0.8219, allocations: 4 kB / 0.8315 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=42): time 0.002549/0.8244, allocations: 1.123 MB / 0.8326 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.8245, allocations: 67.33 kB / 0.8327 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.8249, allocations: 317.1 kB / 0.833 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.8249, allocations: 25.7 kB / 0.833 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.8252, allocations: 323.1 kB / 0.8333 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.8253, allocations: 138 kB / 0.8335 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.8253, allocations: 0 / 0.8335 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.8255, allocations: 359.1 kB / 0.8338 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.8258, allocations: 233.2 kB / 0.834 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.8263, allocations: 414 kB / 0.8344 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.8267, allocations: 299.6 kB / 0.8347 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8267, allocations: 0 / 0.8347 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001794/0.8285, allocations: 0.9048 MB / 0.8356 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.8286, allocations: 4 kB / 0.8356 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.8286, allocations: 8 kB / 0.8356 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.8296, allocations: 279.7 kB / 0.8359 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.83, allocations: 99.73 kB / 0.836 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007711/0.8377, allocations: 6.196 MB / 0.842 GB, free: 2.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/0.8385, allocations: 15.98 kB / 0.842 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.8386, allocations: 27.91 kB / 0.8421 GB, free: 2.652 MB / 0.5417 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 (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002778/0.8389, allocations: 128.8 kB / 0.8422 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.8391, allocations: 51.44 kB / 0.8422 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.8412, allocations: 0.8259 MB / 0.843 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.8413, allocations: 4 kB / 0.843 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/0.8413, allocations: 8 kB / 0.8431 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.8413, allocations: 3.984 kB / 0.8431 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.8449, allocations: 1.518 MB / 0.8445 GB, free: 12 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.8449, allocations: 0 / 0.8445 GB, free: 12 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.8452, allocations: 51.84 kB / 0.8446 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009825/0.8462, allocations: 275.4 kB / 0.8449 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.8462, allocations: 4 kB / 0.8449 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007025/0.8533, allocations: 6.19 MB / 0.8509 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/0.8533, allocations: 0 / 0.8509 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00186/0.8552, allocations: 0.9904 MB / 0.8519 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.8556, allocations: 172.4 kB / 0.852 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.8557, allocations: 4 kB / 0.852 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.856, allocations: 12.05 kB / 0.8521 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.8561, allocations: 27.88 kB / 0.8521 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.8561, allocations: 8 kB / 0.8521 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.000322/0.8565, allocations: 247.2 kB / 0.8523 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008965/0.8574, allocations: 156 kB / 0.8525 GB, free: 7.312 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002061/0.8576, allocations: 113.1 kB / 0.8526 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001978/0.8596, allocations: 1.074 MB / 0.8536 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.8596, allocations: 0 / 0.8536 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.8609, allocations: 0.7685 MB / 0.8544 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009167/0.8618, allocations: 150.2 kB / 0.8545 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.8641, allocations: 0.9315 MB / 0.8554 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007752/0.8649, allocations: 1.02 MB / 0.8564 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of SimCode: time 1.482e-06/0.8649, allocations: 0 / 0.8564 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of Templates: time 0.01788/0.8828, allocations: 8.656 MB / 0.8649 GB, free: 10.52 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)