Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") [: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.7787/0.7787, 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.0009691/0.0009692, allocations: 171 kB / 171.6 MB, free: 2.004 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.216/1.216, allocations: 170.5 MB / 373.8 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.001742/0.001742, allocations: 114.2 kB / 444.4 MB, free: 9.457 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.6241/0.6241, allocations: 73.39 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.8172, allocations: 135.4 MB / 0.7983 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/0.8176, allocations: 93.67 kB / 0.7984 GB, free: 0.6914 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:41:5-41:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd: time 0.05161/0.8692, allocations: 20.03 MB / 0.8179 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.824e-05/0.8693, allocations: 4 kB / 0.8179 GB, free: 12.59 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001289/0.8706, allocations: 0.5822 MB / 0.8185 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.8707, allocations: 11.97 kB / 0.8185 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.8719, allocations: 119.5 kB / 0.8186 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.8726, allocations: 278.9 kB / 0.8189 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.8726, allocations: 4 kB / 0.8189 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.8727, allocations: 20 kB / 0.8189 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005341/0.8732, allocations: 261 kB / 0.8192 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.8738, allocations: 367.4 kB / 0.8195 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.8739, allocations: 0 / 0.8195 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.8739, allocations: 7.938 kB / 0.8195 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/0.874, allocations: 32.47 kB / 0.8195 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.8768, allocations: 1.805 MB / 0.8213 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.8773, allocations: 289.5 kB / 0.8216 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.8777, allocations: 178 kB / 0.8218 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.8778, allocations: 81.3 kB / 0.8218 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.8779, allocations: 42.75 kB / 0.8219 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 1.943e-06/0.8779, allocations: 0 / 0.8219 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.002472/0.8804, allocations: 0.8944 MB / 0.8227 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.8804, allocations: 89.09 kB / 0.8228 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.8806, allocations: 195.8 kB / 0.823 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.8807, allocations: 25.7 kB / 0.823 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.8808, allocations: 168.1 kB / 0.8232 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.8809, allocations: 114.3 kB / 0.8233 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.8809, allocations: 0 / 0.8233 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.8811, allocations: 342.7 kB / 0.8236 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.8814, allocations: 164.8 kB / 0.8238 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.8817, allocations: 269.5 kB / 0.8241 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.8822, allocations: 231.5 kB / 0.8243 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8822, allocations: 0 / 0.8243 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001212/0.8834, allocations: 0.592 MB / 0.8248 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006403/0.8841, allocations: 1.221 MB / 0.826 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.8841, allocations: 7.984 kB / 0.826 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004675/0.8846, allocations: 135.3 kB / 0.8262 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.885, allocations: 95.88 kB / 0.8263 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/0.8884, allocations: 3.81 MB / 0.83 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.8887, allocations: 31.88 kB / 0.83 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.8888, allocations: 28.03 kB / 0.83 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.8888, allocations: 4 kB / 0.8301 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001057/0.8899, allocations: 0.5215 MB / 0.8306 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8899, allocations: 4 kB / 0.8306 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.8902, allocations: 131.3 kB / 0.8307 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.8907, allocations: 103.9 kB / 0.8308 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007538/0.8914, allocations: 1.124 MB / 0.8319 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.8918, allocations: 31.97 kB / 0.8319 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.8918, allocations: 16.09 kB / 0.8319 GB, free: 13.36 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conversion.P_n[1]:DUMMY_STATE(unit = "W" protected = true ) "Power transmitted at pin n (primary)" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002397/0.8921, allocations: 134.6 kB / 0.8321 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.8922, allocations: 26.41 kB / 0.8321 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.8933, allocations: 0.5406 MB / 0.8326 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.8933, allocations: 4 kB / 0.8326 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.8934, allocations: 7.984 kB / 0.8326 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.8934, allocations: 0 / 0.8326 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.8957, allocations: 1.227 MB / 0.8338 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8957, allocations: 0 / 0.8338 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.896, allocations: 77.33 kB / 0.8339 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003963/0.8964, allocations: 139.3 kB / 0.834 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.8965, allocations: 8 kB / 0.834 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.8996, allocations: 3.848 MB / 0.8378 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.8996, allocations: 4 kB / 0.8378 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001113/0.9007, allocations: 0.8212 MB / 0.8386 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.9009, allocations: 140.8 kB / 0.8387 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.901, allocations: 0.5625 kB / 0.8387 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.9013, allocations: 39.88 kB / 0.8388 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.9014, allocations: 19.97 kB / 0.8388 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.9014, allocations: 12.81 kB / 0.8388 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.000154/0.9016, allocations: 152.5 kB / 0.839 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008594/0.9025, allocations: 159.9 kB / 0.8391 GB, free: 5.496 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003458/0.9028, allocations: 139.1 kB / 0.8392 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.9045, allocations: 1.037 MB / 0.8402 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.9045, allocations: 0 / 0.8402 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000606/0.9051, allocations: 424.3 kB / 0.8407 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.9055, allocations: 46.73 kB / 0.8407 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.907, allocations: 0.5824 MB / 0.8413 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007194/0.9078, allocations: 0.8346 MB / 0.8421 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/0.9078, allocations: 4 kB / 0.8421 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of Templates: time 0.01482/0.9226, allocations: 6.802 MB / 0.8487 GB, free: 11.54 MB / 0.5573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)