Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [: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.7526/0.7526, 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.001337/0.001338, allocations: 170.6 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.001622/0.001623, allocations: 110.3 kB / 444.4 MB, free: 9.473 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.5262/0.5262, allocations: 73.39 MB / 0.666 GB, free: 62.57 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.691, allocations: 117 MB / 0.7802 GB, free: 3.395 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.6913, allocations: 92.44 kB / 0.7803 GB, free: 3.305 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.05071/0.742, allocations: 20.49 MB / 0.8003 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.764e-05/0.7421, allocations: 11.98 kB / 0.8004 GB, free: 14.7 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0012/0.7433, allocations: 0.6481 MB / 0.801 GB, free: 14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.7433, allocations: 20.02 kB / 0.801 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.7445, allocations: 131.2 kB / 0.8011 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/0.7454, allocations: 379.2 kB / 0.8015 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.7454, allocations: 8 kB / 0.8015 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.7455, allocations: 16 kB / 0.8015 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006068/0.7461, allocations: 291.5 kB / 0.8018 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/0.7471, allocations: 0.5313 MB / 0.8023 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.7471, allocations: 11.98 kB / 0.8023 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.7472, allocations: 4 kB / 0.8023 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.237e-05/0.7473, allocations: 28.48 kB / 0.8024 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/0.7515, allocations: 2.985 MB / 0.8053 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.7522, allocations: 302.7 kB / 0.8056 GB, free: 9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.7524, allocations: 160.8 kB / 0.8057 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.7525, allocations: 7.984 kB / 0.8057 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.7525, allocations: 36.97 kB / 0.8058 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 3.717e-06/0.7525, allocations: 0 / 0.8058 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.001393/0.7539, allocations: 0.5888 MB / 0.8063 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.754, allocations: 55.64 kB / 0.8064 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.7543, allocations: 257.9 kB / 0.8066 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.7544, allocations: 25.7 kB / 0.8066 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.7545, allocations: 199.7 kB / 0.8068 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.7547, allocations: 94.59 kB / 0.8069 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.7547, allocations: 4 kB / 0.8069 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.7549, allocations: 342.8 kB / 0.8073 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.7551, allocations: 124.7 kB / 0.8074 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.7555, allocations: 252.5 kB / 0.8076 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.7558, allocations: 180.7 kB / 0.8078 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7558, allocations: 0 / 0.8078 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009209/0.7567, allocations: 495.7 kB / 0.8083 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.7568, allocations: 10.02 kB / 0.8083 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.7568, allocations: 4 kB / 0.8083 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.7572, allocations: 90.36 kB / 0.8084 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.7576, allocations: 83.92 kB / 0.8084 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.7576, allocations: 12 kB / 0.8085 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.7579, allocations: 19.97 kB / 0.8085 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.7579, allocations: 16 kB / 0.8085 GB, free: 5.836 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.7581, allocations: 112.9 kB / 0.8086 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.7582, allocations: 43.53 kB / 0.8086 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/0.7589, allocations: 416.3 kB / 0.809 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.759, allocations: 7.984 kB / 0.809 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.759, allocations: 0 / 0.809 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.759, allocations: 6 kB / 0.8091 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.7604, allocations: 0.8876 MB / 0.8099 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7604, allocations: 0 / 0.8099 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.7607, allocations: 47.97 kB / 0.81 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/0.761, allocations: 90.45 kB / 0.81 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.761, allocations: 0 / 0.81 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.761, allocations: 0 / 0.81 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.761, allocations: 4 kB / 0.8101 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007686/0.7618, allocations: 0.5521 MB / 0.8106 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.762, allocations: 136.6 kB / 0.8107 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.7621, allocations: 7.938 kB / 0.8107 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.7623, allocations: 19.98 kB / 0.8107 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.7624, allocations: 11.97 kB / 0.8108 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.7624, allocations: 12 kB / 0.8108 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002058/0.7626, allocations: 192.6 kB / 0.811 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004516/0.7631, allocations: 79.94 kB / 0.811 GB, free: 3.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002574/0.7633, allocations: 113.2 kB / 0.8111 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007579/0.7641, allocations: 0.5836 MB / 0.8117 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7641, allocations: 0 / 0.8117 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.7645, allocations: 417.6 kB / 0.8121 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.7652, allocations: 106.5 kB / 0.8122 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.7663, allocations: 0.5179 MB / 0.8127 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/0.7669, allocations: 0.8654 MB / 0.8136 GB, free: 300 kB / 0.5105 GB Notification: Performance of SimCode: time 7.31e-07/0.7669, allocations: 0 / 0.8136 GB, free: 300 kB / 0.5105 GB Notification: Performance of Templates: time 0.00938/0.7763, allocations: 4.519 MB / 0.818 GB, free: 11.86 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)