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/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.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") [/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.1264/0.1282, allocations: 80.84 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005217/0.1335, allocations: 4.78 MB / 0.6753 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003632/0.1372, allocations: 2.725 MB / 0.678 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.1375, allocations: 23.81 kB / 0.678 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.1385, allocations: 398 kB / 0.6784 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.1398, allocations: 0.5014 MB / 0.6789 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1411, allocations: 359.2 kB / 0.6792 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.1424, allocations: 0.9018 MB / 0.6801 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004743/0.1429, allocations: 346.5 kB / 0.6804 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.1433, allocations: 338.6 kB / 0.6807 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.1437, allocations: 370.5 kB / 0.6811 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.1438, allocations: 36 kB / 0.6811 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005509/0.1444, allocations: 399.1 kB / 0.6815 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.1445, allocations: 187.4 kB / 0.6817 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.1448, allocations: 298.4 kB / 0.682 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000801/0.1456, allocations: 0.8604 MB / 0.6828 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1456, allocations: 0 / 0.6828 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1456, allocations: 8 kB / 0.6828 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1456, allocations: 0 / 0.6828 GB, free: 5.48 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001201/0.1468, allocations: 0.9191 MB / 0.6837 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1469, allocations: 16.03 kB / 0.6837 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.148, allocations: 203.7 kB / 0.6839 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007197/0.1487, allocations: 0.5218 MB / 0.6844 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.1488, allocations: 37.36 kB / 0.6845 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.1488, allocations: 48.34 kB / 0.6845 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.1498, allocations: 0.8305 MB / 0.6853 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.1498, allocations: 7.938 kB / 0.6853 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/0.1499, allocations: 23.98 kB / 0.6854 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.269e-05/0.15, allocations: 68.89 kB / 0.6854 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007448/0.1507, allocations: 0.5577 MB / 0.686 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003525/0.1542, allocations: 5.117 MB / 0.691 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.1548, allocations: 462.3 kB / 0.6914 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.1551, allocations: 224.7 kB / 0.6916 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1551, allocations: 7.984 kB / 0.6916 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1552, allocations: 38.5 kB / 0.6917 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.1552, allocations: 0 / 0.6917 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002236/0.1574, allocations: 1.496 MB / 0.6931 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1575, allocations: 59.34 kB / 0.6932 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.1579, allocations: 0.4988 MB / 0.6937 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1579, allocations: 29.7 kB / 0.6937 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.1581, allocations: 342.9 kB / 0.694 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/0.1582, allocations: 126.3 kB / 0.6941 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.1583, allocations: 102.2 kB / 0.6942 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1585, allocations: 362.8 kB / 0.6946 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.1588, allocations: 201.2 kB / 0.6948 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.1592, allocations: 447 kB / 0.6952 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006861/0.1598, allocations: 0.6916 MB / 0.6959 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1599, allocations: 4 kB / 0.6959 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001097/0.161, allocations: 0.8167 MB / 0.6967 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.161, allocations: 8.781 kB / 0.6967 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.161, allocations: 8 kB / 0.6967 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004491/0.1615, allocations: 144.9 kB / 0.6968 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.1619, allocations: 127.7 kB / 0.697 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.1647, allocations: 4.355 MB / 0.7012 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.165, allocations: 35.97 kB / 0.7012 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.1651, allocations: 28.16 kB / 0.7013 GB, free: 1.203 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002089/0.1653, allocations: 213.5 kB / 0.7015 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.1654, allocations: 63.28 kB / 0.7015 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000939/0.1663, allocations: 0.6122 MB / 0.7021 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1663, allocations: 4 kB / 0.7021 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1663, allocations: 7.984 kB / 0.7021 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1663, allocations: 0 / 0.7021 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.168, allocations: 1.27 MB / 0.7034 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.168, allocations: 4 kB / 0.7034 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.1682, allocations: 55.89 kB / 0.7034 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003846/0.1686, allocations: 148.3 kB / 0.7036 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.1686, allocations: 8 kB / 0.7036 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.1715, allocations: 4.332 MB / 0.7078 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1715, allocations: 0 / 0.7078 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008469/0.1723, allocations: 0.7238 MB / 0.7085 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.1725, allocations: 172.2 kB / 0.7087 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.1726, allocations: 8 kB / 0.7087 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.1728, allocations: 23.97 kB / 0.7087 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.1729, allocations: 27.91 kB / 0.7087 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.1729, allocations: 12 kB / 0.7088 GB, free: 8.895 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002769/0.1732, allocations: 330.8 kB / 0.7091 GB, free: 8.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1732, allocations: 0 / 0.7091 GB, free: 8.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005128/0.1737, allocations: 147.9 kB / 0.7092 GB, free: 8.43 MB / 0.545 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 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001195/0.1738, allocations: 112.8 kB / 0.7093 GB, free: 8.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.175, allocations: 1.033 MB / 0.7103 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.175, allocations: 4.125 kB / 0.7103 GB, free: 7.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000705/0.1758, allocations: 0.734 MB / 0.711 GB, free: 6.375 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008687/0.1766, allocations: 206.2 kB / 0.7112 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1779, allocations: 1.03 MB / 0.7123 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.1783, allocations: 0.898 MB / 0.7131 GB, free: 4.176 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.1785, allocations: 129.2 kB / 0.7133 GB, free: 4.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.1786, allocations: 39.44 kB / 0.7133 GB, free: 4.008 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.1786, allocations: 0 / 0.7133 GB, free: 4.008 MB / 0.545 GB Notification: Performance of Templates: time 0.01132/0.1899, allocations: 7.667 MB / 0.7208 GB, free: 12.43 MB / 0.5606 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)