Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009565/0.0009565, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.0005183, allocations: 24.78 kB / 0.6736 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2916, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.02856/0.3203, allocations: 22.9 MB / 0.8095 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.7424/1.063, allocations: 133.8 MB / 0.9402 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/1.066, allocations: 69.34 kB / 0.9402 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/1.068, allocations: 439.8 kB / 0.9407 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004682/1.072, allocations: 1.321 MB / 0.9419 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006166/1.079, allocations: 1.847 MB / 0.9437 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008372/1.087, allocations: 3.206 MB / 0.9469 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01717/1.104, allocations: 6.903 MB / 0.9536 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005004/1.109, allocations: 1.584 MB / 0.9552 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005123/1.114, allocations: 1.785 MB / 0.9569 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002124/1.116, allocations: 197.9 kB / 0.9571 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00435/1.121, allocations: 0.5701 MB / 0.9577 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004159/1.125, allocations: 1.391 MB / 0.959 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003896/1.129, allocations: 0.8677 MB / 0.9599 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01113/1.14, allocations: 7.222 MB / 0.9669 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/1.14, allocations: 3.938 kB / 0.9669 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.236e-06/1.14, allocations: 0 / 0.9669 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005059/1.141, allocations: 0 / 0.9669 GB, free: 2.445 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1228 * Number of variables: 1228 Notification: Performance of Generate backend data structure: time 0.01468/1.155, allocations: 4.001 MB / 0.9708 GB, free: 52 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.155, allocations: 8.969 kB / 0.9708 GB, free: 52 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/1.17, allocations: 2.071 MB / 0.9729 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007878/1.178, allocations: 2.516 MB / 0.9753 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/1.178, allocations: 354.1 kB / 0.9756 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/1.18, allocations: 456.9 kB / 0.9761 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/1.206, allocations: 7.053 MB / 0.983 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/1.206, allocations: 17.69 kB / 0.983 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007458/1.207, allocations: 196.3 kB / 0.9832 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003536/1.207, allocations: 256.4 kB / 0.9834 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01857/1.226, allocations: 6.889 MB / 0.9901 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04741/1.273, allocations: 26.96 MB / 1.016 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00976/1.283, allocations: 4.29 MB / 1.021 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008147/1.284, allocations: 0.5099 MB / 1.021 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004586/1.289, allocations: 2.234 MB / 1.023 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=254): time 4.518e-06/1.289, allocations: 0 / 1.023 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of matching and sorting (n=257): time 0.01673/1.305, allocations: 7.922 MB / 1.031 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/1.306, allocations: 393.8 kB / 1.031 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/1.308, allocations: 1.786 MB / 1.033 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003207/1.309, allocations: 70.08 kB / 1.033 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/1.31, allocations: 1.833 MB / 1.035 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009008/1.311, allocations: 0.8479 MB / 1.036 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/1.312, allocations: 59.38 kB / 1.036 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002019/1.312, allocations: 411.5 kB / 1.036 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0037/1.315, allocations: 1.663 MB / 1.038 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004271/1.32, allocations: 2.363 MB / 1.04 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004103/1.324, allocations: 1.939 MB / 1.042 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.324, allocations: 5.969 kB / 1.042 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.009563/1.333, allocations: 4.389 MB / 1.046 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.002649/1.336, allocations: 6.942 MB / 1.053 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/1.336, allocations: 20 kB / 1.053 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.194e-05/1.336, allocations: 32 kB / 1.053 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/1.34, allocations: 0.8335 MB / 1.054 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.687e-05/1.34, allocations: 43.86 kB / 1.054 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/1.344, allocations: 393.7 kB / 1.055 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/1.344, allocations: 142.5 kB / 1.055 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/1.344, allocations: 8 kB / 1.055 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008491/1.353, allocations: 3.837 MB / 1.058 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/1.353, allocations: 16 kB / 1.058 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/1.353, allocations: 32 kB / 1.058 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003606/1.356, allocations: 0.7842 MB / 1.059 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.456e-05/1.356, allocations: 39.86 kB / 1.059 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003264/1.36, allocations: 346.2 kB / 1.06 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/1.36, allocations: 139.9 kB / 1.06 GB, free: 6.164 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (347): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003539/1.364, allocations: 1.35 MB / 1.061 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006616/1.364, allocations: 250.8 kB / 1.061 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.374, allocations: 4.53 MB / 1.066 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/1.374, allocations: 27.95 kB / 1.066 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.374, allocations: 4 kB / 1.066 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.792e-05/1.374, allocations: 19.94 kB / 1.066 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/1.392, allocations: 9.629 MB / 1.075 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.392, allocations: 0 / 1.075 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003787/1.396, allocations: 0.7724 MB / 1.076 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-05/1.396, allocations: 12 kB / 1.076 GB, free: 5.434 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002191/1.396, allocations: 75.94 kB / 1.076 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.441e-05/1.396, allocations: 12 kB / 1.076 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.396, allocations: 7.922 kB / 1.076 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008951/1.405, allocations: 4.473 MB / 1.08 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/1.407, allocations: 0.8171 MB / 1.081 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004697/1.408, allocations: 59.95 kB / 1.081 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/1.41, allocations: 294.1 kB / 1.082 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/1.411, allocations: 165.8 kB / 1.082 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/1.411, allocations: 91.94 kB / 1.082 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00189/1.413, allocations: 1.283 MB / 1.083 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.413, allocations: 4 kB / 1.083 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004181/1.417, allocations: 1.342 MB / 1.084 GB, free: 12.61 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/1.418, allocations: 0.6205 MB / 1.085 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.431, allocations: 6.079 MB / 1.091 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.431, allocations: 4 kB / 1.091 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004287/1.436, allocations: 2.011 MB / 1.093 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/1.439, allocations: 0.5877 MB / 1.093 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/1.457, allocations: 9.782 MB / 1.103 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002642/1.46, allocations: 2.769 MB / 1.106 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005685/1.466, allocations: 1.27 MB / 1.107 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.467, allocations: 283.2 kB / 1.107 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/1.467, allocations: 0 / 1.107 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of Templates: time 0.07064/1.537, allocations: 41.64 MB / 1.148 GB, free: 11.95 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) Environment - environmentSimulation: