Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [/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.1253/0.1272, allocations: 80.83 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004079/0.1313, allocations: 2.631 MB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1333, allocations: 1.458 MB / 0.6746 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.1334, allocations: 0 / 0.6746 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.1341, allocations: 179.3 kB / 0.6748 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.1345, allocations: 191.2 kB / 0.675 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.1349, allocations: 171.4 kB / 0.6751 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.1352, allocations: 259.2 kB / 0.6754 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.1354, allocations: 145.4 kB / 0.6755 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1356, allocations: 107.6 kB / 0.6756 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1358, allocations: 139.5 kB / 0.6758 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.1359, allocations: 16 kB / 0.6758 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.1361, allocations: 147.7 kB / 0.6759 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.1362, allocations: 67.8 kB / 0.676 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/0.1362, allocations: 91.53 kB / 0.6761 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1366, allocations: 287.1 kB / 0.6763 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1366, allocations: 0 / 0.6763 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1366, allocations: 0 / 0.6763 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1366, allocations: 0 / 0.6763 GB, free: 12.14 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007228/0.1373, allocations: 499 kB / 0.6768 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1374, allocations: 12.03 kB / 0.6768 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.1378, allocations: 68.58 kB / 0.6769 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1381, allocations: 243.9 kB / 0.6771 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1381, allocations: 12.64 kB / 0.6771 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.1382, allocations: 12.38 kB / 0.6772 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.1386, allocations: 312.5 kB / 0.6774 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1387, allocations: 7.938 kB / 0.6775 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.1387, allocations: 4 kB / 0.6775 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.1387, allocations: 32.25 kB / 0.6775 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.1392, allocations: 256.5 kB / 0.6777 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.1405, allocations: 1.3 MB / 0.679 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.141, allocations: 249.1 kB / 0.6792 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.1412, allocations: 129.6 kB / 0.6794 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.1412, allocations: 7.938 kB / 0.6794 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1412, allocations: 34.56 kB / 0.6794 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.1412, allocations: 0 / 0.6794 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006772/0.1419, allocations: 341.2 kB / 0.6797 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.142, allocations: 81.23 kB / 0.6798 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1421, allocations: 178.7 kB / 0.68 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1421, allocations: 25.7 kB / 0.68 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.1422, allocations: 152 kB / 0.6801 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.1423, allocations: 51.2 kB / 0.6802 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.1423, allocations: 49.7 kB / 0.6802 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.1424, allocations: 326.8 kB / 0.6806 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1426, allocations: 116.6 kB / 0.6807 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.1429, allocations: 167.6 kB / 0.6808 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.1433, allocations: 270.1 kB / 0.6811 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1433, allocations: 4 kB / 0.6811 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004928/0.1438, allocations: 317.1 kB / 0.6814 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1438, allocations: 4 kB / 0.6814 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1438, allocations: 4 kB / 0.6814 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1438, allocations: 0 / 0.6814 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.1441, allocations: 63.81 kB / 0.6815 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1441, allocations: 4.219 kB / 0.6815 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1443, allocations: 35.81 kB / 0.6815 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.1443, allocations: 12 kB / 0.6815 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002296/0.1446, allocations: 192 kB / 0.6817 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001951/0.1448, allocations: 161.3 kB / 0.6818 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003603/0.1451, allocations: 243.6 kB / 0.6821 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.1452, allocations: 4 kB / 0.6821 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004405/0.1456, allocations: 273.3 kB / 0.6823 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.1456, allocations: 12 kB / 0.6824 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1456, allocations: 3.984 kB / 0.6824 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.1456, allocations: 4 kB / 0.6824 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.1458, allocations: 47.91 kB / 0.6824 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1458, allocations: 7.938 kB / 0.6824 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.146, allocations: 31.81 kB / 0.6824 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.146, allocations: 15.98 kB / 0.6825 GB, free: 5.438 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.352e-05/0.1461, allocations: 192.2 kB / 0.6826 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.1462, allocations: 15.81 kB / 0.6827 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004896/0.1467, allocations: 274 kB / 0.6829 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1467, allocations: 4 kB / 0.6829 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1467, allocations: 0 / 0.6829 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1467, allocations: 0 / 0.6829 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000955/0.1477, allocations: 0.681 MB / 0.6836 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1477, allocations: 4 kB / 0.6836 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.1479, allocations: 47.95 kB / 0.6836 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1479, allocations: 0 / 0.6836 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1479, allocations: 11.88 kB / 0.6837 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1479, allocations: 0 / 0.6837 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1479, allocations: 4 kB / 0.6837 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.1484, allocations: 446 kB / 0.6841 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1485, allocations: 124.8 kB / 0.6842 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1486, allocations: 3.938 kB / 0.6842 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.1488, allocations: 23.97 kB / 0.6842 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.1488, allocations: 7.984 kB / 0.6842 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1488, allocations: 8 kB / 0.6842 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.42e-05/0.1489, allocations: 135.2 kB / 0.6844 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1489, allocations: 0 / 0.6844 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004189/0.1494, allocations: 79.84 kB / 0.6844 GB, free: 3.262 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.333e-05/0.1495, allocations: 111.2 kB / 0.6846 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006613/0.1501, allocations: 368.3 kB / 0.6849 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1501, allocations: 4.188 kB / 0.6849 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.1504, allocations: 127.7 kB / 0.685 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1508, allocations: 39.62 kB / 0.6851 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.1515, allocations: 458.5 kB / 0.6855 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.1518, allocations: 0.7402 MB / 0.6862 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.152, allocations: 73.47 kB / 0.6863 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.1521, allocations: 23.44 kB / 0.6863 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1521, allocations: 4 kB / 0.6863 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of Templates: time 0.004574/0.1566, allocations: 2.331 MB / 0.6886 GB, free: 14.96 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)