Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") [: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.8238/0.8238, allocations: 132.4 MB / 139.7 MB, free: 15.53 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.0009793/0.0009794, allocations: 172.2 kB / 171.6 MB, free: 1.996 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.498/1.498, allocations: 170.5 MB / 373.9 MB, free: 15.87 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.002047/0.002047, allocations: 106.6 kB / 444.4 MB, free: 9.418 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.6011/0.6012, allocations: 73.4 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.7818, allocations: 121.2 MB / 0.7844 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/0.7822, allocations: 91.94 kB / 0.7844 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.03162/0.8138, allocations: 11.9 MB / 0.7961 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.346e-05/0.8139, allocations: 0 / 0.7961 GB, free: 3.039 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009295/0.8149, allocations: 458.2 kB / 0.7965 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/0.815, allocations: 9.906 kB / 0.7965 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008293/0.8158, allocations: 63.73 kB / 0.7966 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.8162, allocations: 230.7 kB / 0.7968 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.8163, allocations: 4 kB / 0.7968 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.8163, allocations: 11.91 kB / 0.7968 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003615/0.8167, allocations: 159.9 kB / 0.797 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.8171, allocations: 257.6 kB / 0.7972 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.8172, allocations: 7.922 kB / 0.7972 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.8172, allocations: 0 / 0.7972 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/0.8173, allocations: 16.22 kB / 0.7972 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.8194, allocations: 1.411 MB / 0.7986 GB, free: 232 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.8196, allocations: 69.19 kB / 0.7987 GB, free: 144 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/0.8197, allocations: 57.81 kB / 0.7987 GB, free: 80 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.8197, allocations: 0 / 0.7987 GB, free: 80 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.8197, allocations: 34.5 kB / 0.7988 GB, free: 36 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.8197, allocations: 3.938 kB / 0.7988 GB, free: 32 kB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.000703/0.8205, allocations: 185.7 kB / 0.7989 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.8205, allocations: 81.05 kB / 0.799 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.8208, allocations: 189.8 kB / 0.7992 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.8208, allocations: 31.39 kB / 0.7992 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.821, allocations: 155.5 kB / 0.7994 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.821, allocations: 27.64 kB / 0.7994 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.821, allocations: 0 / 0.7994 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8212, allocations: 326.8 kB / 0.7997 GB, free: 15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.8213, allocations: 71.97 kB / 0.7998 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.8215, allocations: 155.8 kB / 0.7999 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.8218, allocations: 115.8 kB / 0.8001 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8218, allocations: 0 / 0.8001 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000515/0.8223, allocations: 263.6 kB / 0.8003 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006387/0.823, allocations: 1.141 MB / 0.8014 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.823, allocations: 4 kB / 0.8014 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.823, allocations: 7.906 kB / 0.8014 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.8233, allocations: 55.91 kB / 0.8015 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.8233, allocations: 4 kB / 0.8015 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.8236, allocations: 11.98 kB / 0.8015 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.8236, allocations: 12 kB / 0.8015 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.8236, allocations: 5.594 kB / 0.8015 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004474/0.8241, allocations: 199.9 kB / 0.8017 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.8241, allocations: 5.5 kB / 0.8017 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.8241, allocations: 4 kB / 0.8017 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.8243, allocations: 47.91 kB / 0.8018 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.8243, allocations: 7.672 kB / 0.8018 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.8245, allocations: 15.89 kB / 0.8018 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.8245, allocations: 12 kB / 0.8018 GB, free: 12.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.8247, allocations: 109.8 kB / 0.8019 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.8248, allocations: 19.97 kB / 0.8019 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.825, allocations: 110.7 kB / 0.802 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.825, allocations: 7.938 kB / 0.802 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.825, allocations: 0 / 0.802 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.825, allocations: 1.125 kB / 0.802 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008092/0.8259, allocations: 0.5937 MB / 0.8026 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.8259, allocations: 0 / 0.8026 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.826, allocations: 15.98 kB / 0.8026 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.826, allocations: 8.75 kB / 0.8026 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.826, allocations: 4 kB / 0.8026 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.826, allocations: 3.938 kB / 0.8026 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.826, allocations: 4.875 kB / 0.8026 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003438/0.8264, allocations: 337.5 kB / 0.803 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.8265, allocations: 108.8 kB / 0.8031 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.8265, allocations: 4 kB / 0.8031 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.8267, allocations: 7.984 kB / 0.8031 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.8267, allocations: 15.91 kB / 0.8031 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.8268, allocations: 4.75 kB / 0.8031 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001526/0.8269, allocations: 160.3 kB / 0.8033 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005265/0.8274, allocations: 72 kB / 0.8033 GB, free: 11.01 MB / 0.5105 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000224/0.8277, allocations: 127 kB / 0.8034 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004289/0.8281, allocations: 264.1 kB / 0.8037 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8281, allocations: 0 / 0.8037 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.8282, allocations: 39.92 kB / 0.8037 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.8285, allocations: 28.98 kB / 0.8038 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007132/0.8293, allocations: 274.3 kB / 0.804 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/0.8298, allocations: 0.7592 MB / 0.8048 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.8298, allocations: 0 / 0.8048 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of Templates: time 0.006196/0.836, allocations: 2.497 MB / 0.8072 GB, free: 6.996 MB / 0.5105 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)