Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.7533/0.7533, 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.001204/0.001204, allocations: 171.2 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.595/1.595, allocations: 170.5 MB / 373.9 MB, free: 15.93 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.001799/0.001799, allocations: 108.5 kB / 444.4 MB, free: 9.461 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.4664/0.4664, allocations: 73.39 MB / 0.666 GB, free: 62.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.6411, allocations: 134 MB / 0.7968 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.6415, allocations: 97.28 kB / 0.7969 GB, free: 2.148 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.05016/0.6916, allocations: 19.81 MB / 0.8163 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.336e-05/0.6917, allocations: 4 kB / 0.8163 GB, free: 14.28 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.001091/0.6928, allocations: 0.5786 MB / 0.8168 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.6929, allocations: 12.03 kB / 0.8169 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.6941, allocations: 123.5 kB / 0.817 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.6946, allocations: 278.4 kB / 0.8172 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.6947, allocations: 8 kB / 0.8172 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.6947, allocations: 12 kB / 0.8173 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005025/0.6952, allocations: 265 kB / 0.8175 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.6958, allocations: 367.4 kB / 0.8179 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.6958, allocations: 0 / 0.8179 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.6959, allocations: 0 / 0.8179 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-05/0.696, allocations: 32.47 kB / 0.8179 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.6986, allocations: 1.808 MB / 0.8197 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.699, allocations: 285.5 kB / 0.8199 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.6994, allocations: 182 kB / 0.8201 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.6996, allocations: 89.28 kB / 0.8202 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.6996, allocations: 34.75 kB / 0.8202 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.6996, allocations: 4 kB / 0.8202 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.00247/0.7021, allocations: 0.8922 MB / 0.8211 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.7022, allocations: 81.11 kB / 0.8212 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.7024, allocations: 195.8 kB / 0.8214 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.7025, allocations: 25.7 kB / 0.8214 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.7026, allocations: 168 kB / 0.8215 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.7027, allocations: 114.3 kB / 0.8217 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.7027, allocations: 0 / 0.8217 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7029, allocations: 342.7 kB / 0.822 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.7032, allocations: 164.8 kB / 0.8221 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.7036, allocations: 265.5 kB / 0.8224 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.7041, allocations: 235.5 kB / 0.8226 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7041, allocations: 0 / 0.8226 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001147/0.7052, allocations: 0.5903 MB / 0.8232 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005661/0.7058, allocations: 1.217 MB / 0.8244 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.7058, allocations: 4 kB / 0.8244 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004345/0.7063, allocations: 135.3 kB / 0.8245 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.7068, allocations: 109.2 kB / 0.8246 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.71, allocations: 3.813 MB / 0.8283 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.7104, allocations: 39.75 kB / 0.8284 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.7104, allocations: 16.81 kB / 0.8284 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/0.7105, allocations: 4 kB / 0.8284 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001088/0.7116, allocations: 0.5211 MB / 0.8289 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7116, allocations: 4.406 kB / 0.8289 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003823/0.712, allocations: 135.3 kB / 0.829 GB, free: 388 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.7124, allocations: 107.8 kB / 0.8291 GB, free: 280 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000805/0.7132, allocations: 1.12 MB / 0.8302 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.7136, allocations: 27.97 kB / 0.8303 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.7136, allocations: 20 kB / 0.8303 GB, free: 15.05 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.0002295/0.7138, allocations: 139.7 kB / 0.8304 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-05/0.7139, allocations: 23.72 kB / 0.8304 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.7151, allocations: 0.544 MB / 0.831 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7151, allocations: 4 kB / 0.831 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7151, allocations: 0 / 0.831 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.7151, allocations: 3.984 kB / 0.831 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.7172, allocations: 1.232 MB / 0.8322 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7173, allocations: 4 kB / 0.8322 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.7175, allocations: 64.2 kB / 0.8322 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00039/0.718, allocations: 143.3 kB / 0.8324 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.718, allocations: 4 kB / 0.8324 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003016/0.721, allocations: 3.849 MB / 0.8361 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.721, allocations: 7.969 kB / 0.8362 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001221/0.7223, allocations: 0.815 MB / 0.837 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.7225, allocations: 140.7 kB / 0.8371 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.7225, allocations: 4 kB / 0.8371 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.7229, allocations: 31.88 kB / 0.8371 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.723, allocations: 27.97 kB / 0.8371 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.723, allocations: 12 kB / 0.8372 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0001724/0.7232, allocations: 152.5 kB / 0.8373 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009521/0.7241, allocations: 155.9 kB / 0.8375 GB, free: 7.195 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.000296/0.7244, allocations: 157.3 kB / 0.8376 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001606/0.7261, allocations: 1.026 MB / 0.8386 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7261, allocations: 4.062 kB / 0.8386 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.7267, allocations: 427.3 kB / 0.839 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.7271, allocations: 38.45 kB / 0.8391 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.7284, allocations: 0.5785 MB / 0.8396 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005303/0.7289, allocations: 0.8424 MB / 0.8404 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.7289, allocations: 0 / 0.8404 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of Templates: time 0.01209/0.741, allocations: 6.804 MB / 0.8471 GB, free: 13.23 MB / 0.5573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)