Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8557/0.8557, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.001378/0.001378, allocations: 166.3 kB / 171.8 MB, free: 2.043 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.678/1.678, allocations: 170.6 MB / 374.2 MB, free: 15.75 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.001769/0.001769, allocations: 108.6 kB / 444.8 MB, free: 9.293 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.4696/0.4696, allocations: 73.4 MB / 0.6666 GB, free: 46.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.6245, allocations: 116.7 MB / 0.7805 GB, free: 4.148 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.6249, allocations: 93.91 kB / 0.7806 GB, free: 4.059 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07288/0.6978, allocations: 30.29 MB / 0.8102 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6978, allocations: 0 / 0.8102 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.48e-05/0.6979, allocations: 19.98 kB / 0.8102 GB, free: 5.621 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001306/0.6992, allocations: 0.7893 MB / 0.811 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.6993, allocations: 8.031 kB / 0.811 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.7006, allocations: 201.7 kB / 0.8112 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.7013, allocations: 478.6 kB / 0.8116 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.7014, allocations: 12 kB / 0.8117 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/0.7014, allocations: 24 kB / 0.8117 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006765/0.7021, allocations: 406.5 kB / 0.8121 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.7032, allocations: 0.8468 MB / 0.8129 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.7032, allocations: 7.938 kB / 0.8129 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.7033, allocations: 4 kB / 0.8129 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.998e-05/0.7034, allocations: 52.75 kB / 0.813 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/0.7082, allocations: 5.022 MB / 0.8179 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.7089, allocations: 438.3 kB / 0.8183 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.7092, allocations: 216.8 kB / 0.8185 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.7093, allocations: 4 kB / 0.8185 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.7093, allocations: 42.48 kB / 0.8185 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.166e-06/0.7093, allocations: 0 / 0.8185 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001819/0.7112, allocations: 0.7966 MB / 0.8193 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.7112, allocations: 55.41 kB / 0.8194 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.7117, allocations: 357.2 kB / 0.8197 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.7117, allocations: 25.7 kB / 0.8197 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.712, allocations: 343.5 kB / 0.8201 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.7121, allocations: 118.3 kB / 0.8202 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.7121, allocations: 4 kB / 0.8202 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.7123, allocations: 358.8 kB / 0.8205 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.7126, allocations: 177 kB / 0.8207 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.713, allocations: 384.8 kB / 0.8211 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.7134, allocations: 239.7 kB / 0.8213 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.7134, allocations: 4 kB / 0.8213 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001207/0.7147, allocations: 0.6929 MB / 0.822 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.7147, allocations: 12.03 kB / 0.822 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.7147, allocations: 8 kB / 0.822 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.7153, allocations: 145.6 kB / 0.8221 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.7157, allocations: 119.8 kB / 0.8222 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/0.7191, allocations: 3.876 MB / 0.826 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.7194, allocations: 25.72 kB / 0.826 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.7195, allocations: 24 kB / 0.8261 GB, free: 4.316 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.7196, allocations: 125 kB / 0.8262 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.7197, allocations: 55.34 kB / 0.8262 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.7208, allocations: 0.5537 MB / 0.8268 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.7208, allocations: 7.938 kB / 0.8268 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.7208, allocations: 4 kB / 0.8268 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7208, allocations: 0 / 0.8268 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.7225, allocations: 1.153 MB / 0.8279 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7225, allocations: 4 kB / 0.8279 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.7227, allocations: 51.89 kB / 0.828 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003818/0.7231, allocations: 136.4 kB / 0.8281 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.7232, allocations: 8 kB / 0.8281 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.726, allocations: 3.872 MB / 0.8319 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.726, allocations: 0 / 0.8319 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009504/0.7269, allocations: 0.7522 MB / 0.8326 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.7271, allocations: 160.4 kB / 0.8328 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.7272, allocations: 4 kB / 0.8328 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.7274, allocations: 23.92 kB / 0.8328 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.7275, allocations: 31.95 kB / 0.8328 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.7275, allocations: 12 kB / 0.8328 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002604/0.7278, allocations: 263 kB / 0.8331 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7278, allocations: 0 / 0.8331 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006342/0.7285, allocations: 123.9 kB / 0.8332 GB, free: 12.42 MB / 0.5417 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.7286, allocations: 115.8 kB / 0.8333 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.7299, allocations: 0.9623 MB / 0.8343 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.7299, allocations: 7.875 kB / 0.8343 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007712/0.7307, allocations: 0.6983 MB / 0.835 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008025/0.7315, allocations: 158.7 kB / 0.8351 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.7327, allocations: 0.7352 MB / 0.8358 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.7332, allocations: 0.9178 MB / 0.8367 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003397/0.7335, allocations: 121.9 kB / 0.8368 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.7336, allocations: 31.44 kB / 0.8369 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.7336, allocations: 0 / 0.8369 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of Templates: time 0.01142/0.7451, allocations: 6.333 MB / 0.843 GB, free: 2.215 MB / 0.5417 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)