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.195/0.197, allocations: 80.83 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004834/0.2018, allocations: 2.691 MB / 0.5923 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.2044, allocations: 1.45 MB / 0.5937 GB, free: 2.957 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.2047, allocations: 8 kB / 0.5937 GB, free: 2.949 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007516/0.2055, allocations: 171.4 kB / 0.5939 GB, free: 2.781 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005291/0.206, allocations: 175.3 kB / 0.5941 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.2064, allocations: 159.4 kB / 0.5942 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.2068, allocations: 367 kB / 0.5946 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.2072, allocations: 141.6 kB / 0.5947 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.2074, allocations: 87.64 kB / 0.5948 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.2076, allocations: 147.5 kB / 0.5949 GB, free: 1.727 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.2077, allocations: 11.94 kB / 0.5949 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.208, allocations: 183.6 kB / 0.5951 GB, free: 1.535 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.574e-05/0.2081, allocations: 67.8 kB / 0.5952 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.352e-05/0.2082, allocations: 83.53 kB / 0.5953 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.2086, allocations: 295 kB / 0.5955 GB, free: 1.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2086, allocations: 4 kB / 0.5955 GB, free: 1.094 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2086, allocations: 0 / 0.5955 GB, free: 1.094 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2086, allocations: 0 / 0.5955 GB, free: 1.094 MB / 446.1 MB 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.0008602/0.2095, allocations: 0.4946 MB / 0.596 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.2095, allocations: 8.031 kB / 0.596 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/0.21, allocations: 64.67 kB / 0.5961 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.2103, allocations: 243.7 kB / 0.5963 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2103, allocations: 12.66 kB / 0.5963 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.2104, allocations: 12.38 kB / 0.5964 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.2109, allocations: 316.6 kB / 0.5967 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2109, allocations: 0 / 0.5967 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.211, allocations: 11.98 kB / 0.5967 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/0.211, allocations: 24.27 kB / 0.5967 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.2116, allocations: 264.5 kB / 0.5969 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.2131, allocations: 1.297 MB / 0.5982 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.2136, allocations: 261 kB / 0.5985 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.2139, allocations: 121.6 kB / 0.5986 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2139, allocations: 7.984 kB / 0.5986 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.2139, allocations: 38.56 kB / 0.5986 GB, free: 13.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.2139, allocations: 0 / 0.5986 GB, free: 13.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007677/0.2147, allocations: 341.2 kB / 0.5989 GB, free: 13.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.2148, allocations: 81.11 kB / 0.599 GB, free: 13.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.215, allocations: 179.2 kB / 0.5992 GB, free: 13.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.215, allocations: 29.7 kB / 0.5992 GB, free: 13.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.2152, allocations: 140.2 kB / 0.5994 GB, free: 12.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.2152, allocations: 55.2 kB / 0.5994 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2153, allocations: 45.69 kB / 0.5995 GB, free: 12.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2155, allocations: 330.8 kB / 0.5998 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.2157, allocations: 104.8 kB / 0.5999 GB, free: 12.37 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.216, allocations: 168.8 kB / 0.6 GB, free: 12.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.2164, allocations: 285.3 kB / 0.6003 GB, free: 11.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2164, allocations: 0 / 0.6003 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005583/0.217, allocations: 309.2 kB / 0.6006 GB, free: 11.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.217, allocations: 4 kB / 0.6006 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2171, allocations: 11.94 kB / 0.6006 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2171, allocations: 4 kB / 0.6006 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.2174, allocations: 51.89 kB / 0.6007 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.2174, allocations: 4 kB / 0.6007 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.2176, allocations: 35.81 kB / 0.6007 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.2176, allocations: 4 kB / 0.6007 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002693/0.2179, allocations: 201 kB / 0.6009 GB, free: 11.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002046/0.2181, allocations: 156.1 kB / 0.601 GB, free: 11.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003729/0.2185, allocations: 259.5 kB / 0.6013 GB, free: 10.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.2185, allocations: 0 / 0.6013 GB, free: 10.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004671/0.219, allocations: 280.1 kB / 0.6016 GB, free: 10.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.219, allocations: 8 kB / 0.6016 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.219, allocations: 0 / 0.6016 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-06/0.219, allocations: 8.188 kB / 0.6016 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.2192, allocations: 59.89 kB / 0.6016 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.2192, allocations: 0 / 0.6016 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.2194, allocations: 27.83 kB / 0.6017 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2194, allocations: 8 kB / 0.6017 GB, free: 10.41 MB / 462.1 MB 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 0.0001152/0.2196, allocations: 200.1 kB / 0.6019 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.2196, allocations: 15.81 kB / 0.6019 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005343/0.2202, allocations: 267 kB / 0.6021 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.2202, allocations: 4 kB / 0.6021 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2202, allocations: 0 / 0.6021 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2202, allocations: 3.984 kB / 0.6021 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.2213, allocations: 0.6733 MB / 0.6028 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2213, allocations: 0 / 0.6028 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.2216, allocations: 47.89 kB / 0.6028 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2216, allocations: 0 / 0.6028 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.2216, allocations: 15.92 kB / 0.6029 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.2216, allocations: 4 kB / 0.6029 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2216, allocations: 3.938 kB / 0.6029 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.2222, allocations: 453.9 kB / 0.6033 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.2223, allocations: 112.8 kB / 0.6034 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.2223, allocations: 11.94 kB / 0.6034 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.2225, allocations: 19.97 kB / 0.6034 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.2226, allocations: 11.98 kB / 0.6034 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2226, allocations: 8 kB / 0.6035 GB, free: 8.449 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.477e-05/0.2227, allocations: 135.2 kB / 0.6036 GB, free: 8.316 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2227, allocations: 0 / 0.6036 GB, free: 8.316 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004633/0.2232, allocations: 83.75 kB / 0.6037 GB, free: 8.234 MB / 462.1 MB 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 0.0001318/0.2233, allocations: 107.2 kB / 0.6038 GB, free: 8.121 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007537/0.2241, allocations: 374.3 kB / 0.6041 GB, free: 7.758 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.2241, allocations: 0.9375 kB / 0.6041 GB, free: 7.758 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.2243, allocations: 120.1 kB / 0.6042 GB, free: 7.641 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.2248, allocations: 43.91 kB / 0.6043 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.2257, allocations: 0.5101 MB / 0.6048 GB, free: 7.047 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.226, allocations: 0.7479 MB / 0.6055 GB, free: 6.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.2262, allocations: 77.47 kB / 0.6056 GB, free: 6.191 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.2262, allocations: 15.44 kB / 0.6056 GB, free: 6.18 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2263, allocations: 0 / 0.6056 GB, free: 6.18 MB / 462.1 MB Notification: Performance of Templates: time 0.005249/0.2315, allocations: 2.153 MB / 0.6077 GB, free: 4.07 MB / 462.1 MB 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)