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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.1568/0.1588, allocations: 80.84 MB / 0.5899 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005184/0.164, allocations: 3.743 MB / 0.5935 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002881/0.1669, allocations: 1.961 MB / 0.5955 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.1671, allocations: 15.88 kB / 0.5955 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008203/0.168, allocations: 247 kB / 0.5957 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006303/0.1686, allocations: 310.6 kB / 0.596 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.1691, allocations: 219.6 kB / 0.5962 GB, free: 464 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005681/0.1697, allocations: 0.5971 MB / 0.5968 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004178/0.1701, allocations: 282.8 kB / 0.5971 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.1704, allocations: 227.1 kB / 0.5973 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.1707, allocations: 262.9 kB / 0.5975 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.1708, allocations: 24 kB / 0.5976 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.1711, allocations: 271.4 kB / 0.5978 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1713, allocations: 119.6 kB / 0.5979 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.1714, allocations: 203 kB / 0.5981 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005971/0.172, allocations: 0.5956 MB / 0.5987 GB, free: 13.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1721, allocations: 3.938 kB / 0.5987 GB, free: 13.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1721, allocations: 0 / 0.5987 GB, free: 13.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1721, allocations: 0 / 0.5987 GB, free: 13.88 MB / 462.1 MB 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.001084/0.1732, allocations: 0.7285 MB / 0.5994 GB, free: 13.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1732, allocations: 15.97 kB / 0.5994 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008458/0.1741, allocations: 136.2 kB / 0.5996 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.1745, allocations: 367.7 kB / 0.5999 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1745, allocations: 21.03 kB / 0.5999 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.1746, allocations: 28.38 kB / 0.6 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/0.1753, allocations: 0.5409 MB / 0.6005 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1754, allocations: 11.94 kB / 0.6005 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.1754, allocations: 8 kB / 0.6005 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.1755, allocations: 44.53 kB / 0.6006 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.1761, allocations: 405.7 kB / 0.6009 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.1786, allocations: 3.016 MB / 0.6039 GB, free: 8.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.1792, allocations: 339.3 kB / 0.6042 GB, free: 7.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.1795, allocations: 184.7 kB / 0.6044 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1795, allocations: 0 / 0.6044 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.1795, allocations: 42.55 kB / 0.6044 GB, free: 7.676 MB / 462.1 MB Notification: Performance of pre-optimization done (n=26): time 1.022e-06/0.1795, allocations: 0 / 0.6044 GB, free: 7.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=27): time 0.001902/0.1814, allocations: 1.05 MB / 0.6055 GB, free: 6.559 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.1815, allocations: 63.52 kB / 0.6055 GB, free: 6.484 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.1818, allocations: 345.5 kB / 0.6058 GB, free: 6.137 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.1819, allocations: 33.7 kB / 0.6059 GB, free: 6.098 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.182, allocations: 243.6 kB / 0.6061 GB, free: 5.855 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.1821, allocations: 86.75 kB / 0.6062 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1822, allocations: 81.95 kB / 0.6063 GB, free: 5.684 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1823, allocations: 342.8 kB / 0.6066 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.1826, allocations: 152.8 kB / 0.6067 GB, free: 5.191 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.183, allocations: 298.5 kB / 0.607 GB, free: 4.836 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006367/0.1836, allocations: 490.4 kB / 0.6075 GB, free: 4.293 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1836, allocations: 0 / 0.6075 GB, free: 4.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008899/0.1845, allocations: 0.5659 MB / 0.608 GB, free: 3.711 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1845, allocations: 8 kB / 0.6081 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1846, allocations: 4 kB / 0.6081 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.1848, allocations: 86.5 kB / 0.6081 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.1852, allocations: 91.81 kB / 0.6082 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.1852, allocations: 8.219 kB / 0.6082 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.1854, allocations: 35.97 kB / 0.6083 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.1855, allocations: 12 kB / 0.6083 GB, free: 3.461 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.1856, allocations: 185.6 kB / 0.6085 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.1857, allocations: 39.53 kB / 0.6085 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008085/0.1865, allocations: 471.9 kB / 0.6089 GB, free: 2.754 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1865, allocations: 3.984 kB / 0.6089 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1865, allocations: 4 kB / 0.609 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1866, allocations: 3.984 kB / 0.609 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.1878, allocations: 0.965 MB / 0.6099 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1879, allocations: 4 kB / 0.6099 GB, free: 1.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.1881, allocations: 47.91 kB / 0.6099 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/0.1883, allocations: 86.44 kB / 0.61 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.1883, allocations: 8 kB / 0.61 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1883, allocations: 4.094 kB / 0.61 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1884, allocations: 0 / 0.61 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.1891, allocations: 0.5551 MB / 0.6106 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.1893, allocations: 140.6 kB / 0.6107 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.1893, allocations: 4 kB / 0.6107 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.1896, allocations: 23.97 kB / 0.6107 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.1896, allocations: 27.84 kB / 0.6108 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1897, allocations: 11.98 kB / 0.6108 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.1899, allocations: 235.2 kB / 0.611 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1899, allocations: 0 / 0.611 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.1903, allocations: 84 kB / 0.6111 GB, free: 436 kB / 462.1 MB 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 () * Number of clocked 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.1905, allocations: 111.7 kB / 0.6112 GB, free: 316 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009633/0.1914, allocations: 0.6662 MB / 0.6118 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1915, allocations: 0 / 0.6118 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004706/0.1919, allocations: 437.7 kB / 0.6123 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006997/0.1927, allocations: 142.6 kB / 0.6124 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.1938, allocations: 0.8753 MB / 0.6133 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.1942, allocations: 0.8271 MB / 0.6141 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.1945, allocations: 83.33 kB / 0.6141 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.1946, allocations: 35.44 kB / 0.6142 GB, free: 13.07 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1946, allocations: 0 / 0.6142 GB, free: 13.07 MB / 478.1 MB Notification: Performance of Templates: time 0.008331/0.2029, allocations: 4.659 MB / 0.6187 GB, free: 8.508 MB / 478.1 MB 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)