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.1501/0.152, allocations: 80.83 MB / 0.6706 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005268/0.1574, allocations: 4.143 MB / 0.6747 GB, free: 464 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004355/0.1618, allocations: 2.915 MB / 0.6775 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.162, allocations: 11.94 kB / 0.6775 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.1632, allocations: 377.1 kB / 0.6779 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009164/0.1642, allocations: 450.1 kB / 0.6783 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1653, allocations: 0.5099 MB / 0.6788 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006583/0.1659, allocations: 0.6813 MB / 0.6795 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.1664, allocations: 347 kB / 0.6798 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.1667, allocations: 263.1 kB / 0.6801 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.1672, allocations: 362.7 kB / 0.6804 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.1673, allocations: 36 kB / 0.6804 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.1677, allocations: 311.3 kB / 0.6807 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.1679, allocations: 191.5 kB / 0.6809 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.1681, allocations: 238.7 kB / 0.6812 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006876/0.1688, allocations: 0.7009 MB / 0.6818 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1688, allocations: 3.938 kB / 0.6818 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1689, allocations: 0 / 0.6818 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.1689, allocations: 0 / 0.6818 GB, free: 9.086 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.001269/0.1701, allocations: 0.799 MB / 0.6826 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1702, allocations: 11.97 kB / 0.6826 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008348/0.171, allocations: 148.1 kB / 0.6828 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.1715, allocations: 379.1 kB / 0.6831 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1715, allocations: 29.36 kB / 0.6832 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.1716, allocations: 40.36 kB / 0.6832 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1726, allocations: 0.8175 MB / 0.684 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.1727, allocations: 8 kB / 0.684 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.1727, allocations: 12 kB / 0.684 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.31e-05/0.1728, allocations: 64.61 kB / 0.6841 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.1738, allocations: 0.6306 MB / 0.6847 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.177, allocations: 4.086 MB / 0.6887 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000867/0.1779, allocations: 0.4974 MB / 0.6892 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.1783, allocations: 277.5 kB / 0.6894 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.1784, allocations: 7.984 kB / 0.6894 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1784, allocations: 42.5 kB / 0.6895 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.1784, allocations: 0 / 0.6895 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.3472/0.5256, allocations: 0.8539 MB / 0.6903 GB, free: 23.35 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.5257, allocations: 82.08 kB / 0.6904 GB, free: 23.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.5262, allocations: 371.7 kB / 0.6908 GB, free: 23.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/0.5263, allocations: 30.77 kB / 0.6908 GB, free: 23.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.5265, allocations: 276.9 kB / 0.691 GB, free: 23.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.5266, allocations: 125.3 kB / 0.6912 GB, free: 22.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.5268, allocations: 114.7 kB / 0.6913 GB, free: 22.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.5269, allocations: 347.6 kB / 0.6916 GB, free: 22.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.5274, allocations: 260.3 kB / 0.6919 GB, free: 22.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.528, allocations: 478.5 kB / 0.6923 GB, free: 22.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.529, allocations: 0.7573 MB / 0.6931 GB, free: 22.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.529, allocations: 3.625 kB / 0.6931 GB, free: 22.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001125/0.5301, allocations: 0.7664 MB / 0.6938 GB, free: 22.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5302, allocations: 8.406 kB / 0.6938 GB, free: 22.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.5302, allocations: 12.47 kB / 0.6938 GB, free: 22.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.5302, allocations: 9.719 kB / 0.6938 GB, free: 22.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.5308, allocations: 165.5 kB / 0.694 GB, free: 22.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.5309, allocations: 16.94 kB / 0.694 GB, free: 22.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.5313, allocations: 68.14 kB / 0.6941 GB, free: 22.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.5313, allocations: 29.86 kB / 0.6941 GB, free: 22.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004393/0.5318, allocations: 346 kB / 0.6944 GB, free: 21.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003882/0.5322, allocations: 445.7 kB / 0.6949 GB, free: 21.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007007/0.5329, allocations: 0.6678 MB / 0.6955 GB, free: 21.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.636e-06/0.5329, allocations: 2.688 kB / 0.6955 GB, free: 21.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008969/0.5338, allocations: 0.6633 MB / 0.6962 GB, free: 21.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.5338, allocations: 14.45 kB / 0.6962 GB, free: 21.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5338, allocations: 8.375 kB / 0.6962 GB, free: 21.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.5338, allocations: 13.94 kB / 0.6962 GB, free: 21.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.5343, allocations: 151.8 kB / 0.6963 GB, free: 21.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.5343, allocations: 19.94 kB / 0.6964 GB, free: 21.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.5347, allocations: 52.22 kB / 0.6964 GB, free: 21.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.5347, allocations: 30.17 kB / 0.6964 GB, free: 21.2 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 0.0001392/0.5349, allocations: 212.7 kB / 0.6966 GB, free: 21.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/0.5349, allocations: 42.59 kB / 0.6967 GB, free: 20.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009594/0.5359, allocations: 0.5711 MB / 0.6972 GB, free: 20.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5359, allocations: 6.75 kB / 0.6972 GB, free: 20.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.5359, allocations: 3.531 kB / 0.6972 GB, free: 20.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.536, allocations: 1.406 kB / 0.6972 GB, free: 20.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.5384, allocations: 1.591 MB / 0.6988 GB, free: 20.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5384, allocations: 4.938 kB / 0.6988 GB, free: 20.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/0.5389, allocations: 114.7 kB / 0.6989 GB, free: 20.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.5389, allocations: 6.688 kB / 0.6989 GB, free: 20.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.539, allocations: 14.48 kB / 0.6989 GB, free: 20.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.539, allocations: 5.125 kB / 0.6989 GB, free: 20.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.539, allocations: 10.28 kB / 0.699 GB, free: 20.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009615/0.54, allocations: 0.7786 MB / 0.6997 GB, free: 20.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.5401, allocations: 173.8 kB / 0.6999 GB, free: 19.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.5402, allocations: 17.33 kB / 0.6999 GB, free: 19.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.5406, allocations: 43.45 kB / 0.6999 GB, free: 19.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.5407, allocations: 38.48 kB / 0.7 GB, free: 19.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.5407, allocations: 11.56 kB / 0.7 GB, free: 19.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002306/0.5409, allocations: 259.2 kB / 0.7002 GB, free: 19.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5409, allocations: 0 / 0.7002 GB, free: 19.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008032/0.5417, allocations: 185.9 kB / 0.7004 GB, free: 19.81 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 0.0001355/0.5419, allocations: 108 kB / 0.7005 GB, free: 19.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.5435, allocations: 0.9256 MB / 0.7014 GB, free: 19.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5435, allocations: 0 / 0.7014 GB, free: 19.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.544, allocations: 269.3 kB / 0.7017 GB, free: 19.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/0.5447, allocations: 126 kB / 0.7018 GB, free: 19.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.5472, allocations: 1.182 MB / 0.7029 GB, free: 19.17 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.5476, allocations: 0.8724 MB / 0.7038 GB, free: 18.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005832/0.5482, allocations: 209.3 kB / 0.704 GB, free: 18.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.5483, allocations: 36 kB / 0.704 GB, free: 18.43 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.5484, allocations: 1.125 kB / 0.704 GB, free: 18.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.01298/0.5613, allocations: 6.201 MB / 0.7101 GB, free: 18.12 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)