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.1705/0.1728, allocations: 80.83 MB / 0.6706 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005133/0.178, allocations: 3.715 MB / 0.6743 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003069/0.1811, allocations: 1.961 MB / 0.6762 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.1814, allocations: 23.81 kB / 0.6762 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000888/0.1823, allocations: 258.7 kB / 0.6764 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008079/0.1831, allocations: 354.3 kB / 0.6768 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.1837, allocations: 239.5 kB / 0.677 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006565/0.1844, allocations: 0.5971 MB / 0.6776 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.1848, allocations: 262.5 kB / 0.6778 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.1852, allocations: 243.1 kB / 0.6781 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.1856, allocations: 243 kB / 0.6783 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.1857, allocations: 24 kB / 0.6783 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.1861, allocations: 283.4 kB / 0.6786 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1863, allocations: 111.6 kB / 0.6787 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.1865, allocations: 206.9 kB / 0.6789 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006728/0.1871, allocations: 0.58 MB / 0.6795 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1872, allocations: 0 / 0.6795 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1872, allocations: 0 / 0.6795 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.1872, allocations: 0 / 0.6795 GB, free: 11.5 MB / 0.5294 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.001106/0.1883, allocations: 0.7206 MB / 0.6802 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1883, allocations: 12.03 kB / 0.6802 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/0.1892, allocations: 140.2 kB / 0.6803 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.1898, allocations: 395.7 kB / 0.6807 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1899, allocations: 29.02 kB / 0.6807 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.1899, allocations: 28.38 kB / 0.6807 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.1907, allocations: 0.5432 MB / 0.6813 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.1907, allocations: 8 kB / 0.6813 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.1907, allocations: 15.98 kB / 0.6813 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.307e-05/0.1908, allocations: 40.53 kB / 0.6813 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006532/0.1915, allocations: 401.7 kB / 0.6817 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.194, allocations: 3.013 MB / 0.6847 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.1946, allocations: 339.2 kB / 0.685 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.1949, allocations: 184.6 kB / 0.6852 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1949, allocations: 8 kB / 0.6852 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.195, allocations: 38.5 kB / 0.6852 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.195, allocations: 0 / 0.6852 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=27): time 0.001885/0.1969, allocations: 1.055 MB / 0.6862 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.1969, allocations: 59.58 kB / 0.6863 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.1972, allocations: 341.5 kB / 0.6866 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1973, allocations: 33.64 kB / 0.6867 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1974, allocations: 239.7 kB / 0.6869 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/0.1975, allocations: 98.66 kB / 0.687 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.1976, allocations: 74.05 kB / 0.687 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1977, allocations: 346.8 kB / 0.6874 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.198, allocations: 152.8 kB / 0.6875 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.1983, allocations: 290.5 kB / 0.6878 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.1989, allocations: 493.8 kB / 0.6883 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.199, allocations: 4 kB / 0.6883 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009113/0.1999, allocations: 0.5654 MB / 0.6888 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1999, allocations: 4.625 kB / 0.6888 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.1999, allocations: 11.98 kB / 0.6888 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/0.2002, allocations: 86.52 kB / 0.6889 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.2006, allocations: 91.81 kB / 0.689 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.2006, allocations: 7.938 kB / 0.689 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.2008, allocations: 31.97 kB / 0.689 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.2009, allocations: 12 kB / 0.6891 GB, free: 1.051 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.0001809/0.2011, allocations: 185.6 kB / 0.6892 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.2011, allocations: 39.53 kB / 0.6893 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008146/0.2019, allocations: 468.2 kB / 0.6897 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.202, allocations: 4 kB / 0.6897 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.202, allocations: 4 kB / 0.6897 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.202, allocations: 3.984 kB / 0.6897 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3637/0.5657, allocations: 0.957 MB / 0.6907 GB, free: 23.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5658, allocations: 0 / 0.6907 GB, free: 23.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.5661, allocations: 54.33 kB / 0.6907 GB, free: 23.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/0.5664, allocations: 84.31 kB / 0.6908 GB, free: 23.31 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.5664, allocations: 8.062 kB / 0.6908 GB, free: 23.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.5664, allocations: 1.891 kB / 0.6908 GB, free: 23.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5664, allocations: 3.562 kB / 0.6908 GB, free: 23.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.5674, allocations: 0.5467 MB / 0.6913 GB, free: 23.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.5676, allocations: 138.6 kB / 0.6915 GB, free: 23.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.5677, allocations: 7.688 kB / 0.6915 GB, free: 23.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.5679, allocations: 22.59 kB / 0.6915 GB, free: 23.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.568, allocations: 24.53 kB / 0.6915 GB, free: 23.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.5681, allocations: 9.938 kB / 0.6915 GB, free: 23.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002882/0.5683, allocations: 238.5 kB / 0.6918 GB, free: 22.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5684, allocations: 0 / 0.6918 GB, free: 22.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005123/0.5689, allocations: 87.06 kB / 0.6919 GB, free: 22.95 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.0001931/0.5691, allocations: 112.3 kB / 0.692 GB, free: 22.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008852/0.57, allocations: 0.6447 MB / 0.6926 GB, free: 22.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.57, allocations: 0 / 0.6926 GB, free: 22.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.5703, allocations: 443.1 kB / 0.693 GB, free: 22.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.571, allocations: 136.1 kB / 0.6931 GB, free: 22.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000977/0.572, allocations: 0.7185 MB / 0.6938 GB, free: 21.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.5722, allocations: 0.8207 MB / 0.6946 GB, free: 21.22 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.5725, allocations: 83.67 kB / 0.6947 GB, free: 21.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.5725, allocations: 29.81 kB / 0.6948 GB, free: 21.21 MB / 0.5294 GB Notification: Performance of SimCode: time 3.085e-06/0.5725, allocations: 0 / 0.6948 GB, free: 21.21 MB / 0.5294 GB Notification: Performance of Templates: time 0.01049/0.583, allocations: 4.729 MB / 0.6994 GB, free: 20.98 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)