Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") [/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.1429/0.1448, allocations: 80.84 MB / 0.6706 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005346/0.1502, allocations: 4.143 MB / 0.6747 GB, free: 424 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004282/0.1545, allocations: 2.907 MB / 0.6775 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.1547, allocations: 11.94 kB / 0.6775 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.1557, allocations: 378.3 kB / 0.6779 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008038/0.1565, allocations: 446.1 kB / 0.6783 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1576, allocations: 0.5058 MB / 0.6788 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006607/0.1583, allocations: 0.6813 MB / 0.6795 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.1588, allocations: 347 kB / 0.6798 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003406/0.1591, allocations: 255.1 kB / 0.6801 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.1596, allocations: 366.7 kB / 0.6804 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.1597, allocations: 40 kB / 0.6804 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.1601, allocations: 303.3 kB / 0.6807 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.1603, allocations: 195.5 kB / 0.6809 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.1605, allocations: 242.7 kB / 0.6811 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.1612, allocations: 0.7008 MB / 0.6818 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1612, allocations: 4 kB / 0.6818 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1612, allocations: 0 / 0.6818 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.1612, allocations: 3.938 kB / 0.6818 GB, free: 9.055 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001301/0.1625, allocations: 0.799 MB / 0.6826 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1626, allocations: 11.97 kB / 0.6826 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008961/0.1635, allocations: 140.1 kB / 0.6828 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.164, allocations: 375.1 kB / 0.6831 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.164, allocations: 33.34 kB / 0.6832 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.1641, allocations: 44.31 kB / 0.6832 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.1652, allocations: 0.8137 MB / 0.684 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.1652, allocations: 4 kB / 0.684 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.1653, allocations: 19.98 kB / 0.684 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-05/0.1654, allocations: 60.61 kB / 0.6841 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1664, allocations: 0.6345 MB / 0.6847 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.1699, allocations: 4.09 MB / 0.6887 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.1709, allocations: 0.4897 MB / 0.6892 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/0.1713, allocations: 285.5 kB / 0.6894 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1714, allocations: 7.938 kB / 0.6894 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1714, allocations: 34.56 kB / 0.6895 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.1714, allocations: 0 / 0.6895 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.2788/0.4502, allocations: 0.8589 MB / 0.6903 GB, free: 23.37 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.4503, allocations: 81.27 kB / 0.6904 GB, free: 23.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.4507, allocations: 370.2 kB / 0.6907 GB, free: 23.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.4508, allocations: 31.36 kB / 0.6908 GB, free: 23.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.4509, allocations: 280.4 kB / 0.691 GB, free: 23.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.451, allocations: 119.4 kB / 0.6912 GB, free: 22.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.4512, allocations: 114.6 kB / 0.6913 GB, free: 22.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.445e-05/0.4512, allocations: 348.8 kB / 0.6916 GB, free: 22.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.4517, allocations: 257 kB / 0.6918 GB, free: 22.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.4522, allocations: 483.1 kB / 0.6923 GB, free: 22.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009257/0.4531, allocations: 0.7586 MB / 0.693 GB, free: 22.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4531, allocations: 3.375 kB / 0.693 GB, free: 22.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00105/0.4542, allocations: 0.7663 MB / 0.6938 GB, free: 22.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4542, allocations: 8.25 kB / 0.6938 GB, free: 22.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4542, allocations: 10.78 kB / 0.6938 GB, free: 22.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.4543, allocations: 14.92 kB / 0.6938 GB, free: 22.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/0.4549, allocations: 157 kB / 0.694 GB, free: 22.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.4549, allocations: 19.31 kB / 0.694 GB, free: 22.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.4553, allocations: 64.91 kB / 0.6941 GB, free: 22.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.4553, allocations: 30.28 kB / 0.6941 GB, free: 22.03 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004115/0.4558, allocations: 348.6 kB / 0.6944 GB, free: 21.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003564/0.4561, allocations: 444.3 kB / 0.6948 GB, free: 21.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006682/0.4568, allocations: 0.6682 MB / 0.6955 GB, free: 21.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.4568, allocations: 5.219 kB / 0.6955 GB, free: 21.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008845/0.4577, allocations: 0.662 MB / 0.6961 GB, free: 21.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.4577, allocations: 14.17 kB / 0.6962 GB, free: 21.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.4577, allocations: 5.75 kB / 0.6962 GB, free: 21.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.565e-06/0.4577, allocations: 19.62 kB / 0.6962 GB, free: 21.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.4582, allocations: 149.2 kB / 0.6963 GB, free: 21.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4582, allocations: 14.81 kB / 0.6963 GB, free: 21.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.4585, allocations: 50.67 kB / 0.6964 GB, free: 21.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.4586, allocations: 30.25 kB / 0.6964 GB, free: 21.22 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.961e-05/0.4587, allocations: 214.8 kB / 0.6966 GB, free: 21.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.4588, allocations: 45.28 kB / 0.6967 GB, free: 21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008816/0.4597, allocations: 0.5681 MB / 0.6972 GB, free: 20.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4597, allocations: 6.281 kB / 0.6972 GB, free: 20.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4597, allocations: 0.5625 kB / 0.6972 GB, free: 20.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4597, allocations: 3.031 kB / 0.6972 GB, free: 20.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.4617, allocations: 1.598 MB / 0.6988 GB, free: 20.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4617, allocations: 2.75 kB / 0.6988 GB, free: 20.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.4622, allocations: 110.1 kB / 0.6989 GB, free: 20.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.4623, allocations: 6.219 kB / 0.6989 GB, free: 20.42 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.4623, allocations: 20.27 kB / 0.6989 GB, free: 20.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.4623, allocations: 7.781 kB / 0.6989 GB, free: 20.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4623, allocations: 6.781 kB / 0.6989 GB, free: 20.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/0.4631, allocations: 0.7797 MB / 0.6997 GB, free: 20.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.4633, allocations: 171.8 kB / 0.6999 GB, free: 19.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.4634, allocations: 14.47 kB / 0.6999 GB, free: 19.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.4638, allocations: 45.67 kB / 0.6999 GB, free: 19.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.4638, allocations: 40.08 kB / 0.7 GB, free: 19.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.4639, allocations: 11.5 kB / 0.7 GB, free: 19.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001879/0.4641, allocations: 258.5 kB / 0.7002 GB, free: 19.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4641, allocations: 0 / 0.7002 GB, free: 19.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006823/0.4648, allocations: 185.6 kB / 0.7004 GB, free: 19.83 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.558e-05/0.4649, allocations: 112.2 kB / 0.7005 GB, free: 19.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.4662, allocations: 0.9184 MB / 0.7014 GB, free: 19.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4662, allocations: 3.031 kB / 0.7014 GB, free: 19.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.4667, allocations: 272.2 kB / 0.7017 GB, free: 19.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007403/0.4674, allocations: 127.1 kB / 0.7018 GB, free: 19.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.4695, allocations: 1.179 MB / 0.7029 GB, free: 19.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.4698, allocations: 0.8721 MB / 0.7038 GB, free: 18.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004893/0.4703, allocations: 205.4 kB / 0.704 GB, free: 18.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.4705, allocations: 43.48 kB / 0.704 GB, free: 18.45 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.4705, allocations: 0 / 0.704 GB, free: 18.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.01136/0.4818, allocations: 6.2 MB / 0.7101 GB, free: 18.14 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)