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.1527/0.1547, allocations: 80.84 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004789/0.1595, allocations: 3.713 MB / 0.6743 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.1623, allocations: 1.965 MB / 0.6762 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.1625, allocations: 15.88 kB / 0.6762 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000824/0.1633, allocations: 266.6 kB / 0.6764 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006227/0.1639, allocations: 338.3 kB / 0.6768 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.1644, allocations: 243.5 kB / 0.677 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.165, allocations: 0.5933 MB / 0.6776 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.1653, allocations: 254.4 kB / 0.6778 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.1656, allocations: 239.1 kB / 0.678 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.166, allocations: 243 kB / 0.6783 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.166, allocations: 31.94 kB / 0.6783 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.1664, allocations: 271.4 kB / 0.6786 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1665, allocations: 115.6 kB / 0.6787 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1667, allocations: 206.8 kB / 0.6789 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.1672, allocations: 0.5685 MB / 0.6794 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1672, allocations: 4 kB / 0.6794 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1672, allocations: 0 / 0.6794 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.1673, allocations: 0 / 0.6794 GB, free: 8.945 MB / 0.5137 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.001056/0.1683, allocations: 0.7323 MB / 0.6802 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1684, allocations: 12.03 kB / 0.6802 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008491/0.1692, allocations: 136.2 kB / 0.6803 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.1697, allocations: 411.5 kB / 0.6807 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1698, allocations: 17.03 kB / 0.6807 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.1698, allocations: 32.36 kB / 0.6807 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.1705, allocations: 0.5448 MB / 0.6813 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1705, allocations: 7.938 kB / 0.6813 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.1706, allocations: 19.92 kB / 0.6813 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/0.1706, allocations: 40.53 kB / 0.6813 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.1712, allocations: 401.7 kB / 0.6817 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.1736, allocations: 3.013 MB / 0.6847 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.1743, allocations: 338.5 kB / 0.685 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.1745, allocations: 176.7 kB / 0.6851 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1746, allocations: 4 kB / 0.6851 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.1746, allocations: 38.55 kB / 0.6852 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 1.303e-06/0.1746, allocations: 4 kB / 0.6852 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=27): time 0.001817/0.1764, allocations: 1.064 MB / 0.6862 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.1765, allocations: 59.52 kB / 0.6863 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.1767, allocations: 337.6 kB / 0.6866 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1768, allocations: 29.7 kB / 0.6866 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.1769, allocations: 239.6 kB / 0.6869 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.177, allocations: 98.62 kB / 0.687 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-05/0.1771, allocations: 74.05 kB / 0.687 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1772, allocations: 354.8 kB / 0.6874 GB, free: 356 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.1775, allocations: 144.8 kB / 0.6875 GB, free: 212 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.1778, allocations: 290.5 kB / 0.6878 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/0.1784, allocations: 497.7 kB / 0.6883 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1784, allocations: 0 / 0.6883 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008702/0.1793, allocations: 0.5616 MB / 0.6888 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1793, allocations: 8 kB / 0.6888 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1793, allocations: 4 kB / 0.6888 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.1796, allocations: 95.06 kB / 0.6889 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.1799, allocations: 79.89 kB / 0.689 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.18, allocations: 11.92 kB / 0.689 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.1802, allocations: 31.97 kB / 0.689 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.1802, allocations: 20 kB / 0.689 GB, free: 14.48 MB / 0.5294 GB 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.0001576/0.1804, allocations: 177.6 kB / 0.6892 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.1805, allocations: 43.53 kB / 0.6893 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007896/0.1813, allocations: 472.2 kB / 0.6897 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.1813, allocations: 4 kB / 0.6897 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1813, allocations: 3.938 kB / 0.6897 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1813, allocations: 0 / 0.6897 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.1826, allocations: 0.9638 MB / 0.6907 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1826, allocations: 0 / 0.6907 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.1828, allocations: 55.89 kB / 0.6907 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002163/0.183, allocations: 98.47 kB / 0.6908 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1831, allocations: 4 kB / 0.6908 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1831, allocations: 4 kB / 0.6908 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1831, allocations: 3.984 kB / 0.6908 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.1838, allocations: 0.5545 MB / 0.6914 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.184, allocations: 132.6 kB / 0.6915 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.184, allocations: 8 kB / 0.6915 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1842, allocations: 19.97 kB / 0.6915 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.1843, allocations: 27.91 kB / 0.6915 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1843, allocations: 4 kB / 0.6915 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001894/0.1845, allocations: 239.2 kB / 0.6918 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1845, allocations: 0 / 0.6918 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000373/0.1849, allocations: 88 kB / 0.6919 GB, free: 11.44 MB / 0.5294 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 () * 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.0001462/0.1851, allocations: 111.1 kB / 0.692 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008501/0.1859, allocations: 0.6397 MB / 0.6926 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1859, allocations: 0 / 0.6926 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.1864, allocations: 427 kB / 0.693 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/0.187, allocations: 133.2 kB / 0.6931 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1881, allocations: 0.7228 MB / 0.6938 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1885, allocations: 0.8234 MB / 0.6946 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.1887, allocations: 87.33 kB / 0.6947 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.1888, allocations: 27.44 kB / 0.6947 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1888, allocations: 0 / 0.6947 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of Templates: time 0.008301/0.1971, allocations: 4.748 MB / 0.6994 GB, free: 3.598 MB / 0.5294 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)